2 Replies Latest reply on Jan 25, 2017 5:15 PM by dmarrazzo

    jbpm gateway loop problem (StackOverflowError)

    chobk

      jbpm gateway loop problem

      I'm currently testing a jbpm 6.5
      I tried to implement iteration through the gateway.

      Attach an error occurred when it was tested as a source.

      I would like to know whether a gate way is wrong with the configuration you want to limit the loop processing.

      Error information as follows:

      java.lang.StackOverflowError
      at org.jbpm.workflow.instance.impl.NodeInstanceImpl.<init>(NodeInstanceImpl.java:60)
      at org.jbpm.workflow.instance.node.ActionNodeInstance.<init>(ActionNodeInstance.java:31)
      at sun.reflect.GeneratedConstructorAccessor2.newInstance(Unknown Source)
      at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
      at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
      at java.lang.Class.newInstance(Class.java:379)
      at org.jbpm.workflow.instance.impl.factory.CreateNewNodeFactory.getNodeInstance(CreateNewNodeFactory.java:36)
      at org.jbpm.workflow.instance.impl.WorkflowProcessInstanceImpl.getNodeInstance(WorkflowProcessInstanceImpl.java:249)
      at org.jbpm.workflow.instance.impl.NodeInstanceImpl.followConnection(NodeInstanceImpl.java:352)
      at org.jbpm.workflow.instance.impl.NodeInstanceImpl.triggerCompleted(NodeInstanceImpl.java:318)
      at org.jbpm.workflow.instance.node.JoinInstance.triggerCompleted(JoinInstance.java:266)
      at org.jbpm.workflow.instance.node.JoinInstance.internalTrigger(JoinInstance.java:62)
      at org.jbpm.workflow.instance.impl.NodeInstanceImpl.trigger(NodeInstanceImpl.java:173)
      at org.jbpm.workflow.instance.impl.NodeInstanceImpl.triggerNodeInstance(NodeInstanceImpl.java:366)
      at org.jbpm.workflow.instance.impl.NodeInstanceImpl.triggerConnection(NodeInstanceImpl.java:381)
      at org.jbpm.workflow.instance.node.SplitInstance.executeStrategy(SplitInstance.java:117)
      at org.jbpm.workflow.instance.node.SplitInstance.internalTrigger(SplitInstance.java:63)
      at org.jbpm.workflow.instance.impl.NodeInstanceImpl.trigger(NodeInstanceImpl.java:173)
      at org.jbpm.workflow.instance.impl.NodeInstanceImpl.triggerNodeInstance(NodeInstanceImpl.java:366)
      at org.jbpm.workflow.instance.impl.NodeInstanceImpl.triggerCompleted(NodeInstanceImpl.java:325)
      at org.jbpm.workflow.instance.node.ActionNodeInstance.triggerCompleted(ActionNodeInstance.java:61)
      at org.jbpm.workflow.instance.node.ActionNodeInstance.internalTrigger(ActionNodeInstance.java:57)
      at org.jbpm.workflow.instance.impl.NodeInstanceImpl.trigger(NodeInstanceImpl.java:173)
      at org.jbpm.workflow.instance.impl.NodeInstanceImpl.triggerNodeInstance(NodeInstanceImpl.java:366)
      at org.jbpm.workflow.instance.impl.NodeInstanceImpl.triggerCompleted(NodeInstanceImpl.java:325)
      at org.jbpm.workflow.instance.node.ActionNodeInstance.triggerCompleted(ActionNodeInstance.java:61)
      at org.jbpm.workflow.instance.node.ActionNodeInstance.internalTrigger(ActionNodeInstance.java:57)
      at org.jbpm.workflow.instance.impl.NodeInstanceImpl.trigger(NodeInstanceImpl.java:173)
      at org.jbpm.workflow.instance.impl.NodeInstanceImpl.triggerNodeInstance(NodeInstanceImpl.java:366)
      at org.jbpm.workflow.instance.impl.NodeInstanceImpl.triggerCompleted(NodeInstanceImpl.java:325)
      at org.jbpm.workflow.instance.node.ActionNodeInstance.triggerCompleted(ActionNodeInstance.java:61)