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(a)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(a)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