Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » BPMN 2.0 Modeler » Can't Execute ArbitraryCycles pattern - getting IllegalArgumentException: Could not parse knowledge
Can't Execute ArbitraryCycles pattern - getting IllegalArgumentException: Could not parse knowledge [message #1107178] Wed, 11 September 2013 23:55 Go to next message
Keith West is currently offline Keith West
Messages: 2
Registered: September 2013
Junior Member
I created a process in Guvnor (v5.4) with the Web Designer 2.4 using the ArbitraryCycle pattern. I then brought it over to Eclipse (Kepler) using the Resources from Guvnor wizard.

I then did some additional editing of the process from within Eclipse using the BPMN 2 Modeler (v 0.2.7). I created a simple Java class to execute the process. Upon executing the Java class, I got the following output in the console:

java.lang.NullPointerException
at org.jbpm.ruleflow.core.validation.RuleFlowProcessValidator.validateNodes(RuleFlowProcessValidator.java:193)
at org.jbpm.ruleflow.core.validation.RuleFlowProcessValidator.validateProcess(RuleFlowProcessValidator.java:117)
at org.jbpm.ruleflow.core.validation.RuleFlowProcessValidator.validateProcess(RuleFlowProcessValidator.java:555)
at org.jbpm.compiler.ProcessBuilderImpl.buildProcess(ProcessBuilderImpl.java:124)
at org.jbpm.compiler.ProcessBuilderImpl.addProcessFromXml(ProcessBuilderImpl.java:267)
at org.drools.compiler.PackageBuilder.addProcessFromXml(PackageBuilder.java:673)
at org.drools.compiler.PackageBuilder.addKnowledgeResource(PackageBuilder.java:709)
at org.drools.builder.impl.KnowledgeBuilderImpl.add(KnowledgeBuilderImpl.java:51)
at org.drools.builder.impl.KnowledgeBuilderImpl.add(KnowledgeBuilderImpl.java:40)
at com.sample.ArbitraryCycleTest.readKnowledgeBase(ArbitraryCycleTest.java:42)
at com.sample.ArbitraryCycleTest.main(ArbitraryCycleTest.java:23)
java.lang.IllegalArgumentException: Could not parse knowledge.
at org.drools.builder.impl.KnowledgeBuilderImpl.newKnowledgeBase(KnowledgeBuilderImpl.java:79)
at com.sample.ArbitraryCycleTest.readKnowledgeBase(ArbitraryCycleTest.java:43)
at com.sample.ArbitraryCycleTest.main(ArbitraryCycleTest.java:23)
0 11/09 22:37:12,698[main] ERROR builder.impl.KnowledgeBuilderImpl.newKnowledgeBase - ProcessLoadError: unable to parse xml : Exception class java.lang.NullPointerException : null

There is nothing in the Eclipse log for this.

These exceptions really don't help me narrow down what might be wrong with the process. any pointers appreciated. I'd attach the java code and the process, but I don't seem to have permissions to do so.

THX
Keith
Re: Can't Execute ArbitraryCycles pattern - getting IllegalArgumentException: Could not parse knowle [message #1108558 is a reply to message #1107178] Fri, 13 September 2013 22:11 Go to previous message
Robert Brodt is currently offline Robert Brodt
Messages: 541
Registered: August 2010
Location: Colorado Springs, CO
Senior Member

Hey Keith,

You may want to post this question on the jboss community forum. No idea what's going on here...

Bob
Previous Topic:Can't "Browse Types" when attempting to add new process variables
Next Topic:Showing execution state of a running workflow
Goto Forum:
  


Current Time: Wed Apr 23 17:44:57 EDT 2014

Powered by FUDForum. Page generated in 0.02162 seconds