[rules-users] Error while adding rule package in 5.0.0M2 & 5.0.0M

Edson Tirelli tirelli at post.com
Wed Dec 10 10:40:50 EST 2008


   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 at 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 at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20081210/42d9b33b/attachment.html 


More information about the rules-users mailing list