jBPM process loop will automatically pop out in few minutes
catherinesjy Oct 30, 2014 3:26 PMDear all,
I would like to set up a workflow, which looks like: Loop ( gain files from a port -> process -> Storage )
I would like to keep the loop running forever (at least for several hours).
However, the jBPM workflow will pop out automatically after 90 times looping.
In the console window, it shows the Stack Overflow Error.
Could you help me find out that what is the reason for stack overflow?
Looking forward to your help!
Best,
Catherine
//environment: jre7, jbpm6, eclipse, BPMN2.0, win7
//a little part of console log when popping out:
Exception in thread "main" Executing com.jbpm.Process.DirectoryStorageHandler
Executing com.jbpm.Process.ReleaseHandler
java.lang.StackOverflowError
at org.jbpm.workflow.core.impl.NodeImpl.getContext(NodeImpl.java:254)
at org.jbpm.workflow.core.impl.NodeImpl.resolveContext(NodeImpl.java:258)
at org.jbpm.workflow.instance.impl.NodeInstanceImpl.resolveContext(NodeInstanceImpl.java:370)
at org.jbpm.workflow.instance.impl.NodeInstanceImpl.resolveContextInstance(NodeInstanceImpl.java:374)
at org.jbpm.workflow.instance.impl.NodeInstanceImpl.getVariable(NodeInstanceImpl.java:419)
at org.drools.core.spi.ProcessContext.getVariable(ProcessContext.java:62)
at defaultPackage.Process_defaultPackage$u46$Directory_Process1505979598ReturnValueEvaluator2Invoker.evaluate(Process_defaultPackage$u46$Directory_Process1505979598ReturnValueEvaluator2Invoker.java:12)
at org.jbpm.process.instance.impl.ReturnValueConstraintEvaluator.evaluate(ReturnValueConstraintEvaluator.java:129)
at org.jbpm.workflow.instance.node.SplitInstance.executeStrategy(SplitInstance.java:86)
at org.jbpm.workflow.instance.node.SplitInstance.internalTrigger(SplitInstance.java:63)
at org.jbpm.workflow.instance.impl.NodeInstanceImpl.trigger(NodeInstanceImpl.java:155)
at org.jbpm.workflow.instance.impl.NodeInstanceImpl.triggerNodeInstance(NodeInstanceImpl.java:337)
at org.jbpm.workflow.instance.impl.NodeInstanceImpl.triggerCompleted(NodeInstanceImpl.java:296)
at org.jbpm.workflow.instance.impl.ExtendedNodeInstanceImpl.triggerCompleted(ExtendedNodeInstanceImpl.java:44)
at org.jbpm.workflow.instance.node.StateBasedNodeInstance.triggerCompleted(StateBasedNodeInstance.java:286)
at org.jbpm.workflow.instance.node.StateBasedNodeInstance.triggerCompleted(StateBasedNodeInstance.java:265)
at org.jbpm.workflow.instance.node.WorkItemNodeInstance.triggerCompleted(WorkItemNodeInstance.java:275)
at org.jbpm.workflow.instance.node.WorkItemNodeInstance.workItemCompleted(WorkItemNodeInstance.java:337)