Hello,
thx for your reply. I have added logs. We can see that the process 'destroy' flownodes.
You can find file here : https://we.tl/t-YyI3oNcpzM
2020-10-08 17:56:07.805 +0200 FINE: org.bonitasoft.engine.work.WorkExecutorServiceImpl THREAD_ID=133 | HOSTNAME=cprocess-demo | TENANT_ID=1 | Submitted work org.bonitasoft.engine.work.WorkDescriptor@d35fa26[uuid=9b41a114-603d-41b7-800d-90b998eb23f3,type=EXECUTE_FLOWNODE,tenantId=1,parameters={processDefinitionId=6850668989552313704, processInstanceId=71088, stateCanceling=false, stateExecuting=true, stateId=4, stateAborting=false, flowNodeInstanceId=1480367},retryCount=0,executionThreshold=<null>,executionCount=0,registrationDate=2020-10-08T15:56:07.799Z,abnormalExecutionDetected=false]
2020-10-08 17:56:07.870 +0200 FINE: org.bonitasoft.engine.work.WorkExecutorServiceImpl THREAD_ID=212 | HOSTNAME=cprocess-demo | TENANT_ID=1 | Submitted work org.bonitasoft.engine.work.WorkDescriptor@368dac77[uuid=d98e6041-de1a-4632-8e1b-4e6beacc4f43,type=FINISH_FLOWNODE,tenantId=1,parameters={processDefinitionId=6850668989552313704, processInstanceId=71088, stateCanceling=false, stateExecuting=false, stateId=2, stateAborting=false, flowNodeInstanceId=1480367},retryCount=0,executionThreshold=<null>,executionCount=0,registrationDate=2020-10-08T15:56:07.857Z,abnormalExecutionDetected=false]
2020-10-08 17:56:07.870 +0200 FINE: org.bonitasoft.engine.work.WorkExecutorServiceImpl THREAD_ID=212 | HOSTNAME=cprocess-demo | TENANT_ID=1 | Completed work org.bonitasoft.engine.work.WorkDescriptor@d35fa26[uuid=9b41a114-603d-41b7-800d-90b998eb23f3,type=EXECUTE_FLOWNODE,tenantId=1,parameters={processDefinitionId=6850668989552313704, processInstanceId=71088, stateCanceling=false, stateExecuting=true, stateId=4, stateAborting=false, flowNodeInstanceId=1480367},retryCount=0,executionThreshold=<null>,executionCount=1,registrationDate=2020-10-08T15:56:07.799Z,abnormalExecutionDetected=false]
2020-10-08 17:56:07.873 +0200 FINE: org.bonitasoft.engine.persistence.TenantHibernatePersistenceService THREAD_ID=190 | HOSTNAME=cprocess-demo | [Tenant] Deleting instance of class STaskContractData with id=39071
2020-10-08 17:56:07.873 +0200 FINE: org.bonitasoft.engine.persistence.TenantHibernatePersistenceService THREAD_ID=190 | HOSTNAME=cprocess-demo | [Tenant] Deleting instance of class STaskContractData with id=39072
2020-10-08 17:56:07.873 +0200 FINE: org.bonitasoft.engine.persistence.TenantHibernatePersistenceService THREAD_ID=190 | HOSTNAME=cprocess-demo | [Tenant] Deleting instance of class STaskContractData with id=39073
2020-10-08 17:56:07.874 +0200 FINE: org.bonitasoft.engine.persistence.TenantHibernatePersistenceService THREAD_ID=190 | HOSTNAME=cprocess-demo | [Tenant] Deleting instance of class SPendingActivityMapping with id=144080
2020-10-08 17:56:07.876 +0200 FINE: org.bonitasoft.engine.persistence.TenantHibernatePersistenceService THREAD_ID=190 | HOSTNAME=cprocess-demo | [Tenant] Deleting instance of class SUserTaskInstance with id=1480367
2020-10-08 17:56:07.881 +0200 FINE: org.bonitasoft.engine.work.WorkExecutorServiceImpl THREAD_ID=190 | HOSTNAME=cprocess-demo | TENANT_ID=1 | Submitted work org.bonitasoft.engine.work.WorkDescriptor@32308d43[uuid=3fb5d230-ca46-4454-bb28-8f7053179ff8,type=EXECUTE_FLOWNODE,tenantId=1,parameters={processDefinitionId=6850668989552313704, processInstanceId=71088, stateCanceling=false, stateExecuting=false, stateId=32, stateAborting=false, flowNodeInstanceId=1480848},retryCount=0,executionThreshold=<null>,executionCount=0,registrationDate=2020-10-08T15:56:07.876Z,abnormalExecutionDetected=false]
2020-10-08 17:56:07.881 +0200 FINE: org.bonitasoft.engine.work.WorkExecutorServiceImpl THREAD_ID=190 | HOSTNAME=cprocess-demo | TENANT_ID=1 | Completed work org.bonitasoft.engine.work.WorkDescriptor@368dac77[uuid=d98e6041-de1a-4632-8e1b-4e6beacc4f43,type=FINISH_FLOWNODE,tenantId=1,parameters={processDefinitionId=6850668989552313704, processInstanceId=71088, stateCanceling=false, stateExecuting=false, stateId=2, stateAborting=false, flowNodeInstanceId=1480367},retryCount=0,executionThreshold=<null>,executionCount=1,registrationDate=2020-10-08T15:56:07.857Z,abnormalExecutionDetected=false]
2020-10-08 17:56:07.909 +0200 FINE: org.bonitasoft.engine.persistence.TenantHibernatePersistenceService THREAD_ID=189 | HOSTNAME=cprocess-demo | [Tenant] Deleting instance of class SProcessContractData with id=39074
2020-10-08 17:56:07.909 +0200 FINE: org.bonitasoft.engine.persistence.TenantHibernatePersistenceService THREAD_ID=189 | HOSTNAME=cprocess-demo | [Tenant] Deleting instance of class SProcessContractData with id=39075
2020-10-08 17:56:07.909 +0200 FINE: org.bonitasoft.engine.persistence.TenantHibernatePersistenceService THREAD_ID=189 | HOSTNAME=cprocess-demo | [Tenant] Deleting instance of class SProcessContractData with id=39076
2020-10-08 17:56:07.909 +0200 FINE: org.bonitasoft.engine.persistence.TenantHibernatePersistenceService THREAD_ID=189 | HOSTNAME=cprocess-demo | [Tenant] Deleting instance of class SProcessContractData with id=39077
2020-10-08 17:56:07.909 +0200 FINE: org.bonitasoft.engine.persistence.TenantHibernatePersistenceService THREAD_ID=189 | HOSTNAME=cprocess-demo | [Tenant] Deleting instance of class SProcessContractData with id=39078
2020-10-08 17:56:07.909 +0200 FINE: org.bonitasoft.engine.persistence.TenantHibernatePersistenceService THREAD_ID=189 | HOSTNAME=cprocess-demo | [Tenant] Deleting instance of class SProcessContractData with id=39079
2020-10-08 17:56:07.939 +0200 FINE: org.bonitasoft.engine.work.WorkExecutorServiceImpl THREAD_ID=189 | HOSTNAME=cprocess-demo | TENANT_ID=1 | Submitted work org.bonitasoft.engine.work.WorkDescriptor@5807f7aa[uuid=9b84b6a3-0698-4040-970d-92154940c318,type=EXECUTE_FLOWNODE,tenantId=1,parameters={processDefinitionId=5376027906635258567, processInstanceId=71207, stateCanceling=false, stateExecuting=false, stateId=61, stateAborting=false, flowNodeInstanceId=1480849},retryCount=0,executionThreshold=<null>,executionCount=0,registrationDate=2020-10-08T15:56:07.909Z,abnormalExecutionDetected=false]
2020-10-08 17:56:07.939 +0200 FINE: org.bonitasoft.engine.work.WorkExecutorServiceImpl THREAD_ID=189 | HOSTNAME=cprocess-demo | TENANT_ID=1 | Completed work org.bonitasoft.engine.work.WorkDescriptor@32308d43[uuid=3fb5d230-ca46-4454-bb28-8f7053179ff8,type=EXECUTE_FLOWNODE,tenantId=1,parameters={processDefinitionId=6850668989552313704, processInstanceId=71088, stateCanceling=false, stateExecuting=false, stateId=32, stateAborting=false, flowNodeInstanceId=1480848},retryCount=0,executionThreshold=<null>,executionCount=1,registrationDate=2020-10-08T15:56:07.876Z,abnormalExecutionDetected=false]
2020-10-08 17:56:07.944 +0200 FINE: org.bonitasoft.engine.work.WorkExecutorServiceImpl THREAD_ID=223 | HOSTNAME=cprocess-demo | TENANT_ID=1 | Submitted work org.bonitasoft.engine.work.WorkDescriptor@337f71e5[uuid=f1daaf95-d555-49e9-a449-7ea08606bdcf,type=FINISH_FLOWNODE,tenantId=1,parameters={processDefinitionId=5376027906635258567, processInstanceId=71207, stateCanceling=false, stateExecuting=false, stateId=2, stateAborting=false, flowNodeInstanceId=1480849},retryCount=0,executionThreshold=<null>,executionCount=0,registrationDate=2020-10-08T15:56:07.942Z,abnormalExecutionDetected=false]
2020-10-08 17:56:07.944 +0200 FINE: org.bonitasoft.engine.work.WorkExecutorServiceImpl THREAD_ID=223 | HOSTNAME=cprocess-demo | TENANT_ID=1 | Completed work org.bonitasoft.engine.work.WorkDescriptor@5807f7aa[uuid=9b84b6a3-0698-4040-970d-92154940c318,type=EXECUTE_FLOWNODE,tenantId=1,parameters={processDefinitionId=5376027906635258567, processInstanceId=71207, stateCanceling=false, stateExecuting=false, stateId=61, stateAborting=false, flowNodeInstanceId=1480849},retryCount=0,executionThreshold=<null>,executionCount=1,registrationDate=2020-10-08T15:56:07.909Z,abnormalExecutionDetected=false]
2020-10-08 17:56:07.947 +0200 FINE: org.bonitasoft.engine.persistence.TenantHibernatePersistenceService THREAD_ID=223 | HOSTNAME=cprocess-demo | [Tenant] Deleting instance of class SStartEventInstance with id=1480849
2020-10-08 17:56:07.951 +0200 FINE: org.bonitasoft.engine.work.WorkExecutorServiceImpl THREAD_ID=223 | HOSTNAME=cprocess-demo | TENANT_ID=1 | Submitted work org.bonitasoft.engine.work.WorkDescriptor@4ee09715[uuid=27ec243c-c0c0-462a-bcf9-e87dd5c691b1,type=EXECUTE_FLOWNODE,tenantId=1,parameters={processDefinitionId=5376027906635258567, processInstanceId=71207, stateCanceling=false, stateExecuting=false, stateId=37, stateAborting=false, flowNodeInstanceId=1480850},retryCount=0,executionThreshold=<null>,executionCount=0,registrationDate=2020-10-08T15:56:07.948Z,abnormalExecutionDetected=false]
2020-10-08 17:56:07.951 +0200 FINE: org.bonitasoft.engine.work.WorkExecutorServiceImpl THREAD_ID=223 | HOSTNAME=cprocess-demo | TENANT_ID=1 | Completed work org.bonitasoft.engine.work.WorkDescriptor@337f71e5[uuid=f1daaf95-d555-49e9-a449-7ea08606bdcf,type=FINISH_FLOWNODE,tenantId=1,parameters={processDefinitionId=5376027906635258567, processInstanceId=71207, stateCanceling=false, stateExecuting=false, stateId=2, stateAborting=false, flowNodeInstanceId=1480849},retryCount=0,executionThreshold=<null>,executionCount=1,registrationDate=2020-10-08T15:56:07.942Z,abnormalExecutionDetected=false]
2020-10-08 17:56:07.995 +0200 FINE: org.bonitasoft.engine.persistence.TenantHibernatePersistenceService THREAD_ID=176 | HOSTNAME=cprocess-demo | [Tenant] Deleting instance of class SAutomaticTaskInstance with id=1480850
2020-10-08 17:56:07.997 +0200 FINE: org.bonitasoft.engine.persistence.TenantHibernatePersistenceService THREAD_ID=176 | HOSTNAME=cprocess-demo | [Tenant] Deleting instance of class SXMLObjectDataInstance with id=553608
2020-10-08 17:56:07.997 +0200 FINE: org.bonitasoft.engine.persistence.TenantHibernatePersistenceService THREAD_ID=176 | HOSTNAME=cprocess-demo | [Tenant] Deleting instance of class SXMLObjectDataInstance with id=553609
2020-10-08 17:56:07.998 +0200 FINE: org.bonitasoft.engine.persistence.TenantHibernatePersistenceService THREAD_ID=176 | HOSTNAME=cprocess-demo | [Tenant] Deleting instance of class SXMLObjectDataInstance with id=553610
2020-10-08 17:56:07.998 +0200 FINE: org.bonitasoft.engine.persistence.TenantHibernatePersistenceService THREAD_ID=176 | HOSTNAME=cprocess-demo | [Tenant] Deleting instance of class SLongTextDataInstance with id=553611
2020-10-08 17:56:07.998 +0200 FINE: org.bonitasoft.engine.persistence.TenantHibernatePersistenceService THREAD_ID=176 | HOSTNAME=cprocess-demo | [Tenant] Deleting instance of class SLongTextDataInstance with id=553612
2020-10-08 17:56:07.998 +0200 FINE: org.bonitasoft.engine.persistence.TenantHibernatePersistenceService THREAD_ID=176 | HOSTNAME=cprocess-demo | [Tenant] Deleting instance of class SLongTextDataInstance with id=553613
2020-10-08 17:56:07.998 +0200 FINE: org.bonitasoft.engine.persistence.TenantHibernatePersistenceService THREAD_ID=176 | HOSTNAME=cprocess-demo | [Tenant] Deleting instance of class SLongTextDataInstance with id=553614
2020-10-08 17:56:07.999 +0200 FINE: org.bonitasoft.engine.persistence.TenantHibernatePersistenceService THREAD_ID=176 | HOSTNAME=cprocess-demo | [Tenant] Deleting instance of class SLongTextDataInstance with id=553615
2020-10-08 17:56:07.999 +0200 FINE: org.bonitasoft.engine.persistence.TenantHibernatePersistenceService THREAD_ID=176 | HOSTNAME=cprocess-demo | [Tenant] Deleting instance of class SLongTextDataInstance with id=553616
2020-10-08 17:56:08.002 +0200 FINE: org.bonitasoft.engine.work.WorkExecutorServiceImpl THREAD_ID=223 | HOSTNAME=cprocess-demo | TENANT_ID=1 | Submitted work org.bonitasoft.engine.work.WorkDescriptor@335e276[uuid=949bedc3-7871-46a3-b3f4-1ea6afe182e9,type=FINISH_FLOWNODE,tenantId=1,parameters={processDefinitionId=5376027906635258567, processInstanceId=71207, stateCanceling=false, stateExecuting=false, stateId=2, stateAborting=false, flowNodeInstanceId=1480850},retryCount=0,executionThreshold=<null>,executionCount=0,registrationDate=2020-10-08T15:56:07.984Z,abnormalExecutionDetected=false]
2020-10-08 17:56:08.002 +0200 FINE: org.bonitasoft.engine.work.WorkExecutorServiceImpl THREAD_ID=223 | HOSTNAME=cprocess-demo | TENANT_ID=1 | Completed work org.bonitasoft.engine.work.WorkDescriptor@4ee09715[uuid=27ec243c-c0c0-462a-bcf9-e87dd5c691b1,type=EXECUTE_FLOWNODE,tenantId=1,parameters={processDefinitionId=5376027906635258567, processInstanceId=71207, stateCanceling=false, stateExecuting=false, stateId=37, stateAborting=false, flowNodeInstanceId=1480850},retryCount=0,executionThreshold=<null>,executionCount=1,registrationDate=2020-10-08T15:56:07.948Z,abnormalExecutionDetected=false]
2020-10-08 17:56:08.005 +0200 FINE: org.bonitasoft.engine.persistence.TenantHibernatePersistenceService THREAD_ID=223 | HOSTNAME=cprocess-demo | [Tenant] Deleting instance of class SAutomaticTaskInstance with id=1480850
2020-10-08 17:56:08.020 +0200 FINE: org.bonitasoft.engine.persistence.TenantHibernatePersistenceService THREAD_ID=176 | HOSTNAME=cprocess-demo | [Tenant] Deleting instance of class SProcessInstance with id=71207
2020-10-08 17:56:08.020 +0200 FINE: org.bonitasoft.engine.persistence.TenantHibernatePersistenceService THREAD_ID=176 | HOSTNAME=cprocess-demo | [Tenant] Deleting instance of class SCallActivityInstance with id=1480848
2020-10-08 17:56:08.022 +0200 FINE: org.bonitasoft.engine.persistence.TenantHibernatePersistenceService THREAD_ID=176 | HOSTNAME=cprocess-demo | [Tenant] Deleting instance of class SXMLObjectDataInstance with id=551820
2020-10-08 17:56:08.022 +0200 FINE: org.bonitasoft.engine.persistence.TenantHibernatePersistenceService THREAD_ID=176 | HOSTNAME=cprocess-demo | [Tenant] Deleting instance of class SLongTextDataInstance with id=551821
2020-10-08 17:56:08.022 +0200 FINE: org.bonitasoft.engine.persistence.TenantHibernatePersistenceService THREAD_ID=176 | HOSTNAME=cprocess-demo | [Tenant] Deleting instance of class SLongTextDataInstance with id=551822
2020-10-08 17:56:08.023 +0200 FINE: org.bonitasoft.engine.persistence.TenantHibernatePersistenceService THREAD_ID=176 | HOSTNAME=cprocess-demo | [Tenant] Deleting instance of class SXMLObjectDataInstance with id=551823
2020-10-08 17:56:08.023 +0200 FINE: org.bonitasoft.engine.persistence.TenantHibernatePersistenceService THREAD_ID=176 | HOSTNAME=cprocess-demo | [Tenant] Deleting instance of class SBooleanDataInstance with id=551824
2020-10-08 17:56:08.023 +0200 FINE: org.bonitasoft.engine.persistence.TenantHibernatePersistenceService THREAD_ID=176 | HOSTNAME=cprocess-demo | [Tenant] Deleting instance of class SLongTextDataInstance with id=551825
2020-10-08 17:56:08.023 +0200 FINE: org.bonitasoft.engine.persistence.TenantHibernatePersistenceService THREAD_ID=176 | HOSTNAME=cprocess-demo | [Tenant] Deleting instance of class SLongTextDataInstance with id=551826
2020-10-08 17:56:08.023 +0200 FINE: org.bonitasoft.engine.persistence.TenantHibernatePersistenceService THREAD_ID=176 | HOSTNAME=cprocess-demo | [Tenant] Deleting instance of class SXMLObjectDataInstance with id=551827
2020-10-08 17:56:08.024 +0200 FINE: org.bonitasoft.engine.persistence.TenantHibernatePersistenceService THREAD_ID=176 | HOSTNAME=cprocess-demo | [Tenant] Deleting instance of class SXMLObjectDataInstance with id=551828
2020-10-08 17:56:08.024 +0200 FINE: org.bonitasoft.engine.persistence.TenantHibernatePersistenceService THREAD_ID=176 | HOSTNAME=cprocess-demo | [Tenant] Deleting instance of class SLongTextDataInstance with id=551829
2020-10-08 17:56:08.024 +0200 FINE: org.bonitasoft.engine.persistence.TenantHibernatePersistenceService THREAD_ID=176 | HOSTNAME=cprocess-demo | [Tenant] Deleting instance of class SLongTextDataInstance with id=551830
2020-10-08 17:56:08.024 +0200 FINE: org.bonitasoft.engine.persistence.TenantHibernatePersistenceService THREAD_ID=176 | HOSTNAME=cprocess-demo | [Tenant] Deleting instance of class SLongTextDataInstance with id=551831
2020-10-08 17:56:08.024 +0200 FINE: org.bonitasoft.engine.persistence.TenantHibernatePersistenceService THREAD_ID=176 | HOSTNAME=cprocess-demo | [Tenant] Deleting instance of class SXMLObjectDataInstance with id=551832
2020-10-08 17:56:08.024 +0200 FINE: org.bonitasoft.engine.persistence.TenantHibernatePersistenceService THREAD_ID=176 | HOSTNAME=cprocess-demo | [Tenant] Deleting instance of class SXMLObjectDataInstance with id=551833
2020-10-08 17:56:08.030 +0200 FINE: org.bonitasoft.engine.persistence.TenantHibernatePersistenceService THREAD_ID=176 | HOSTNAME=cprocess-demo | [Tenant] Deleting instance of class SMappedDocument with id=3682
2020-10-08 17:56:08.033 +0200 FINE: org.bonitasoft.engine.persistence.TenantHibernatePersistenceService THREAD_ID=176 | HOSTNAME=cprocess-demo | [Tenant] Deleting instance of class SSystemComment with id=800158
2020-10-08 17:56:08.034 +0200 FINE: org.bonitasoft.engine.persistence.TenantHibernatePersistenceService THREAD_ID=176 | HOSTNAME=cprocess-demo | [Tenant] Deleting instance of class SSystemComment with id=800162
2020-10-08 17:56:08.035 +0200 FINE: org.bonitasoft.engine.persistence.TenantHibernatePersistenceService THREAD_ID=176 | HOSTNAME=cprocess-demo | [Tenant] Deleting instance of class SProcessInstance with id=71088
2020-10-08 17:56:08.139 +0200 ERROR: org.hibernate.engine.transaction.synchronization.internal.SynchronizationCallbackCoordinatorNonTrackingImpl HHH000346: Error during managed flush [Batch update returned unexpected row count from update [0]; actual row count: 0; expected: 1]
2020-10-08 17:56:08.140 +0200 WARN: com.arjuna.ats.arjuna ARJUNA012125: TwoPhaseCoordinator.beforeCompletion - failed for SynchronizationImple< 0:ffff0a840feb:991f:5f7f2fe4:13f2a, org.hibernate.engine.transaction.synchronization.internal.RegisteredSynchronization@3211e75e >
org.hibernate.StaleStateException: Batch update returned unexpected row count from update [0]; actual row count: 0; expected: 1
at org.hibernate.jdbc.Expectations$BasicExpectation.checkBatched(Expectations.java:81)
at org.hibernate.jdbc.Expectations$BasicExpectation.verifyOutcome(Expectations.java:73)
at org.hibernate.engine.jdbc.batch.internal.NonBatchingBatch.addToBatch(NonBatchingBatch.java:63)
at org.hibernate.persister.entity.AbstractEntityPersister.delete(AbstractEntityPersister.java:3400)
at org.hibernate.persister.entity.AbstractEntityPersister.delete(AbstractEntityPersister.java:3630)
at org.hibernate.action.internal.EntityDeleteAction.execute(EntityDeleteAction.java:114)
at org.hibernate.engine.spi.ActionQueue.executeActions(ActionQueue.java:465)
at org.hibernate.engine.spi.ActionQueue.executeActions(ActionQueue.java:351)
at org.hibernate.event.internal.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:350)
at org.hibernate.event.internal.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:56)
at org.hibernate.internal.SessionImpl.flush(SessionImpl.java:1258)
at org.hibernate.internal.SessionImpl.managedFlush(SessionImpl.java:425)
at org.hibernate.engine.transaction.synchronization.internal.SynchronizationCallbackCoordinatorNonTrackingImpl.beforeCompletion(SynchronizationCallbackCoordinatorNonTrackingImpl.java:114)
at org.hibernate.engine.transaction.synchronization.internal.RegisteredSynchronization.beforeCompletion(RegisteredSynchronization.java:50)
at com.arjuna.ats.internal.jta.resources.arjunacore.SynchronizationImple.beforeCompletion(SynchronizationImple.java:76)
at com.arjuna.ats.arjuna.coordinator.TwoPhaseCoordinator.beforeCompletion(TwoPhaseCoordinator.java:360)
at com.arjuna.ats.arjuna.coordinator.TwoPhaseCoordinator.end(TwoPhaseCoordinator.java:91)
at com.arjuna.ats.arjuna.AtomicAction.commit(AtomicAction.java:162)
at com.arjuna.ats.internal.jta.transaction.arjunacore.TransactionImple.commitAndDisassociate(TransactionImple.java:1288)
at com.arjuna.ats.internal.jta.transaction.arjunacore.BaseTransaction.commit(BaseTransaction.java:126)
at org.bonitasoft.engine.transaction.JTATransactionServiceImpl.complete(JTATransactionServiceImpl.java:176)
at org.bonitasoft.engine.transaction.JTATransactionServiceImpl.executeInTransaction(JTATransactionServiceImpl.java:284)
at org.bonitasoft.engine.execution.work.TxBonitaWork.work(TxBonitaWork.java:42)
at org.bonitasoft.engine.execution.work.LockProcessInstanceWork.work(LockProcessInstanceWork.java:63)
at org.bonitasoft.engine.execution.work.failurewrapping.TxInHandleFailureWrappingWork.work(TxInHandleFailureWrappingWork.java:41)
at org.bonitasoft.engine.execution.work.failurewrapping.TxInHandleFailureWrappingWork.work(TxInHandleFailureWrappingWork.java:41)
at org.bonitasoft.engine.execution.work.failurewrapping.TxInHandleFailureWrappingWork.work(TxInHandleFailureWrappingWork.java:41)
at org.bonitasoft.engine.execution.work.InSessionBonitaWork.work(InSessionBonitaWork.java:59)
at org.bonitasoft.engine.work.BonitaThreadPoolExecutor.lambda$submit$1(BonitaThreadPoolExecutor.java:132)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
2020-10-08 17:56:08.144 +0200 SEVERE: org.bonitasoft.engine.execution.work.InSessionBonitaWork THREAD_ID=223 | HOSTNAME=cprocess-demo | TENANT_ID=1 | The work [NotifyChildFinishedWork flowNodeInstanceId: 1480850] failed. The failure will be handled.
2020-10-08 17:56:08.147 +0200 SEVERE: org.bonitasoft.engine.execution.work.InSessionBonitaWork THREAD_ID=223 | HOSTNAME=cprocess-demo | TENANT_ID=1 | Unexpected error while executing work [NotifyChildFinishedWork flowNodeInstanceId: 1480850]. You may consider restarting the system. This will restart all works.
org.bonitasoft.engine.transaction.STransactionCommitException: javax.transaction.RollbackException: ARJUNA016053: Could not commit transaction.
at org.bonitasoft.engine.transaction.JTATransactionServiceImpl.complete(JTATransactionServiceImpl.java:180)
at org.bonitasoft.engine.transaction.JTATransactionServiceImpl.executeInTransaction(JTATransactionServiceImpl.java:284)
at org.bonitasoft.engine.execution.work.TxBonitaWork.work(TxBonitaWork.java:42)
at org.bonitasoft.engine.execution.work.LockProcessInstanceWork.work(LockProcessInstanceWork.java:63)
at org.bonitasoft.engine.execution.work.failurewrapping.TxInHandleFailureWrappingWork.work(TxInHandleFailureWrappingWork.java:41)
at org.bonitasoft.engine.execution.work.failurewrapping.TxInHandleFailureWrappingWork.work(TxInHandleFailureWrappingWork.java:41)
at org.bonitasoft.engine.execution.work.failurewrapping.TxInHandleFailureWrappingWork.work(TxInHandleFailureWrappingWork.java:41)
at org.bonitasoft.engine.execution.work.InSessionBonitaWork.work(InSessionBonitaWork.java:59)
at org.bonitasoft.engine.work.BonitaThreadPoolExecutor.lambda$submit$1(BonitaThreadPoolExecutor.java:132)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
Caused by: javax.transaction.RollbackException: ARJUNA016053: Could not commit transaction.
at com.arjuna.ats.internal.jta.transaction.arjunacore.TransactionImple.commitAndDisassociate(TransactionImple.java:1300)
at com.arjuna.ats.internal.jta.transaction.arjunacore.BaseTransaction.commit(BaseTransaction.java:126)
at org.bonitasoft.engine.transaction.JTATransactionServiceImpl.complete(JTATransactionServiceImpl.java:176)
... 11 more
Caused by: org.hibernate.StaleStateException: Batch update returned unexpected row count from update [0]; actual row count: 0; expected: 1
at org.hibernate.jdbc.Expectations$BasicExpectation.checkBatched(Expectations.java:81)
at org.hibernate.jdbc.Expectations$BasicExpectation.verifyOutcome(Expectations.java:73)
at org.hibernate.engine.jdbc.batch.internal.NonBatchingBatch.addToBatch(NonBatchingBatch.java:63)
at org.hibernate.persister.entity.AbstractEntityPersister.delete(AbstractEntityPersister.java:3400)
at org.hibernate.persister.entity.AbstractEntityPersister.delete(AbstractEntityPersister.java:3630)
at org.hibernate.action.internal.EntityDeleteAction.execute(EntityDeleteAction.java:114)
at org.hibernate.engine.spi.ActionQueue.executeActions(ActionQueue.java:465)
at org.hibernate.engine.spi.ActionQueue.executeActions(ActionQueue.java:351)
at org.hibernate.event.internal.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:350)
at org.hibernate.event.internal.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:56)
at org.hibernate.internal.SessionImpl.flush(SessionImpl.java:1258)
at org.hibernate.internal.SessionImpl.managedFlush(SessionImpl.java:425)
at org.hibernate.engine.transaction.synchronization.internal.SynchronizationCallbackCoordinatorNonTrackingImpl.beforeCompletion(SynchronizationCallbackCoordinatorNonTrackingImpl.java:114)
at org.hibernate.engine.transaction.synchronization.internal.RegisteredSynchronization.beforeCompletion(RegisteredSynchronization.java:50)
at com.arjuna.ats.internal.jta.resources.arjunacore.SynchronizationImple.beforeCompletion(SynchronizationImple.java:76)
at com.arjuna.ats.arjuna.coordinator.TwoPhaseCoordinator.beforeCompletion(TwoPhaseCoordinator.java:360)
at com.arjuna.ats.arjuna.coordinator.TwoPhaseCoordinator.end(TwoPhaseCoordinator.java:91)
at com.arjuna.ats.arjuna.AtomicAction.commit(AtomicAction.java:162)
at com.arjuna.ats.internal.jta.transaction.arjunacore.TransactionImple.commitAndDisassociate(TransactionImple.java:1288)
... 13 more
2020-10-08 17:56:08.147 +0200 SEVERE: org.bonitasoft.engine.execution.work.InSessionBonitaWork THREAD_ID=223 | HOSTNAME=cprocess-demo | TENANT_ID=1 | Unable to handle the failure.
org.bonitasoft.engine.core.process.instance.api.exceptions.SFlowNodeNotFoundException: Flow node instance with id 1480850 not found
at org.bonitasoft.engine.core.process.instance.impl.FlowNodeInstancesServiceImpl.getFlowNodeInstance(FlowNodeInstancesServiceImpl.java:228)
at org.bonitasoft.engine.execution.work.failurewrapping.FlowNodeDefinitionAndInstanceContextWork.setExceptionContext(FlowNodeDefinitionAndInstanceContextWork.java:51)
at org.bonitasoft.engine.execution.work.failurewrapping.TxInHandleFailureWrappingWork$1.call(TxInHandleFailureWrappingWork.java:54)
at org.bonitasoft.engine.execution.work.failurewrapping.TxInHandleFailureWrappingWork$1.call(TxInHandleFailureWrappingWork.java:50)
at org.bonitasoft.engine.transaction.JTATransactionServiceImpl.executeInTransaction(JTATransactionServiceImpl.java:274)
at org.bonitasoft.engine.execution.work.failurewrapping.TxInHandleFailureWrappingWork.handleFailure(TxInHandleFailureWrappingWork.java:50)
at org.bonitasoft.engine.execution.work.InSessionBonitaWork.handleFailureWrappedWork(InSessionBonitaWork.java:103)
at org.bonitasoft.engine.execution.work.InSessionBonitaWork.handleFailure(InSessionBonitaWork.java:79)
at org.bonitasoft.engine.work.WorkExecutorServiceImpl.onFailure(WorkExecutorServiceImpl.java:78)
at org.bonitasoft.engine.work.BonitaThreadPoolExecutor.lambda$submit$1(BonitaThreadPoolExecutor.java:136)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
2020-10-08 17:58:29.598 +0200 FINE: org.bonitasoft.engine.work.WorkExecutorServiceImpl THREAD_ID=136 | HOSTNAME=cprocess-demo | TENANT_ID=1 | Submitted work org.bonitasoft.engine.work.WorkDescriptor@1f29d189[uuid=968894d7-b624-42c2-b904-a3cc18fcb2c9,type=EXECUTE_FLOWNODE,tenantId=1,parameters={processDefinitionId=6850668989552313704, processInstanceId=71089, stateCanceling=false, stateExecuting=true, stateId=4, stateAborting=false, flowNodeInstanceId=1480370},retryCount=0,executionThreshold=<null>,executionCount=0,registrationDate=2020-10-08T15:58:29.592Z,abnormalExecutionDetected=false]
2020-10-08 17:58:29.606 +0200 SEVERE: org.bonitasoft.groovy.script.converter Creation du mapping du formulaire avec docushare
2020-10-08 17:58:29.606 +0200 SEVERE: org.bonitasoft.groovy.script.converter form = [documentDate:null, amount:1233, endDate:2020-10-08T00:00:00.000Z, docType:contratFournisseur, deadlineDate:null, purchaseSegment:services, contractNumber:1234, documentCategory:, handle:Collection-837, title:1, provider:ecervo, purchaseNature:informatique, startDate:2020-10-08T00:00:00.000Z, concernService:si, desc:]
2020-10-08 17:58:29.606 +0200 SEVERE: org.bonitasoft.groovy.script.converter docType = contratFournisseur
2020-10-08 17:58:29.607 +0200 SEVERE: org.bonitasoft.groovy.script.converter docushareAttributes = [classe:contratFournisseur, natureAchat:informatique, dateDebut:2020-10-08T11:00:00+01:00, numChrono:20201008 - 71089, segmentAchat:services, numContrat:1234, serviceContrat:si, fournisseur:ecervo, montant:1233.0, dateFin:2020-10-08T11:00:00+01:00, title:1]
2020-10-08 17:58:29.635 +0200 FINE: org.bonitasoft.engine.work.WorkExecutorServiceImpl THREAD_ID=228 | HOSTNAME=cprocess-demo | TENANT_ID=1 | Submitted work org.bonitasoft.engine.work.WorkDescriptor@245265e5[uuid=3abe2378-ed31-4288-aa3c-bf429ca92201,type=FINISH_FLOWNODE,tenantId=1,parameters={processDefinitionId=6850668989552313704, processInstanceId=71089, stateCanceling=false, stateExecuting=false, stateId=2, stateAborting=false, flowNodeInstanceId=1480370},retryCount=0,executionThreshold=<null>,executionCount=0,registrationDate=2020-10-08T15:58:29.623Z,abnormalExecutionDetected=false]
2020-10-08 17:58:29.636 +0200 FINE: org.bonitasoft.engine.work.WorkExecutorServiceImpl THREAD_ID=228 | HOSTNAME=cprocess-demo | TENANT_ID=1 | Completed work org.bonitasoft.engine.work.WorkDescriptor@1f29d189[uuid=968894d7-b624-42c2-b904-a3cc18fcb2c9,type=EXECUTE_FLOWNODE,tenantId=1,parameters={processDefinitionId=6850668989552313704, processInstanceId=71089, stateCanceling=false, stateExecuting=true, stateId=4, stateAborting=false, flowNodeInstanceId=1480370},retryCount=0,executionThreshold=<null>,executionCount=1,registrationDate=2020-10-08T15:58:29.592Z,abnormalExecutionDetected=false]
2020-10-08 17:58:29.640 +0200 FINE: org.bonitasoft.engine.persistence.TenantHibernatePersistenceService THREAD_ID=213 | HOSTNAME=cprocess-demo | [Tenant] Deleting instance of class STaskContractData with id=39080
2020-10-08 17:58:29.640 +0200 FINE: org.bonitasoft.engine.persistence.TenantHibernatePersistenceService THREAD_ID=213 | HOSTNAME=cprocess-demo | [Tenant] Deleting instance of class STaskContractData with id=39081
2020-10-08 17:58:29.640 +0200 FINE: org.bonitasoft.engine.persistence.TenantHibernatePersistenceService THREAD_ID=213 | HOSTNAME=cprocess-demo | [Tenant] Deleting instance of class STaskContractData with id=39082
2020-10-08 17:58:29.641 +0200 FINE: org.bonitasoft.engine.persistence.TenantHibernatePersistenceService THREAD_ID=213 | HOSTNAME=cprocess-demo | [Tenant] Deleting instance of class SPendingActivityMapping with id=144079
2020-10-08 17:58:29.644 +0200 FINE: org.bonitasoft.engine.persistence.TenantHibernatePersistenceService THREAD_ID=213 | HOSTNAME=cprocess-demo | [Tenant] Deleting instance of class SUserTaskInstance with id=1480370
2020-10-08 17:58:29.650 +0200 FINE: org.bonitasoft.engine.work.WorkExecutorServiceImpl THREAD_ID=213 | HOSTNAME=cprocess-demo | TENANT_ID=1 | Submitted work org.bonitasoft.engine.work.WorkDescriptor@71ac4761[uuid=3da9270c-890b-44f5-ad02-b31cd25519fa,type=EXECUTE_FLOWNODE,tenantId=1,parameters={processDefinitionId=6850668989552313704, processInstanceId=71089, stateCanceling=false, stateExecuting=false, stateId=32, stateAborting=false, flowNodeInstanceId=1480852},retryCount=0,executionThreshold=<null>,executionCount=0,registrationDate=2020-10-08T15:58:29.644Z,abnormalExecutionDetected=false]
2020-10-08 17:58:29.650 +0200 FINE: org.bonitasoft.engine.work.WorkExecutorServiceImpl THREAD_ID=213 | HOSTNAME=cprocess-demo | TENANT_ID=1 | Completed work org.bonitasoft.engine.work.WorkDescriptor@245265e5[uuid=3abe2378-ed31-4288-aa3c-bf429ca92201,type=FINISH_FLOWNODE,tenantId=1,parameters={processDefinitionId=6850668989552313704, processInstanceId=71089, stateCanceling=false, stateExecuting=false, stateId=2, stateAborting=false, flowNodeInstanceId=1480370},retryCount=0,executionThreshold=<null>,executionCount=1,registrationDate=2020-10-08T15:58:29.623Z,abnormalExecutionDetected=false]
2020-10-08 17:58:29.679 +0200 FINE: org.bonitasoft.engine.persistence.TenantHibernatePersistenceService THREAD_ID=213 | HOSTNAME=cprocess-demo | [Tenant] Deleting instance of class SProcessContractData with id=39083
2020-10-08 17:58:29.679 +0200 FINE: org.bonitasoft.engine.persistence.TenantHibernatePersistenceService THREAD_ID=213 | HOSTNAME=cprocess-demo | [Tenant] Deleting instance of class SProcessContractData with id=39084
2020-10-08 17:58:29.679 +0200 FINE: org.bonitasoft.engine.persistence.TenantHibernatePersistenceService THREAD_ID=213 | HOSTNAME=cprocess-demo | [Tenant] Deleting instance of class SProcessContractData with id=39085
2020-10-08 17:58:29.679 +0200 FINE: org.bonitasoft.engine.persistence.TenantHibernatePersistenceService THREAD_ID=213 | HOSTNAME=cprocess-demo | [Tenant] Deleting instance of class SProcessContractData with id=39086
2020-10-08 17:58:29.680 +0200 FINE: org.bonitasoft.engine.persistence.TenantHibernatePersistenceService THREAD_ID=213 | HOSTNAME=cprocess-demo | [Tenant] Deleting instance of class SProcessContractData with id=39087
2020-10-08 17:58:29.680 +0200 FINE: org.bonitasoft.engine.persistence.TenantHibernatePersistenceService THREAD_ID=213 | HOSTNAME=cprocess-demo | [Tenant] Deleting instance of class SProcessContractData with id=39088
2020-10-08 17:58:29.720 +0200 FINE: org.bonitasoft.engine.work.WorkExecutorServiceImpl THREAD_ID=213 | HOSTNAME=cprocess-demo | TENANT_ID=1 | Submitted work org.bonitasoft.engine.work.WorkDescriptor@69194481[uuid=6993c5f0-f867-4ae4-896b-8604859c4304,type=EXECUTE_FLOWNODE,tenantId=1,parameters={processDefinitionId=5376027906635258567, processInstanceId=71208, stateCanceling=false, stateExecuting=false, stateId=61, stateAborting=false, flowNodeInstanceId=1480853},retryCount=0,executionThreshold=<null>,executionCount=0,registrationDate=2020-10-08T15:58:29.680Z,abnormalExecutionDetected=false]
2020-10-08 17:58:29.721 +0200 FINE: org.bonitasoft.engine.work.WorkExecutorServiceImpl THREAD_ID=213 | HOSTNAME=cprocess-demo | TENANT_ID=1 | Completed work org.bonitasoft.engine.work.WorkDescriptor@71ac4761[uuid=3da9270c-890b-44f5-ad02-b31cd25519fa,type=EXECUTE_FLOWNODE,tenantId=1,parameters={processDefinitionId=6850668989552313704, processInstanceId=71089, stateCanceling=false, stateExecuting=false, stateId=32, stateAborting=false, flowNodeInstanceId=1480852},retryCount=0,executionThreshold=<null>,executionCount=1,registrationDate=2020-10-08T15:58:29.644Z,abnormalExecutionDetected=false]
2020-10-08 17:58:29.727 +0200 FINE: org.bonitasoft.engine.work.WorkExecutorServiceImpl THREAD_ID=213 | HOSTNAME=cprocess-demo | TENANT_ID=1 | Submitted work org.bonitasoft.engine.work.WorkDescriptor@52114fa[uuid=e4363d20-f765-4100-8ba0-c88ef128ee99,type=FINISH_FLOWNODE,tenantId=1,parameters={processDefinitionId=5376027906635258567, processInstanceId=71208, stateCanceling=false, stateExecuting=false, stateId=2, stateAborting=false, flowNodeInstanceId=1480853},retryCount=0,executionThreshold=<null>,executionCount=0,registrationDate=2020-10-08T15:58:29.725Z,abnormalExecutionDetected=false]
2020-10-08 17:58:29.727 +0200 FINE: org.bonitasoft.engine.work.WorkExecutorServiceImpl THREAD_ID=213 | HOSTNAME=cprocess-demo | TENANT_ID=1 | Completed work org.bonitasoft.engine.work.WorkDescriptor@69194481[uuid=6993c5f0-f867-4ae4-896b-8604859c4304,type=EXECUTE_FLOWNODE,tenantId=1,parameters={processDefinitionId=5376027906635258567, processInstanceId=71208, stateCanceling=false, stateExecuting=false, stateId=61, stateAborting=false, flowNodeInstanceId=1480853},retryCount=0,executionThreshold=<null>,executionCount=1,registrationDate=2020-10-08T15:58:29.680Z,abnormalExecutionDetected=false]
2020-10-08 17:58:29.730 +0200 FINE: org.bonitasoft.engine.persistence.TenantHibernatePersistenceService THREAD_ID=197 | HOSTNAME=cprocess-demo | [Tenant] Deleting instance of class SStartEventInstance with id=1480853
2020-10-08 17:58:29.734 +0200 FINE: org.bonitasoft.engine.work.WorkExecutorServiceImpl THREAD_ID=197 | HOSTNAME=cprocess-demo | TENANT_ID=1 | Submitted work org.bonitasoft.engine.work.WorkDescriptor@6570a701[uuid=3e241df2-2299-42db-baaf-57d4630ad564,type=EXECUTE_FLOWNODE,tenantId=1,parameters={processDefinitionId=5376027906635258567, processInstanceId=71208, stateCanceling=false, stateExecuting=false, stateId=37, stateAborting=false, flowNodeInstanceId=1480854},retryCount=0,executionThreshold=<null>,executionCount=0,registrationDate=2020-10-08T15:58:29.731Z,abnormalExecutionDetected=false]
2020-10-08 17:58:29.735 +0200 FINE: org.bonitasoft.engine.work.WorkExecutorServiceImpl THREAD_ID=197 | HOSTNAME=cprocess-demo | TENANT_ID=1 | Completed work org.bonitasoft.engine.work.WorkDescriptor@52114fa[uuid=e4363d20-f765-4100-8ba0-c88ef128ee99,type=FINISH_FLOWNODE,tenantId=1,parameters={processDefinitionId=5376027906635258567, processInstanceId=71208, stateCanceling=false, stateExecuting=false, stateId=2, stateAborting=false, flowNodeInstanceId=1480853},retryCount=0,executionThreshold=<null>,executionCount=1,registrationDate=2020-10-08T15:58:29.725Z,abnormalExecutionDetected=false]
2020-10-08 17:58:29.757 +0200 FINE: org.bonitasoft.engine.persistence.TenantHibernatePersistenceService THREAD_ID=176 | HOSTNAME=cprocess-demo | [Tenant] Deleting instance of class SAutomaticTaskInstance with id=1480854
2020-10-08 17:58:29.759 +0200 FINE: org.bonitasoft.engine.persistence.TenantHibernatePersistenceService THREAD_ID=176 | HOSTNAME=cprocess-demo | [Tenant] Deleting instance of class SXMLObjectDataInstance with id=553617
2020-10-08 17:58:29.759 +0200 FINE: org.bonitasoft.engine.persistence.TenantHibernatePersistenceService THREAD_ID=176 | HOSTNAME=cprocess-demo | [Tenant] Deleting instance of class SXMLObjectDataInstance with id=553618
2020-10-08 17:58:29.759 +0200 FINE: org.bonitasoft.engine.persistence.TenantHibernatePersistenceService THREAD_ID=176 | HOSTNAME=cprocess-demo | [Tenant] Deleting instance of class SXMLObjectDataInstance with id=553619
2020-10-08 17:58:29.760 +0200 FINE: org.bonitasoft.engine.persistence.TenantHibernatePersistenceService THREAD_ID=176 | HOSTNAME=cprocess-demo | [Tenant] Deleting instance of class SLongTextDataInstance with id=553620
2020-10-08 17:58:29.760 +0200 FINE: org.bonitasoft.engine.persistence.TenantHibernatePersistenceService THREAD_ID=176 | HOSTNAME=cprocess-demo | [Tenant] Deleting instance of class SLongTextDataInstance with id=553621
2020-10-08 17:58:29.760 +0200 FINE: org.bonitasoft.engine.persistence.TenantHibernatePersistenceService THREAD_ID=176 | HOSTNAME=cprocess-demo | [Tenant] Deleting instance of class SLongTextDataInstance with id=553622
2020-10-08 17:58:29.760 +0200 FINE: org.bonitasoft.engine.persistence.TenantHibernatePersistenceService THREAD_ID=176 | HOSTNAME=cprocess-demo | [Tenant] Deleting instance of class SLongTextDataInstance with id=553623
2020-10-08 17:58:29.760 +0200 FINE: org.bonitasoft.engine.work.WorkExecutorServiceImpl THREAD_ID=197 | HOSTNAME=cprocess-demo | TENANT_ID=1 | Submitted work org.bonitasoft.engine.work.WorkDescriptor@7a190761[uuid=ac359a1e-2f37-4675-b142-350afa05a761,type=FINISH_FLOWNODE,tenantId=1,parameters={processDefinitionId=5376027906635258567, processInstanceId=71208, stateCanceling=false, stateExecuting=false, stateId=2, stateAborting=false, flowNodeInstanceId=1480854},retryCount=0,executionThreshold=<null>,executionCount=0,registrationDate=2020-10-08T15:58:29.744Z,abnormalExecutionDetected=false]
2020-10-08 17:58:29.760 +0200 FINE: org.bonitasoft.engine.persistence.TenantHibernatePersistenceService THREAD_ID=176 | HOSTNAME=cprocess-demo | [Tenant] Deleting instance of class SLongTextDataInstance with id=553624
2020-10-08 17:58:29.761 +0200 FINE: org.bonitasoft.engine.persistence.TenantHibernatePersistenceService THREAD_ID=176 | HOSTNAME=cprocess-demo | [Tenant] Deleting instance of class SLongTextDataInstance with id=553625
2020-10-08 17:58:29.761 +0200 FINE: org.bonitasoft.engine.work.WorkExecutorServiceImpl THREAD_ID=197 | HOSTNAME=cprocess-demo | TENANT_ID=1 | Completed work org.bonitasoft.engine.work.WorkDescriptor@6570a701[uuid=3e241df2-2299-42db-baaf-57d4630ad564,type=EXECUTE_FLOWNODE,tenantId=1,parameters={processDefinitionId=5376027906635258567, processInstanceId=71208, stateCanceling=false, stateExecuting=false, stateId=37, stateAborting=false, flowNodeInstanceId=1480854},retryCount=0,executionThreshold=<null>,executionCount=1,registrationDate=2020-10-08T15:58:29.731Z,abnormalExecutionDetected=false]
2020-10-08 17:58:29.764 +0200 FINE: org.bonitasoft.engine.persistence.TenantHibernatePersistenceService THREAD_ID=197 | HOSTNAME=cprocess-demo | [Tenant] Deleting instance of class SAutomaticTaskInstance with id=1480854
2020-10-08 17:58:29.766 +0200 FINE: org.bonitasoft.engine.persistence.TenantHibernatePersistenceService THREAD_ID=176 | HOSTNAME=cprocess-demo | [Tenant] Deleting instance of class SProcessInstance with id=71208
2020-10-08 17:58:29.766 +0200 FINE: org.bonitasoft.engine.persistence.TenantHibernatePersistenceService THREAD_ID=176 | HOSTNAME=cprocess-demo | [Tenant] Deleting instance of class SCallActivityInstance with id=1480852
2020-10-08 17:58:29.767 +0200 FINE: org.bonitasoft.engine.persistence.TenantHibernatePersistenceService THREAD_ID=176 | HOSTNAME=cprocess-demo | [Tenant] Deleting instance of class SXMLObjectDataInstance with id=551835
2020-10-08 17:58:29.767 +0200 FINE: org.bonitasoft.engine.persistence.TenantHibernatePersistenceService THREAD_ID=176 | HOSTNAME=cprocess-demo | [Tenant] Deleting instance of class SLongTextDataInstance with id=551836
2020-10-08 17:58:29.767 +0200 FINE: org.bonitasoft.engine.persistence.TenantHibernatePersistenceService THREAD_ID=176 | HOSTNAME=cprocess-demo | [Tenant] Deleting instance of class SLongTextDataInstance with id=551837
2020-10-08 17:58:29.768 +0200 FINE: org.bonitasoft.engine.persistence.TenantHibernatePersistenceService THREAD_ID=176 | HOSTNAME=cprocess-demo | [Tenant] Deleting instance of class SXMLObjectDataInstance with id=551838
2020-10-08 17:58:29.768 +0200 FINE: org.bonitasoft.engine.persistence.TenantHibernatePersistenceService THREAD_ID=176 | HOSTNAME=cprocess-demo | [Tenant] Deleting instance of class SBooleanDataInstance with id=551839
2020-10-08 17:58:29.768 +0200 FINE: org.bonitasoft.engine.persistence.TenantHibernatePersistenceService THREAD_ID=176 | HOSTNAME=cprocess-demo | [Tenant] Deleting instance of class SLongTextDataInstance with id=551840
2020-10-08 17:58:29.768 +0200 FINE: org.bonitasoft.engine.persistence.TenantHibernatePersistenceService THREAD_ID=176 | HOSTNAME=cprocess-demo | [Tenant] Deleting instance of class SLongTextDataInstance with id=551841
2020-10-08 17:58:29.768 +0200 FINE: org.bonitasoft.engine.persistence.TenantHibernatePersistenceService THREAD_ID=176 | HOSTNAME=cprocess-demo | [Tenant] Deleting instance of class SXMLObjectDataInstance with id=551842
2020-10-08 17:58:29.769 +0200 FINE: org.bonitasoft.engine.persistence.TenantHibernatePersistenceService THREAD_ID=176 | HOSTNAME=cprocess-demo | [Tenant] Deleting instance of class SXMLObjectDataInstance with id=551843
2020-10-08 17:58:29.769 +0200 FINE: org.bonitasoft.engine.persistence.TenantHibernatePersistenceService THREAD_ID=176 | HOSTNAME=cprocess-demo | [Tenant] Deleting instance of class SLongTextDataInstance with id=551844
2020-10-08 17:58:29.769 +0200 FINE: org.bonitasoft.engine.persistence.TenantHibernatePersistenceService THREAD_ID=176 | HOSTNAME=cprocess-demo | [Tenant] Deleting instance of class SLongTextDataInstance with id=551845
2020-10-08 17:58:29.769 +0200 FINE: org.bonitasoft.engine.persistence.TenantHibernatePersistenceService THREAD_ID=176 | HOSTNAME=cprocess-demo | [Tenant] Deleting instance of class SLongTextDataInstance with id=551846
2020-10-08 17:58:29.769 +0200 FINE: org.bonitasoft.engine.persistence.TenantHibernatePersistenceService THREAD_ID=176 | HOSTNAME=cprocess-demo | [Tenant] Deleting instance of class SXMLObjectDataInstance with id=551847
2020-10-08 17:58:29.770 +0200 FINE: org.bonitasoft.engine.persistence.TenantHibernatePersistenceService THREAD_ID=176 | HOSTNAME=cprocess-demo | [Tenant] Deleting instance of class SXMLObjectDataInstance with id=551848
2020-10-08 17:58:29.776 +0200 FINE: org.bonitasoft.engine.persistence.TenantHibernatePersistenceService THREAD_ID=176 | HOSTNAME=cprocess-demo | [Tenant] Deleting instance of class SMappedDocument with id=3681
2020-10-08 17:58:29.778 +0200 FINE: org.bonitasoft.engine.persistence.TenantHibernatePersistenceService THREAD_ID=176 | HOSTNAME=cprocess-demo | [Tenant] Deleting instance of class SSystemComment with id=800159
2020-10-08 17:58:29.778 +0200 FINE: org.bonitasoft.engine.persistence.TenantHibernatePersistenceService THREAD_ID=176 | HOSTNAME=cprocess-demo | [Tenant] Deleting instance of class SSystemComment with id=800163
2020-10-08 17:58:29.780 +0200 FINE: org.bonitasoft.engine.persistence.TenantHibernatePersistenceService THREAD_ID=176 | HOSTNAME=cprocess-demo | [Tenant] Deleting instance of class SProcessInstance with id=71089
2020-10-08 17:58:29.795 +0200 ERROR: org.hibernate.engine.transaction.synchronization.internal.SynchronizationCallbackCoordinatorNonTrackingImpl HHH000346: Error during managed flush [Batch update returned unexpected row count from update [0]; actual row count: 0; expected: 1]
2020-10-08 17:58:29.795 +0200 WARN: com.arjuna.ats.arjuna ARJUNA012125: TwoPhaseCoordinator.beforeCompletion - failed for SynchronizationImple< 0:ffff0a840feb:991f:5f7f2fe4:14561, org.hibernate.engine.transaction.synchronization.internal.RegisteredSynchronization@2ce9329f >
org.hibernate.StaleStateException: Batch update returned unexpected row count from update [0]; actual row count: 0; expected: 1
at org.hibernate.jdbc.Expectations$BasicExpectation.checkBatched(Expectations.java:81)
at org.hibernate.jdbc.Expectations$BasicExpectation.verifyOutcome(Expectations.java:73)
at org.hibernate.engine.jdbc.batch.internal.NonBatchingBatch.addToBatch(NonBatchingBatch.java:63)
at org.hibernate.persister.entity.AbstractEntityPersister.delete(AbstractEntityPersister.java:3400)
at org.hibernate.persister.entity.AbstractEntityPersister.delete(AbstractEntityPersister.java:3630)
at org.hibernate.action.internal.EntityDeleteAction.execute(EntityDeleteAction.java:114)
at org.hibernate.engine.spi.ActionQueue.executeActions(ActionQueue.java:465)
at org.hibernate.engine.spi.ActionQueue.executeActions(ActionQueue.java:351)
at org.hibernate.event.internal.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:350)
at org.hibernate.event.internal.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:56)
at org.hibernate.internal.SessionImpl.flush(SessionImpl.java:1258)
at org.hibernate.internal.SessionImpl.managedFlush(SessionImpl.java:425)
at org.hibernate.engine.transaction.synchronization.internal.SynchronizationCallbackCoordinatorNonTrackingImpl.beforeCompletion(SynchronizationCallbackCoordinatorNonTrackingImpl.java:114)
at org.hibernate.engine.transaction.synchronization.internal.RegisteredSynchronization.beforeCompletion(RegisteredSynchronization.java:50)
at com.arjuna.ats.internal.jta.resources.arjunacore.SynchronizationImple.beforeCompletion(SynchronizationImple.java:76)
at com.arjuna.ats.arjuna.coordinator.TwoPhaseCoordinator.beforeCompletion(TwoPhaseCoordinator.java:360)
at com.arjuna.ats.arjuna.coordinator.TwoPhaseCoordinator.end(TwoPhaseCoordinator.java:91)
at com.arjuna.ats.arjuna.AtomicAction.commit(AtomicAction.java:162)
at com.arjuna.ats.internal.jta.transaction.arjunacore.TransactionImple.commitAndDisassociate(TransactionImple.java:1288)
at com.arjuna.ats.internal.jta.transaction.arjunacore.BaseTransaction.commit(BaseTransaction.java:126)
at org.bonitasoft.engine.transaction.JTATransactionServiceImpl.complete(JTATransactionServiceImpl.java:176)
at org.bonitasoft.engine.transaction.JTATransactionServiceImpl.executeInTransaction(JTATransactionServiceImpl.java:284)
at org.bonitasoft.engine.execution.work.TxBonitaWork.work(TxBonitaWork.java:42)
at org.bonitasoft.engine.execution.work.LockProcessInstanceWork.work(LockProcessInstanceWork.java:63)
at org.bonitasoft.engine.execution.work.failurewrapping.TxInHandleFailureWrappingWork.work(TxInHandleFailureWrappingWork.java:41)
at org.bonitasoft.engine.execution.work.failurewrapping.TxInHandleFailureWrappingWork.work(TxInHandleFailureWrappingWork.java:41)
at org.bonitasoft.engine.execution.work.failurewrapping.TxInHandleFailureWrappingWork.work(TxInHandleFailureWrappingWork.java:41)
at org.bonitasoft.engine.execution.work.InSessionBonitaWork.work(InSessionBonitaWork.java:59)
at org.bonitasoft.engine.work.BonitaThreadPoolExecutor.lambda$submit$1(BonitaThreadPoolExecutor.java:132)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
2020-10-08 17:58:29.796 +0200 SEVERE: org.bonitasoft.engine.execution.work.InSessionBonitaWork THREAD_ID=197 | HOSTNAME=cprocess-demo | TENANT_ID=1 | The work [NotifyChildFinishedWork flowNodeInstanceId: 1480854] failed. The failure will be handled.
2020-10-08 17:58:29.797 +0200 SEVERE: org.bonitasoft.engine.execution.work.InSessionBonitaWork THREAD_ID=197 | HOSTNAME=cprocess-demo | TENANT_ID=1 | Unexpected error while executing work [NotifyChildFinishedWork flowNodeInstanceId: 1480854]. You may consider restarting the system. This will restart all works.
org.bonitasoft.engine.transaction.STransactionCommitException: javax.transaction.RollbackException: ARJUNA016053: Could not commit transaction.
at org.bonitasoft.engine.transaction.JTATransactionServiceImpl.complete(JTATransactionServiceImpl.java:180)
at org.bonitasoft.engine.transaction.JTATransactionServiceImpl.executeInTransaction(JTATransactionServiceImpl.java:284)
at org.bonitasoft.engine.execution.work.TxBonitaWork.work(TxBonitaWork.java:42)
at org.bonitasoft.engine.execution.work.LockProcessInstanceWork.work(LockProcessInstanceWork.java:63)
at org.bonitasoft.engine.execution.work.failurewrapping.TxInHandleFailureWrappingWork.work(TxInHandleFailureWrappingWork.java:41)
at org.bonitasoft.engine.execution.work.failurewrapping.TxInHandleFailureWrappingWork.work(TxInHandleFailureWrappingWork.java:41)
at org.bonitasoft.engine.execution.work.failurewrapping.TxInHandleFailureWrappingWork.work(TxInHandleFailureWrappingWork.java:41)
at org.bonitasoft.engine.execution.work.InSessionBonitaWork.work(InSessionBonitaWork.java:59)
at org.bonitasoft.engine.work.BonitaThreadPoolExecutor.lambda$submit$1(BonitaThreadPoolExecutor.java:132)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
Caused by: javax.transaction.RollbackException: ARJUNA016053: Could not commit transaction.
at com.arjuna.ats.internal.jta.transaction.arjunacore.TransactionImple.commitAndDisassociate(TransactionImple.java:1300)
at com.arjuna.ats.internal.jta.transaction.arjunacore.BaseTransaction.commit(BaseTransaction.java:126)
at org.bonitasoft.engine.transaction.JTATransactionServiceImpl.complete(JTATransactionServiceImpl.java:176)
... 11 more
Caused by: org.hibernate.StaleStateException: Batch update returned unexpected row count from update [0]; actual row count: 0; expected: 1
at org.hibernate.jdbc.Expectations$BasicExpectation.checkBatched(Expectations.java:81)
at org.hibernate.jdbc.Expectations$BasicExpectation.verifyOutcome(Expectations.java:73)
at org.hibernate.engine.jdbc.batch.internal.NonBatchingBatch.addToBatch(NonBatchingBatch.java:63)
at org.hibernate.persister.entity.AbstractEntityPersister.delete(AbstractEntityPersister.java:3400)
at org.hibernate.persister.entity.AbstractEntityPersister.delete(AbstractEntityPersister.java:3630)
at org.hibernate.action.internal.EntityDeleteAction.execute(EntityDeleteAction.java:114)
at org.hibernate.engine.spi.ActionQueue.executeActions(ActionQueue.java:465)
at org.hibernate.engine.spi.ActionQueue.executeActions(ActionQueue.java:351)
at org.hibernate.event.internal.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:350)
at org.hibernate.event.internal.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:56)
at org.hibernate.internal.SessionImpl.flush(SessionImpl.java:1258)
at org.hibernate.internal.SessionImpl.managedFlush(SessionImpl.java:425)
at org.hibernate.engine.transaction.synchronization.internal.SynchronizationCallbackCoordinatorNonTrackingImpl.beforeCompletion(SynchronizationCallbackCoordinatorNonTrackingImpl.java:114)
at org.hibernate.engine.transaction.synchronization.internal.RegisteredSynchronization.beforeCompletion(RegisteredSynchronization.java:50)
at com.arjuna.ats.internal.jta.resources.arjunacore.SynchronizationImple.beforeCompletion(SynchronizationImple.java:76)
at com.arjuna.ats.arjuna.coordinator.TwoPhaseCoordinator.beforeCompletion(TwoPhaseCoordinator.java:360)
at com.arjuna.ats.arjuna.coordinator.TwoPhaseCoordinator.end(TwoPhaseCoordinator.java:91)
at com.arjuna.ats.arjuna.AtomicAction.commit(AtomicAction.java:162)
at com.arjuna.ats.internal.jta.transaction.arjunacore.TransactionImple.commitAndDisassociate(TransactionImple.java:1288)
... 13 more
2020-10-08 17:58:29.797 +0200 SEVERE: org.bonitasoft.engine.execution.work.InSessionBonitaWork THREAD_ID=197 | HOSTNAME=cprocess-demo | TENANT_ID=1 | Unable to handle the failure.
org.bonitasoft.engine.core.process.instance.api.exceptions.SFlowNodeNotFoundException: Flow node instance with id 1480854 not found
at org.bonitasoft.engine.core.process.instance.impl.FlowNodeInstancesServiceImpl.getFlowNodeInstance(FlowNodeInstancesServiceImpl.java:228)
at org.bonitasoft.engine.execution.work.failurewrapping.FlowNodeDefinitionAndInstanceContextWork.setExceptionContext(FlowNodeDefinitionAndInstanceContextWork.java:51)
at org.bonitasoft.engine.execution.work.failurewrapping.TxInHandleFailureWrappingWork$1.call(TxInHandleFailureWrappingWork.java:54)
at org.bonitasoft.engine.execution.work.failurewrapping.TxInHandleFailureWrappingWork$1.call(TxInHandleFailureWrappingWork.java:50)
at org.bonitasoft.engine.transaction.JTATransactionServiceImpl.executeInTransaction(JTATransactionServiceImpl.java:274)
at org.bonitasoft.engine.execution.work.failurewrapping.TxInHandleFailureWrappingWork.handleFailure(TxInHandleFailureWrappingWork.java:50)
at org.bonitasoft.engine.execution.work.InSessionBonitaWork.handleFailureWrappedWork(InSessionBonitaWork.java:103)
at org.bonitasoft.engine.execution.work.InSessionBonitaWork.handleFailure(InSessionBonitaWork.java:79)
at org.bonitasoft.engine.work.WorkExecutorServiceImpl.onFailure(WorkExecutorServiceImpl.java:78)
at org.bonitasoft.engine.work.BonitaThreadPoolExecutor.lambda$submit$1(BonitaThreadPoolExecutor.java:136)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)