Hi again,
Process definition hello is deployed on the system, hello1 is not!

this code : 
ProcessDefinition processDefinition = 
  |         graphSession.findLatestProcessDefinition("hello1");
  |         ProcessInstance processInstance = new 
ProcessInstance(processDefinition);
  |         graphSession.saveProcessInstance(processInstance);   
is giving this error:
anonymous wrote : java.lang.RuntimeException: couldn't save process definition 
'ProcessDefinition(176484e)'
  | 

while this code : 
ProcessDefinition processDefinition = 
  |         graphSession.findLatestProcessDefinition("hello");
  |         ProcessInstance processInstance = new 
ProcessInstance(processDefinition);
  |         graphSession.saveProcessInstance(processInstance);
is giving this error:
anonymous wrote : java.lang.NullPointerException: can't create a process 
instance when processDefinition is null


can I get any specific help as to what exactly could be wrong. 
I can see hello in `jbpm_processdefinition` table.
And since the code is behaving diffeently for right and wrong definition names, 
I am guessing it is looking in the right location.
Does this mean that the process has been deployed but not properly.
Please help!!


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

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


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to