<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;"><DIV>I would really appreciate if someone could help me on this issue.</DIV>
<DIV> </DIV>
<DIV>Thanks in advance,</DIV>
<DIV>Jagathesh</DIV>
<DIV><BR><BR>--- On <B>Wed, 12/10/08, Jagathesh <I><jagamani@yahoo.com></I></B> wrote:<BR></DIV>
<BLOCKQUOTE style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: rgb(16,16,255) 2px solid">From: Jagathesh <jagamani@yahoo.com><BR>Subject: Re: [rules-users] Error while adding rule package in 5.0.0M2 & 5.0.0M<BR>To: "Edson Tirelli" <tirelli@post.com><BR>Date: Wednesday, December 10, 2008, 11:18 AM<BR><BR>
<DIV id=yiv798730643>
<TABLE cellSpacing=0 cellPadding=0 border=0>
<TBODY>
<TR>
<TD vAlign=top>
<DIV>Thanks Edson. </DIV>
<DIV> </DIV>
<DIV>I'm getting the following errors.</DIV>
<DIV> </DIV>
<DIV>[[ERR 103] Line 55:59 no viable alternative at input 'getLevel' in rule "New Event - Level1" in pattern Event]<BR>[[ERR 103] Line 176:64 no viable alternative at input '&&' in rule "Check For price"]<BR>[[ERR 103] Line 176:79 no viable alternative at input 'format' in rule "Check For price" in pattern PriceDetail]<BR></DIV>
<DIV>I didn't get any of those while I was using 4.0.7</DIV>
<DIV> </DIV>
<DIV>Thanks,</DIV>
<DIV>Jagathesh</DIV>
<DIV><BR><BR>--- On <B>Wed, 12/10/08, Edson Tirelli <I><tirelli@post.com></I></B> wrote:<BR></DIV>
<BLOCKQUOTE style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: rgb(16,16,255) 2px solid">From: Edson Tirelli <tirelli@post.com><BR>Subject: Re: [rules-users] Error while adding rule package in 5.0.0M2 & 5.0.0M<BR>To: jagamani@yahoo.com, "Rules Users List" <rules-users@lists.jboss.org><BR>Date: Wednesday, December 10, 2008, 9:40 AM<BR><BR>
<DIV id=yiv949467290><BR> 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?<BR><BR>PackageBuilder.getErrors()<BR><BR> []s<BR> Edson<BR><BR>
<DIV class=gmail_quote>2008/12/10 Jagathesh <SPAN dir=ltr><<A href="mailto:jagamani@yahoo.com" target=_blank rel=nofollow>jagamani@yahoo.com</A>></SPAN><BR>
<BLOCKQUOTE class=gmail_quote style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">
<TABLE cellSpacing=0 cellPadding=0 border=0>
<TBODY>
<TR>
<TD style="FONT-FAMILY: inherit; font-size-adjust: inherit; font-stretch: inherit" vAlign=top>
<DIV>Hi,</DIV>
<DIV>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.</DIV>
<DIV>Could someone help me? Do I've to do something differently for 5.0.0M2?</DIV>
<DIV> </DIV>
<DIV>java.lang.NullPointerException<BR> at org.drools.common.AbstractRuleBase.addPackage(AbstractRuleBase.java:420)<BR> at org.drools.reteoo.ReteooRuleBase.addPackage(ReteooRuleBase.java:381)<BR></DIV>
<DIV> </DIV>
<DIV>Thanks,</DIV>
<DIV>Jagathesh</DIV>
<DIV> </DIV></TD></TR></TBODY></TABLE><BR><BR>_______________________________________________<BR>rules-users mailing list<BR><A href="mailto:rules-users@lists.jboss.org" target=_blank rel=nofollow>rules-users@lists.jboss.org</A><BR><A href="https://lists.jboss.org/mailman/listinfo/rules-users" target=_blank rel=nofollow>https://lists.jboss.org/mailman/listinfo/rules-users</A><BR><BR></BLOCKQUOTE></DIV><BR><BR clear=all><BR>-- <BR> Edson Tirelli<BR> JBoss Drools Core Development<BR> JBoss, a division of Red Hat @ <A href="http://www.jboss.com/" target=_blank rel=nofollow>www.jboss.com</A><BR></DIV></BLOCKQUOTE></TD></TR></TBODY></TABLE><BR></DIV></BLOCKQUOTE></td></tr></table><br>