cancel
Showing results for 
Search instead for 
Did you mean: 

subprocess stops after reaching error-end-event

malgalad
Champ in-the-making
Champ in-the-making
hi folks,

callActivity - subprocess stops after reaching error-end-event
and the current explorer form freezes. (disabled OK - button)

without any error-messages

catalina-log:
FEIN: ProcessInstance[1136] takes transition (sid-F640099F-ED28-4561-9934-7ED225D40E41)–sid-470D9714-9568-4C39-910E-B13F7ACE3667–>(sid-1D0482B9-85
10.02.2011 18:56:58 org.activiti.engine.impl.pvm.runtime.AtomicOperationActivityExecute execute
FEIN: ProcessInstance[1136] executes Activity(sid-1D0482B9-8575-4F27-BA94-272011AA3425): org.activiti.engine.impl.bpmn.ErrorEndEventActivityBehavior
2 REPLIES 2

jbarrez
Star Contributor
Star Contributor
Please post your process.

We have testcases for a subprocess + error event, so it should normally work.

franz1
Champ in-the-making
Champ in-the-making
Hello,

any update on that topic? I have probably had the same problem:

My problem was, that I had a typo in the definition of the error at the boundary-event of the calling process

  <boundaryEvent attachedToRef="calling"
   cancelActivity="true" id="callingError">
   <errorEventDefinition errorRef="someTypo" />
  </boundaryEvent>

This led to an endless loop in ErrorEndEventActivityBehavior.executeCatchInSuperProcess(ActivityExecution)

    while (!found && outgoingExecution != null) {
     
      if (outgoingExecution != null && catchingActivity != null) {
      …
      }
   }

as after one iteration I had found=false, outgoingExecution!=null, catchingActivity=null

It would be desirable to get an exception in this case. If I hadn't had this running in the debugger, I'd probably still searching for that error 😞

Thanks and regards


Franz