[
https://issues.jboss.org/browse/JBRULES-3123?page=com.atlassian.jira.plug...
]
Quentin Caillard edited comment on JBRULES-3123 at 7/18/11 4:47 AM:
--------------------------------------------------------------------
I added the dependency in the pom.xml of my project and my test worked.
Then it seems to be a problem of dependency in the pom.xml of knowledge-api.
Thank you for the tips.
It would be easy to correct it.
was (Author: qcaillard):
I added the dependency in the pom.xml of my project and my test worked.
Then it seems to be a problem of dependency in the pom.xml of knowledge-api.
Thank you for the tips.
It would be easy to correct this.
[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: Mark Proctor
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