I would really appreciate if someone could help me on this issue.
 
Thanks in advance,
Jagathesh


--- On Wed, 12/10/08, Jagathesh <jagamani@yahoo.com> wrote:
From: Jagathesh <jagamani@yahoo.com>
Subject: Re: [rules-users] Error while adding rule package in 5.0.0M2 & 5.0.0M
To: "Edson Tirelli" <tirelli@post.com>
Date: Wednesday, December 10, 2008, 11:18 AM

Thanks Edson.
 
I'm getting the following errors.
 
[[ERR 103] Line 55:59 no viable alternative at input 'getLevel' in rule "New Event - Level1" in pattern Event]
[[ERR 103] Line 176:64 no viable alternative at input '&&' in rule "Check For price"]
[[ERR 103] Line 176:79 no viable alternative at input 'format' in rule "Check For price" in pattern PriceDetail]
I didn't get any of those while I was using 4.0.7
 
Thanks,
Jagathesh


--- On Wed, 12/10/08, Edson Tirelli <tirelli@post.com> wrote:
From: Edson Tirelli <tirelli@post.com>
Subject: Re: [rules-users] Error while adding rule package in 5.0.0M2 & 5.0.0M
To: jagamani@yahoo.com, "Rules Users List" <rules-users@lists.jboss.org>
Date: Wednesday, December 10, 2008, 9:40 AM


   It seems the package you are trying to add is null... did you checked for parsing/compilation errors before trying to add the package into the rulebase?

PackageBuilder.getErrors()

   []s
   Edson

2008/12/10 Jagathesh <jagamani@yahoo.com>
Hi,
When I pointed the rules from Drools 4.0.7 to Drools 5.0.0M2, I'm getting the following errors at runtime. I also tried Drools 5.0.0M3 (same error). The error occurs while adding a package.
Could someone help me? Do I've to do something differently for 5.0.0M2?
 
java.lang.NullPointerException
 at org.drools.common.AbstractRuleBase.addPackage(AbstractRuleBase.java:420)
 at org.drools.reteoo.ReteooRuleBase.addPackage(ReteooRuleBase.java:381)
 
Thanks,
Jagathesh
 


_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users




--
 Edson Tirelli
 JBoss Drools Core Development
 JBoss, a division of Red Hat @ www.jboss.com