Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
servicemix-drools-2009.01
-
None
-
Patch Available
Description
Installing a drools su with a simple drl file causes a NullPointerException. I'm using the AutoReply.drl file from the servicemix-drools unit tests, i.e. one simple rule:
rule "Do Nothing"
then
end
Caused by: java.lang.NullPointerException
at org.drools.rule.builder.RuleBuilder.build(RuleBuilder.java:47)
at org.drools.compiler.PackageBuilder.addRule(PackageBuilder.java:446)
at org.drools.compiler.PackageBuilder.addPackage(PackageBuilder.java:304)
at org.drools.compiler.PackageBuilder.addPackageFromDrl(PackageBuilder.java:167)
at org.drools.compiler.RuleBaseLoader.loadFromReader(RuleBaseLoader.java:38)
at org.apache.servicemix.drools.DroolsEndpoint.start(DroolsEndpoint.java:205)
... 28 more