[jboss-user] [JBoss jBPM] - jBPM and Rules integration error

buranylk do-not-reply at jboss.com
Mon Jul 21 11:19:34 EDT 2008


I am currently debugging code I am not familiar with ...

The error I am encoutering at runtime is:
 
ERROR FieldInstantiator : couldn't parse set field 'objectNames' to value 'passwordStringconfirmPasswordPasswordObjectstatus'
java.lang.NullPointerException
	at org.jbpm.instantiation.FieldInstantiator.setPropertyValue(FieldInstantiator.java:70)
	at org.jbpm.instantiation.FieldInstantiator.instantiate(FieldInstantiator.java:61)
	at org.jbpm.instantiation.Delegation.instantiate(Delegation.java:163)
	at org.jbpm.graph.node.Decision.execute(Decision.java:87)
	at org.jbpm.graph.def.Node.enter(Node.java:318)
	at org.jbpm.graph.def.Transition.take(Transition.java:151)
	at org.jbpm.graph.def.Node.leave(Node.java:393)
	at org.jbpm.graph.node.TaskNode.leave(TaskNode.java:209)
	at org.jbpm.graph.def.Node.leave(Node.java:357)
	at org.jbpm.graph.node.TaskNode.execute(TaskNode.java:190)
	at org.jbpm.graph.def.Node.enter(Node.java:318)
	at org.jbpm.graph.def.Transition.take(Transition.java:151)
	at org.jbpm.graph.def.Node.leave(Node.java:393)
	at org.jbpm.graph.node.TaskNode.leave(TaskNode.java:209)
	at org.jbpm.graph.exe.Token.signal(Token.java:192)
	at org.jbpm.graph.exe.Token.signal(Token.java:140)
	at org.jbpm.graph.exe.ProcessInstance.signal(ProcessInstance.java:270)
	at com.test.jbpm.process.ConfirmNewPasswordProcess.execute(ConfirmNewPasswordProcess.java:55)
	at com.test.JBPMController.execute(JBPMController.java:35)
	at com.test.JBPMController.main(JBPMController.java:114)

The processdefinition.xml file block pertaining to the above code is:
decision name="Confirm New Password Decision"
   controller
       variable access="read,write,required"       
       name="passwordString">
       variable access="read,write,required"  
       name="confirmPassword">
       variable access="read,write,required"   
       name="PasswordObject">
       variable access="read,write,required" name="status">
   /controller>
  
  handler  
       class="com.test.jbpm.process.ConfirmNewPasswordDecisionHandler">
       objectNames
          element>passwordString    
          element>confirmPassword
          element>PasswordObject</element
          element>status
       /objectNames>
       ruleFile>../../Password Business Rules.drl
    /handler>

    transition to="Pause New Password" name="No">
    transition to="Exit Lost Password" name="Yes">

/decision>

The file was parsing the other day. I suspect it is a configuration issue? Any insight at all would be helpful. (Please ignore the missing tags.) 


View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4165677#4165677

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4165677



More information about the jboss-user mailing list