Connector Error?

Every time I deploy a project ( with bdm cleaned ), my process encounters an error during the first 3 runs of the flow. For example, if I run it once, I would encounter an error where my email connector would be stuck at "executing", the 2nd time, it would proceed to a few more task and encounter an error again, etc. After a while of starting the process again and again, it starts working as it should without any errors. 

Here is what shows up in the engine log. 


2020-06-21 08:20:02.370 +0800 INFO: org.bonitasoft.engine.message.MessagesHandlingService THREAD_ID=444 | HOSTNAME=ACT-PH0046 | TENANT_ID=1 | Triggered execution of 1 event couples
2020-06-21 08:20:02.385 +0800 INFO: org.bonitasoft.engine.execution.ProcessInstanceInterruptor THREAD_ID=458 | HOSTNAME=ACT-PH0046 | TENANT_ID=1 | Process instance 6028 and its children were aborted by flownode 120790
2020-06-21 08:20:02.401 +0800 WARNING: org.bonitasoft.engine.work.WorkExecutorServiceImpl THREAD_ID=459 | HOSTNAME=ACT-PH0046 | TENANT_ID=1 | Work was not executed because preconditions were not met, org.bonitasoft.engine.work.WorkDescriptor@4f3079a8[uuid=850d2150-fa40-470d-88c3-77e1fd0a2ba6,type=EXECUTE_FLOWNODE,tenantId=1,parameters={processDefinitionId=7734642119276484144, processInstanceId=6028, stateCanceling=false, stateExecuting=false, stateId=35, stateAborting=true, flowNodeInstanceId=120785},retryCount=0,executionThreshold=<null>,executionCount=1,registrationDate=2020-06-21T00:20:02.385916100Z,abnormalExecutionDetected=false] : Unable to execute flow node 120785 because it is not in the expected state ( expected state: 35, transitioning: false, aborting: true, canceling: false, but got  state: 16, transitioning: false, aborting: true, canceling: false). Someone probably already called execute on it.
2020-06-21 08:20:02.401 +0800 WARNING: org.bonitasoft.engine.work.WorkExecutorServiceImpl THREAD_ID=456 | HOSTNAME=ACT-PH0046 | TENANT_ID=1 | Work was not executed because preconditions were not met, org.bonitasoft.engine.work.WorkDescriptor@77edc49e[uuid=01df62f6-02a6-415d-aef8-65d09a527951,type=EXECUTE_FLOWNODE,tenantId=1,parameters={processDefinitionId=7734642119276484144, processInstanceId=6028, stateCanceling=false, stateExecuting=false, stateId=10, stateAborting=true, flowNodeInstanceId=120788},retryCount=0,executionThreshold=<null>,executionCount=1,registrationDate=2020-06-21T00:20:02.385916100Z,abnormalExecutionDetected=false] : Flow node 120788 does not exists
2020-06-21 08:20:02.401 +0800 WARNING: org.bonitasoft.engine.work.WorkExecutorServiceImpl THREAD_ID=457 | HOSTNAME=ACT-PH0046 | TENANT_ID=1 | Work was not executed because preconditions were not met, org.bonitasoft.engine.work.WorkDescriptor@15138ac8[uuid=9c1de666-852d-4dc1-9db7-676594fb8da9,type=EXECUTE_FLOWNODE,tenantId=1,parameters={processDefinitionId=7734642119276484144, processInstanceId=6028, stateCanceling=false, stateExecuting=false, stateId=10, stateAborting=true, flowNodeInstanceId=120789},retryCount=0,executionThreshold=<null>,executionCount=1,registrationDate=2020-06-21T00:20:02.401537700Z,abnormalExecutionDetected=false] : Flow node 120789 does not exists
2020-06-21 08:20:02.401 +0800 WARNING: org.bonitasoft.engine.work.WorkExecutorServiceImpl THREAD_ID=463 | HOSTNAME=ACT-PH0046 | TENANT_ID=1 | Work was not executed because preconditions were not met, org.bonitasoft.engine.work.WorkDescriptor@704b7401[uuid=33c1287a-7e1c-4a91-a8e1-c4c88191a12d,type=EXECUTE_FLOWNODE,tenantId=1,parameters={processDefinitionId=7734642119276484144, processInstanceId=6028, stateCanceling=false, stateExecuting=false, stateId=10, stateAborting=true, flowNodeInstanceId=120786},retryCount=0,executionThreshold=<null>,executionCount=1,registrationDate=2020-06-21T00:20:02.385916100Z,abnormalExecutionDetected=false] : Unable to execute flow node 120786 because it is not in the expected state ( expected state: 10, transitioning: false, aborting: true, canceling: false, but got  state: 16, transitioning: false, aborting: true, canceling: false). Someone probably already called execute on it.
2020-06-21 08:20:02.401 +0800 WARNING: org.bonitasoft.engine.work.WorkExecutorServiceImpl THREAD_ID=465 | HOSTNAME=ACT-PH0046 | TENANT_ID=1 | Work was not executed because preconditions were not met, org.bonitasoft.engine.work.WorkDescriptor@350b20f[uuid=7fc298dd-0a03-4111-a307-ce90e3eb4bfc,type=EXECUTE_FLOWNODE,tenantId=1,parameters={processDefinitionId=7734642119276484144, processInstanceId=6028, stateCanceling=false, stateExecuting=false, stateId=16, stateAborting=true, flowNodeInstanceId=120785},retryCount=0,executionThreshold=<null>,executionCount=1,registrationDate=2020-06-21T00:20:02.401537700Z,abnormalExecutionDetected=false] : Flow node 120785 does not exists

I would really appreciate your help. Thank you.
 

1 Like