Hi all
I'm using JBPM 4.3 and trying hard to find a way to terminate one processInstance.
First I simply used something like:
executionService.endProcessInstance(processInstanceID, "active");
However I got exception thrown out.
"exception while executing command org.jbpm.pvm.internal.cmd.EndProcessInstance
java.lang.NullPointerException"
Then I googled to find this post http://community.jboss.org/thread/146478, which didn't seem to give a resolution. I tried nevertheless to end all executions of the processInstance by calling
((ExecutionImpl) execution).end();
But the same exception was thrown again when I finally try to call executionService.endProcessInstance(processInstanceID, "active");
Did anyone have the same experience and solution?