[jboss-user] [JBoss jBPM] - Re: Problem with process composition

Dennys do-not-reply at jboss.com
Thu Feb 22 06:55:10 EST 2007


"nicolemans72" wrote : I have a problem with my process composition.
  | 
  | I have a sub-process like that: 
  | 
  | 
  |   | <process-state name="process1">
  |   |    <sub-process name="implementation" />
  |   |    <variable name="crStatut" access="read,write" mapped-name="crStatut" />
  |   |   <variable name="crId" access="read,write" mapped-name="crId" />
  |   |    <transition name="Validation" to="statut 90"></transition>	
  |   | </process-state>
  |   | 
  | 
  | and when the process arrive to the "Process State" I hava an error
  | 
  | 
  |   | java.lang.NullPointerException: can't create a process instance when processDefinition is null
  |   | 	at org.jbpm.graph.exe.ProcessInstance.<init>(ProcessInstance.java:87)
  |   | 	at org.jbpm.graph.exe.Token.createSubProcessInstance(Token.java:571)
  |   | 	at org.jbpm.graph.node.ProcessState.execute(ProcessState.java:109)
  |   | 	at org.jbpm.graph.def.Node.enter(Node.java:316)
  |   | 
  | 
  | However, i have deployed the processimplementation and there is a process definition in the database
  | 
  | Any suggestions?


Hay nicolemans72!

JBPM_PROCESSDEFINITION table it must possess one process definition with name "implementation".


Bye!

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

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



More information about the jboss-user mailing list