[rules-users] rules-users Digest, Vol 38, Issue 58

Edson Tirelli ed.tirelli at gmail.com
Tue Jan 19 17:01:41 EST 2010


   Yes, the good news is that it is clearly a parsing error, what makes it
easy to fix. Do you mind opening a JIRA and attaching a test case or the
info from your e-mails?

   Thanks,
      Edson

2010/1/19 Axelrod, Nelson <naxelrod at jcvi.org>

> Hi Edson,
>
> Yes, you guessed right.  We are using drools 5.0.1.
>
> Exception in thread "main"
> org.jcvi.annotation.rulesengine.RulesResourceException: Could not parse
> resource in [FileResource
> file='C:\development\workspace\RulesBasedAnnotation\tests\org\jcvi\annot
> ation\rules\testNestedOr.drl'] with errors
> [14,4]: [ERR 101] Line 14:4 no viable alternative at input 'blast_hit'
> in rule "2645|lysine decarboxylase CadA" in pattern or[22,2]: [ERR 102]
> Line 22:2 mismatched input ')' expecting 'then' in rule "2645|lysine
> decarboxylase CadA"
>        at
> org.jcvi.annotation.rulesengine.RulesEngine.addResource(RulesEngine.java
> :103)
>        at
> org.jcvi.annotation.rulesengine.RulesEngine.addResource(RulesEngine.java
> :83)
>        at org.jcvi.annotation.Aruba.addRuleByFile(Aruba.java:68)
>        at org.jcvi.annotation.Aruba.main(Aruba.java:253)
>
> Thank you in advance for your help,
> Nelson
>
> ------------------------------
>
> Message: 2
> Date: Tue, 19 Jan 2010 11:43:32 -0500
> From: Edson Tirelli <ed.tirelli at gmail.com>
> Subject: Re: [rules-users] nested boolean expressions using prefixOr
> To: Rules Users List <rules-users at lists.jboss.org>
> Message-ID:
>        <e6dd5ba31001190843u484568a5q150c6eda77ed004d at mail.gmail.com>
> Content-Type: text/plain; charset="windows-1252"
>
>   Nelson,
>
>   Can you provide details on which exact version of drools (5.0.1?) you
> are
> using and what is the error/stack trace you are receiving?
>
>   Thanks,
>      Edson
>
>
>
> _______________________________________________
> rules-users mailing list
> rules-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
>



-- 
 Edson Tirelli
 JBoss Drools Core Development
 JBoss by Red Hat @ www.jboss.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20100119/ba8adb6a/attachment.html 


More information about the rules-users mailing list