[jboss-jira] [JBoss JIRA] Commented: (JBRULES-3123) [Regression] .rf file raises a null pointer exception when it is loaded
Kris Verlaenen (JIRA)
jira-events at lists.jboss.org
Thu Sep 29 06:20:26 EDT 2011
[ https://issues.jboss.org/browse/JBRULES-3123?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12631231#comment-12631231 ]
Kris Verlaenen commented on JBRULES-3123:
-----------------------------------------
Drools 5.2 is now using jBPM5 for the RuleFlow execution. It you want to add RuleFlows, you should make sure the jbpm-flow and jbpm-flow-builder jars are added as dependencies to your classpath.
> [Regression] .rf file raises a null pointer exception when it is loaded
> -----------------------------------------------------------------------
>
> Key: JBRULES-3123
> URL: https://issues.jboss.org/browse/JBRULES-3123
> Project: Drools
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Affects Versions: 5.2.0.Final
> Reporter: Quentin Caillard
> Assignee: Kris Verlaenen
> Attachments: jUnitTest.tar.gz, jUnitTest.tar.gz
>
>
> I have just switched from version 5.1.1 to 5.2.0.Final
> I have a ruleflow (.rf) file which can be loaded. I have the following stack trace :
> java.lang.NullPointerException
> at org.drools.compiler.PackageBuilder.addProcessFromXml(PackageBuilder.java:516)
> at org.drools.compiler.PackageBuilder.addKnowledgeResource(PackageBuilder.java:556)
> at org.drools.builder.impl.KnowledgeBuilderImpl.add(KnowledgeBuilderImpl.java:28)
> at com.ariadnext.NewDroolsTest$RulesUtils.loadRules(NewDroolsTest.java:107)
> I made a simple junit test which reproduces the bug.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list