You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@servicemix.apache.org by "Greg Lucas (JIRA)" <ji...@apache.org> on 2009/10/21 23:25:53 UTC

[jira] Commented: (SMXCOMP-662) NullPointerException installing drools su

    [ https://issues.apache.org/activemq/browse/SMXCOMP-662?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=54882#action_54882 ] 

Greg Lucas commented on SMXCOMP-662:
------------------------------------

The problem here is actually with the org.apache.servicemix.bundles.drools-4.0.7 jar it is missing the META-INF/drools.default.rulebase.conf that configures the default package builder. (The unit tests run against the drools jars directly so they don't this issue.)

> NullPointerException installing drools su
> -----------------------------------------
>
>                 Key: SMXCOMP-662
>                 URL: https://issues.apache.org/activemq/browse/SMXCOMP-662
>             Project: ServiceMix Components
>          Issue Type: Bug
>          Components: servicemix-drools
>    Affects Versions: servicemix-drools-2009.01
>            Reporter: Greg Lucas
>
> 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

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.