Unable to use assertThat in Test class to assert BPMN process

I am trying to write a simple Junit class for BPMN process using BPMNassertions such as assertThat.
But when i am trying to use assertThat it’s throws an error related to assertJ.
JavaNullPointerException

Can someone plz suggest best way to use camund BPMN assertions and best practice to write Junits for BPMN process.

Hi @kedarnath,

here is an example test class: ProcessJUnitTest.java.txt (1.7 KB)

It will require these dependencies:

    <dependency>
      <groupId>org.springframework.boot</groupId>
      <artifactId>spring-boot-starter-test</artifactId>
      <scope>test</scope>
    </dependency>
    <dependency>
      <groupId>org.camunda.bpm.assert</groupId>
      <artifactId>camunda-bpm-assert</artifactId>
      <version>6.0.0-SNAPSHOT</version>
      <scope>test</scope>
    </dependency>    
    <dependency>
      <groupId>org.camunda.bpm.extension</groupId>
      <artifactId>camunda-bpm-process-test-coverage</artifactId>
      <version>0.3.2</version>
      <scope>test</scope>
    </dependency>

Please be aware that findId() is not published with the camunda-bpm-assert library right now. I’ve cloned the repo and build it with mvn clean install locally to use the 6.0.0-SNAPSHOT version…

Hope this helps, Ingo

Thanks Ingo…

But for me when i am trying to run the tests using BPM assertThat then i am facing issue with next task not being processed (i mean completed).
Only first user task is completed and next user Task is not completed.

Hi @kedarnath,

could you please show your test code and the relevant output from the test run?

package com.chase.cpoc.camunda;

import static org.camunda.bpm.engine.test.assertions.bpmn.BpmnAwareTests.*;
import static org.camunda.bpm.engine.test.assertions.bpmn.BpmnAwareTests.assertThat;

import org.camunda.bpm.engine.RuntimeService;
import org.camunda.bpm.engine.TaskService;
import org.camunda.bpm.engine.runtime.Job;
import org.camunda.bpm.engine.runtime.ProcessInstance;
import org.camunda.bpm.engine.task.Task;
import org.camunda.bpm.engine.test.Deployment;
import org.camunda.bpm.engine.test.ProcessEngineRule;

import org.junit.Rule;
import org.junit.Test;

public class ParallelGatewayTest {

@Rule
public ProcessEngineRule processEngineRule = new ProcessEngineRule();

@Test
@Deployment(resources = {"SmartDisputeSystem.bpmn"})
public void shouldExecuteProcess() {
    RuntimeService runtimeService = processEngineRule.getRuntimeService();
    ProcessInstance processInstance = runtimeService.startProcessInstanceByKey("Smart_Dispute_System");
    TaskService taskService=processEngineRule.getTaskService();

    try {
        assertThat(processInstanceQuery().count()).isEqualTo(1);
        assertThat(task(processInstance)).isNotNull();
        
        Task task= (Task) taskService.createTaskQuery().processDefinitionKey("Smart_Dispute_System");
        System.out.println("Task Name = "+task.getName());
        taskService.claim(task.getId(),"admin");

        assertThat(runtimeService.getActiveActivityIds(processInstance.getId()).contains("Customer_Details"));
        complete(task("Customer_Details"), withVariables("Customer_Name","Kedar","Account_Number","1223455","Customer_DoB","01/01/2020"));

        
        assertThat(processInstance).isWaitingAtExactly("Validate_Cust_Details");
        
        complete(task("Validate_Cust_Details"), withVariables("Customer_SSN","2121212","Approved/Declined","true"));

        assertThat(processInstance).isWaitingAtExactly("Complaint_Details");
        
        complete(task("Complaint_Details"), withVariables("Dispute_Type", "Teller", "Dispute_Amount", "1000","Dispute_Status","Initial Review"));

        assertThat(processInstance).isWaitingAtExactly("Review_Teller_Dispute");
        complete(task("Review_Teller_Dispute"), withVariables("Dispute_Flag", "true"));

        assertThat(processInstance).isWaitingAtExactly("Resolve_Dispute");
        complete(task("Resolve_Dispute"));
        assertThat(processInstance).isEnded();
        
    } catch (Exception e) {
        System.out.println("error" + e.getStackTrace());
    }
}

}

plz find the logs

16:11:34.316 [main] DEBUG org.camunda.bpm.engine.test - annotation @Deployment creates deployment for ParallelGatewayTest.shouldExecuteProcess
16:11:34.322 [main] DEBUG org.camunda.bpm.engine.cmd - ENGINE-13005 Starting command -------------------- DeployCmd ----------------------
16:11:34.322 [main] DEBUG org.camunda.bpm.engine.cmd - ENGINE-13009 opening new command context
16:11:34.324 [main] DEBUG org.camunda.bpm.engine.cmd - ENGINE-13001 Creating new deployment
16:11:34.325 [main] DEBUG org.camunda.bpm.engine.cmd - ENGINE-13005 Starting command -------------------- GetNextIdBlockCmd ----------------------
16:11:34.325 [main] DEBUG org.camunda.bpm.engine.cmd - ENGINE-13009 opening new command context
16:11:34.325 [main] DEBUG org.apache.ibatis.transaction.jdbc.JdbcTransaction - Opening JDBC Connection
16:11:34.325 [main] DEBUG org.apache.ibatis.datasource.pooled.PooledDataSource - Checked out connection 1731977615 from pool.
16:11:34.325 [main] DEBUG org.apache.ibatis.transaction.jdbc.JdbcTransaction - Setting autocommit to false on JDBC Connection [conn0: url=jdbc:h2:mem:camunda user=SA]
16:11:34.325 [main] DEBUG org.camunda.bpm.engine.impl.persistence.entity.PropertyEntity.selectProperty - ==> Preparing: select * from ACT_GE_PROPERTY where NAME_ = ?
16:11:34.325 [main] DEBUG org.camunda.bpm.engine.impl.persistence.entity.PropertyEntity.selectProperty - ==> Parameters: next.dbid(String)
16:11:34.326 [main] DEBUG org.camunda.bpm.engine.impl.persistence.entity.PropertyEntity.selectProperty - <== Total: 1
16:11:34.326 [main] DEBUG org.camunda.bpm.engine.cmd - ENGINE-13011 closing existing command context
16:11:34.326 [main] DEBUG org.camunda.bpm.engine.persistence - ENGINE-03006 Cache state after flush: [
PERSISTENT PropertyEntity[next.dbid]
]
16:11:34.326 [main] DEBUG org.camunda.bpm.engine.persistence - ENGINE-03008 Flush Summary: [
UPDATE PropertyEntity[next.dbid]
]
16:11:34.326 [main] DEBUG org.camunda.bpm.engine.persistence - ENGINE-03009 SQL operation: ‘UPDATE’; Entity: ‘PropertyEntity[id=next.dbid]’
16:11:34.327 [main] DEBUG org.camunda.bpm.engine.impl.persistence.entity.PropertyEntity.updateProperty - ==> Preparing: update ACT_GE_PROPERTY SET REV_ = ?, VALUE_ = ? where NAME_ = ? and REV_ = ?
16:11:34.328 [main] DEBUG org.camunda.bpm.engine.impl.persistence.entity.PropertyEntity.updateProperty - ==> Parameters: 2(Integer), 101(String), next.dbid(String), 1(Integer)
16:11:34.329 [main] DEBUG org.camunda.bpm.engine.tx - ENGINE-11002 firing event committing…
16:11:34.329 [main] DEBUG org.camunda.bpm.engine.tx - ENGINE-11002 committing the persistence session…
16:11:34.329 [main] DEBUG org.apache.ibatis.transaction.jdbc.JdbcTransaction - Committing JDBC Connection [conn0: url=jdbc:h2:mem:camunda user=SA]
16:11:34.330 [main] DEBUG org.camunda.bpm.engine.tx - ENGINE-11002 firing event committed…
16:11:34.330 [main] DEBUG org.apache.ibatis.transaction.jdbc.JdbcTransaction - Resetting autocommit to true on JDBC Connection [conn0: url=jdbc:h2:mem:camunda user=SA]
16:11:34.330 [main] DEBUG org.apache.ibatis.transaction.jdbc.JdbcTransaction - Closing JDBC Connection [conn0: url=jdbc:h2:mem:camunda user=SA]
16:11:34.330 [main] DEBUG org.apache.ibatis.datasource.pooled.PooledDataSource - Returned connection 1731977615 to pool.
16:11:34.330 [main] DEBUG org.camunda.bpm.engine.cmd - ENGINE-13006 Finishing command -------------------- GetNextIdBlockCmd ----------------------
16:11:34.331 [main] DEBUG org.camunda.bpm.engine.cmd - ENGINE-13018 Processing deployment ParallelGatewayTest.shouldExecuteProcess
16:11:34.331 [main] DEBUG org.camunda.bpm.engine.cmd - ENGINE-13019 Processing resource SmartDisputeSystem.bpmn
16:11:34.401 [main] DEBUG org.camunda.bpm.engine.bpmn.parser - ENGINE-01001 Parsing element from type ‘process’ with id ‘Smart_Dispute_System’
16:11:34.401 [main] DEBUG org.camunda.bpm.engine.bpmn.parser - ENGINE-01001 Parsing element from type ‘activity’ with id ‘Start’
16:11:34.409 [main] DEBUG org.camunda.bpm.engine.bpmn.parser - ENGINE-01001 Parsing element from type ‘activity’ with id ‘ExclusiveGateway_04r18c7’
16:11:34.409 [main] DEBUG org.camunda.bpm.engine.bpmn.parser - ENGINE-01001 Parsing element from type ‘activity’ with id ‘ExclusiveGateway_0v1kzrv’
16:11:34.409 [main] DEBUG org.camunda.bpm.engine.bpmn.parser - ENGINE-01001 Parsing element from type ‘activity’ with id ‘Customer_Details’
16:11:34.431 [main] DEBUG org.camunda.bpm.engine.bpmn.parser - ENGINE-01001 Parsing element from type ‘activity’ with id ‘Validate_Cust_Details’
16:11:34.431 [main] DEBUG org.camunda.bpm.engine.bpmn.parser - ENGINE-01001 Parsing element from type ‘activity’ with id ‘Complaint_Details’
16:11:34.434 [main] DEBUG org.camunda.bpm.engine.bpmn.parser - ENGINE-01001 Parsing element from type ‘activity’ with id ‘Review_Teller_Dispute’
16:11:34.435 [main] DEBUG org.camunda.bpm.engine.bpmn.parser - ENGINE-01001 Parsing element from type ‘activity’ with id ‘Review_Dispute’
16:11:34.435 [main] DEBUG org.camunda.bpm.engine.bpmn.parser - ENGINE-01001 Parsing element from type ‘activity’ with id ‘ExclusiveGateway_08v2m2c’
16:11:34.435 [main] DEBUG org.camunda.bpm.engine.bpmn.parser - ENGINE-01001 Parsing element from type ‘activity’ with id ‘Resolve_Dispute’
16:11:34.435 [main] DEBUG org.camunda.bpm.engine.bpmn.parser - ENGINE-01001 Parsing element from type ‘activity’ with id ‘Task_12lela5’
16:11:34.436 [main] DEBUG org.camunda.bpm.engine.bpmn.parser - ENGINE-01001 Parsing element from type ‘activity’ with id ‘Task_119gke0’
16:11:34.436 [main] DEBUG org.camunda.bpm.engine.bpmn.parser - ENGINE-01001 Parsing element from type ‘activity’ with id ‘EndEvent_05tz74j’
16:11:34.437 [main] DEBUG org.camunda.bpm.engine.bpmn.parser - ENGINE-01001 Parsing element from type ‘activity’ with id ‘EndEvent_1op1q73’
16:11:34.437 [main] DEBUG org.camunda.bpm.engine.bpmn.parser - ENGINE-01001 Parsing element from type ‘activity’ with id ‘End’
16:11:34.449 [main] DEBUG org.apache.ibatis.transaction.jdbc.JdbcTransaction - Opening JDBC Connection
16:11:34.449 [main] DEBUG org.apache.ibatis.datasource.pooled.PooledDataSource - Checked out connection 1731977615 from pool.
16:11:34.449 [main] DEBUG org.apache.ibatis.transaction.jdbc.JdbcTransaction - Setting autocommit to false on JDBC Connection [conn0: url=jdbc:h2:mem:camunda user=SA]
16:11:34.450 [main] DEBUG org.camunda.bpm.engine.impl.persistence.entity.ProcessDefinitionEntity.selectLatestProcessDefinitionByKeyWithoutTenantId - ==> Preparing: select * from ACT_RE_PROCDEF RES where KEY_ = ? and TENANT_ID_ is null and VERSION_ = ( select max(VERSION_) from ACT_RE_PROCDEF where KEY_ = ? and TENANT_ID_ is null)
16:11:34.452 [main] DEBUG org.camunda.bpm.engine.impl.persistence.entity.ProcessDefinitionEntity.selectLatestProcessDefinitionByKeyWithoutTenantId - ==> Parameters: Smart_Dispute_System(String), Smart_Dispute_System(String)
16:11:34.452 [main] DEBUG org.camunda.bpm.engine.impl.persistence.entity.ProcessDefinitionEntity.selectLatestProcessDefinitionByKeyWithoutTenantId - <== Total: 0
16:11:34.488 [main] DEBUG org.camunda.bpm.engine.impl.persistence.entity.JobEntity.selectJobsByConfiguration - ==> Preparing: select * from ACT_RU_JOB where HANDLER_TYPE_ = ? and TENANT_ID_ is null and (HANDLER_CFG_ = ? or HANDLER_CFG_ = ? )
16:11:34.488 [main] DEBUG org.camunda.bpm.engine.impl.persistence.entity.JobEntity.selectJobsByConfiguration - ==> Parameters: timer-start-event(String), Smart_Dispute_System(String), Smart_Dispute_System$followUpJobCreated(String)
16:11:34.488 [main] DEBUG org.camunda.bpm.engine.impl.persistence.entity.JobEntity.selectJobsByConfiguration - <== Total: 0
16:11:34.489 [main] DEBUG org.camunda.bpm.engine.cmd - ENGINE-13018 Processing deployment ParallelGatewayTest.shouldExecuteProcess
16:11:34.489 [main] DEBUG org.camunda.bpm.engine.cmd - ENGINE-13019 Processing resource SmartDisputeSystem.bpmn
16:11:34.489 [main] DEBUG org.camunda.bpm.engine.cmd - ENGINE-13018 Processing deployment ParallelGatewayTest.shouldExecuteProcess
16:11:34.489 [main] DEBUG org.camunda.bpm.engine.cmd - ENGINE-13019 Processing resource SmartDisputeSystem.bpmn
16:11:34.489 [main] DEBUG org.camunda.bpm.engine.cmd - ENGINE-13018 Processing deployment ParallelGatewayTest.shouldExecuteProcess
16:11:34.489 [main] DEBUG org.camunda.bpm.engine.cmd - ENGINE-13019 Processing resource SmartDisputeSystem.bpmn
16:11:34.491 [main] DEBUG org.camunda.bpm.engine.cmd - ENGINE-13011 closing existing command context
16:11:34.491 [main] DEBUG org.camunda.bpm.engine.persistence - ENGINE-03006 Cache state after flush: [
PERSISTENT ProcessDefinitionEntity[Smart_Dispute_System:1:3]
PERSISTENT DeploymentEntity[1]
PERSISTENT ResourceEntity[2]
]
16:11:34.491 [main] DEBUG org.camunda.bpm.engine.persistence - ENGINE-03008 Flush Summary: [
INSERT DeploymentEntity[1]
INSERT ResourceEntity[2]
INSERT ProcessDefinitionEntity[Smart_Dispute_System:1:3]
]
16:11:34.491 [main] DEBUG org.camunda.bpm.engine.persistence - ENGINE-03009 SQL operation: ‘INSERT’; Entity: ‘DeploymentEntity[id=1]’
16:11:34.491 [main] DEBUG org.camunda.bpm.engine.impl.persistence.entity.DeploymentEntity.insertDeployment - ==> Preparing: insert into ACT_RE_DEPLOYMENT(ID_, NAME_, DEPLOY_TIME_, SOURCE_, TENANT_ID_) values(?, ?, ?, ?, ?)
16:11:34.492 [main] DEBUG org.camunda.bpm.engine.impl.persistence.entity.DeploymentEntity.insertDeployment - ==> Parameters: 1(String), ParallelGatewayTest.shouldExecuteProcess(String), 2020-02-14 16:11:34.324(Timestamp), null, null
16:11:34.492 [main] DEBUG org.camunda.bpm.engine.persistence - ENGINE-03009 SQL operation: ‘INSERT’; Entity: ‘ResourceEntity[id=2]’
16:11:34.492 [main] DEBUG org.camunda.bpm.engine.impl.persistence.entity.ResourceEntity.insertResource - ==> Preparing: insert into ACT_GE_BYTEARRAY( ID_, NAME_, BYTES_, DEPLOYMENT_ID_, GENERATED_, TENANT_ID_, TYPE_, CREATE_TIME_, REV_) values ( ?, ?, ?, ?, ?, ?, ?, ?, 1)
16:11:34.495 [main] DEBUG org.camunda.bpm.engine.impl.persistence.entity.ResourceEntity.insertResource - ==> Parameters: 2(String), SmartDisputeSystem.bpmn(String), java.io.ByteArrayInputStream@2c30b71f(ByteArrayInputStream), 1(String), false(Boolean), null, 1(Integer), 2020-02-14 16:11:34.331(Timestamp)
16:11:34.495 [main] DEBUG org.camunda.bpm.engine.persistence - ENGINE-03009 SQL operation: ‘INSERT’; Entity: ‘ProcessDefinitionEntity[id=Smart_Dispute_System:1:3]’
16:11:34.495 [main] DEBUG org.camunda.bpm.engine.impl.persistence.entity.ProcessDefinitionEntity.insertProcessDefinition - ==> Preparing: insert into ACT_RE_PROCDEF(ID_, CATEGORY_, NAME_, KEY_, VERSION_, DEPLOYMENT_ID_, RESOURCE_NAME_, DGRM_RESOURCE_NAME_, HAS_START_FORM_KEY_, SUSPENSION_STATE_, TENANT_ID_, VERSION_TAG_, HISTORY_TTL_, STARTABLE_, REV_) values (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, 1 )
16:11:34.496 [main] DEBUG org.camunda.bpm.engine.impl.persistence.entity.ProcessDefinitionEntity.insertProcessDefinition - ==> Parameters: Smart_Dispute_System:1:3(String), http://bpmn.io/schema/bpmn(String), Smart_Dispute_System(String), Smart_Dispute_System(String), 1(Integer), 1(String), SmartDisputeSystem.bpmn(String), null, false(Boolean), 1(Integer), null, v1.0(String), null, true(Boolean)
16:11:34.497 [main] DEBUG org.camunda.bpm.engine.tx - ENGINE-11002 firing event committing…
16:11:34.497 [main] DEBUG org.camunda.bpm.engine.tx - ENGINE-11002 committing the persistence session…
16:11:34.497 [main] DEBUG org.apache.ibatis.transaction.jdbc.JdbcTransaction - Committing JDBC Connection [conn0: url=jdbc:h2:mem:camunda user=SA]
16:11:34.497 [main] DEBUG org.camunda.bpm.engine.tx - ENGINE-11002 firing event committed…
16:11:34.497 [main] DEBUG org.apache.ibatis.transaction.jdbc.JdbcTransaction - Resetting autocommit to true on JDBC Connection [conn0: url=jdbc:h2:mem:camunda user=SA]
16:11:34.497 [main] DEBUG org.apache.ibatis.transaction.jdbc.JdbcTransaction - Closing JDBC Connection [conn0: url=jdbc:h2:mem:camunda user=SA]
16:11:34.497 [main] DEBUG org.apache.ibatis.datasource.pooled.PooledDataSource - Returned connection 1731977615 to pool.
16:11:34.497 [main] DEBUG org.camunda.bpm.engine.cmd - ENGINE-13006 Finishing command -------------------- DeployCmd ----------------------
16:11:34.501 [main] DEBUG org.camunda.bpm.engine.cmd - ENGINE-13005 Starting command -------------------- StartProcessInstanceCmd ----------------------
16:11:34.501 [main] DEBUG org.camunda.bpm.engine.cmd - ENGINE-13009 opening new command context
16:11:34.502 [main] DEBUG org.apache.ibatis.transaction.jdbc.JdbcTransaction - Opening JDBC Connection
16:11:34.502 [main] DEBUG org.apache.ibatis.datasource.pooled.PooledDataSource - Checked out connection 1731977615 from pool.
16:11:34.502 [main] DEBUG org.apache.ibatis.transaction.jdbc.JdbcTransaction - Setting autocommit to false on JDBC Connection [conn0: url=jdbc:h2:mem:camunda user=SA]
16:11:34.502 [main] DEBUG org.camunda.bpm.engine.impl.persistence.entity.ProcessDefinitionEntity.selectLatestProcessDefinitionByKey - ==> Preparing: select * from ACT_RE_PROCDEF p1 inner join (select KEY_, TENANT_ID_, max(VERSION_) as MAX_VERSION from ACT_RE_PROCDEF RES where KEY_ = ? group by TENANT_ID_, KEY_) p2 on p1.KEY_ = p2.KEY_ where p1.VERSION_ = p2.MAX_VERSION and (p1.TENANT_ID_ = p2.TENANT_ID_ or (p1.TENANT_ID_ is null and p2.TENANT_ID_ is null))
16:11:34.505 [main] DEBUG org.camunda.bpm.engine.impl.persistence.entity.ProcessDefinitionEntity.selectLatestProcessDefinitionByKey - ==> Parameters: Smart_Dispute_System(String)
16:11:34.511 [main] DEBUG org.camunda.bpm.engine.impl.persistence.entity.ProcessDefinitionEntity.selectLatestProcessDefinitionByKey - <== Total: 1
16:11:34.514 [main] DEBUG org.camunda.bpm.engine.persistence - ENGINE-03031 Initializing execution ‘ProcessInstance[4]’
16:11:34.514 [main] DEBUG org.camunda.bpm.engine.persistence - ENGINE-03032 Initializing timer declaration ‘ProcessInstance[4]’
16:11:34.515 [main] DEBUG org.camunda.bpm.application - ENGINE-07023 no target process application found for Execution[4], ProcessDefinition[Smart_Dispute_System:1:3], Deployment[1] Registrations[]
16:11:34.516 [main] DEBUG org.camunda.bpm.engine.context - ENGINE-16001 Executing atomic operation org.camunda.bpm.engine.impl.pvm.runtime.operation.PvmAtomicOperationProcessStart@654c1a54 on ProcessInstance[4]
16:11:34.519 [main] DEBUG org.camunda.bpm.engine.context - ENGINE-16001 Executing atomic operation org.camunda.bpm.engine.impl.pvm.runtime.operation.PvmAtomicOperationActivityStartCreateScope@6f815e7f on ProcessInstance[4]
16:11:34.520 [main] DEBUG org.camunda.bpm.engine.context - ENGINE-16001 Executing atomic operation org.camunda.bpm.engine.impl.pvm.runtime.operation.PvmAtomicOperationActivityStart@65e7f52a on ProcessInstance[4]
16:11:34.520 [main] DEBUG org.camunda.bpm.engine.pvm - ENGINE-20008 Enter activity instance ProcessInstance[4] parent: 4
16:11:34.520 [main] DEBUG org.camunda.bpm.engine.context - ENGINE-16001 Executing atomic operation org.camunda.bpm.engine.impl.pvm.runtime.operation.PvmAtomicOperationActivityStart@65e7f52a on ProcessInstance[4]
16:11:34.520 [main] DEBUG org.camunda.bpm.engine.context - ENGINE-16001 Executing atomic operation org.camunda.bpm.engine.impl.pvm.runtime.operation.PvmAtomicOperationActivityStart@65e7f52a on ProcessInstance[4]
16:11:34.520 [main] DEBUG org.camunda.bpm.engine.context - ENGINE-16001 Executing atomic operation org.camunda.bpm.engine.impl.pvm.runtime.operation.PvmAtomicOperationActivityExecute@107e5441 on ProcessInstance[4]
16:11:34.522 [main] DEBUG org.camunda.bpm.engine.pvm - ENGINE-20002 ProcessInstance[4] executed activity Activity(Start): org.camunda.bpm.engine.impl.bpmn.behavior.NoneStartEventActivityBehavior
16:11:34.522 [main] DEBUG org.camunda.bpm.engine.context - ENGINE-16001 Executing atomic operation org.camunda.bpm.engine.impl.pvm.runtime.operation.PvmAtomicOperationActivityLeave@56f2bbea on ProcessInstance[4]
16:11:34.522 [main] DEBUG org.camunda.bpm.engine.pvm - ENGINE-20003 Execution ProcessInstance[4] leaves activity instance Start:5
16:11:34.522 [main] DEBUG org.camunda.bpm.engine.bpmn.behavior - ENGINE-02002 Leaving activity ‘Start’.
16:11:34.522 [main] DEBUG org.camunda.bpm.engine.context - ENGINE-16001 Executing atomic operation org.camunda.bpm.engine.impl.pvm.runtime.operation.PvmAtomicOperationTransitionNotifyListenerEnd@78f9ed3e on ProcessInstance[4]
16:11:34.522 [main] DEBUG org.camunda.bpm.engine.context - ENGINE-16001 Executing atomic operation org.camunda.bpm.engine.impl.pvm.runtime.operation.PvmAtomicOperationTransitionNotifyListenerEnd@78f9ed3e on ProcessInstance[4]
16:11:34.522 [main] DEBUG org.camunda.bpm.engine.context - ENGINE-16001 Executing atomic operation org.camunda.bpm.engine.impl.pvm.runtime.operation.PvmAtomicOperationTransitionNotifyListenerEnd@78f9ed3e on ProcessInstance[4]
16:11:34.522 [main] DEBUG org.camunda.bpm.engine.pvm - ENGINE-20003 Execution ProcessInstance[4] leaves activity instance Start:5
16:11:34.522 [main] DEBUG org.camunda.bpm.engine.context - ENGINE-16001 Executing atomic operation org.camunda.bpm.engine.impl.pvm.runtime.operation.PvmAtomicOperationTransitionDestroyScope@48e7b3d2 on ProcessInstance[4]
16:11:34.522 [main] DEBUG org.camunda.bpm.engine.context - ENGINE-16001 Executing atomic operation org.camunda.bpm.engine.impl.pvm.runtime.operation.PvmAtomicOperationTransitionNotifyListenerTake@7f4037ed on ProcessInstance[4]
16:11:34.523 [main] DEBUG org.camunda.bpm.engine.context - ENGINE-16001 Executing atomic operation org.camunda.bpm.engine.impl.pvm.runtime.operation.PvmAtomicOperationTransitionCreateScope@110844f6 on ProcessInstance[4]
16:11:34.523 [main] DEBUG org.camunda.bpm.engine.persistence - ENGINE-03030 Child execution ‘ScopeExecution[6]’ created with parent ‘ProcessInstance[4]’.
16:11:34.523 [main] DEBUG org.camunda.bpm.engine.pvm - ENGINE-20010 Create scope: parent exection ProcessInstance[4] continues as ScopeExecution[6]
16:11:34.523 [main] DEBUG org.camunda.bpm.engine.persistence - ENGINE-03031 Initializing execution ‘ScopeExecution[6]’
16:11:34.523 [main] DEBUG org.camunda.bpm.application - ENGINE-07023 no target process application found for Execution[6], ProcessDefinition[Smart_Dispute_System:1:3], Deployment[1] Registrations[]
16:11:34.523 [main] DEBUG org.camunda.bpm.engine.context - ENGINE-16001 Executing atomic operation org.camunda.bpm.engine.impl.pvm.runtime.operation.PvmAtomicOperationTransitionNotifyListenerStart@6f89f665 on ScopeExecution[6]
16:11:34.523 [main] DEBUG org.camunda.bpm.engine.pvm - ENGINE-20008 Enter activity instance ScopeExecution[6] parent: 4
16:11:34.523 [main] DEBUG org.camunda.bpm.engine.persistence - ENGINE-03032 Initializing timer declaration ‘ScopeExecution[6]’
16:11:34.524 [main] DEBUG org.camunda.bpm.engine.context - ENGINE-16001 Executing atomic operation org.camunda.bpm.engine.impl.pvm.runtime.operation.PvmAtomicOperationTransitionNotifyListenerStart@6f89f665 on ScopeExecution[6]
16:11:34.524 [main] DEBUG org.camunda.bpm.engine.context - ENGINE-16001 Executing atomic operation org.camunda.bpm.engine.impl.pvm.runtime.operation.PvmAtomicOperationTransitionNotifyListenerStart@6f89f665 on ScopeExecution[6]
16:11:34.524 [main] DEBUG org.camunda.bpm.engine.context - ENGINE-16001 Executing atomic operation org.camunda.bpm.engine.impl.pvm.runtime.operation.PvmAtomicOperationActivityExecute@107e5441 on ScopeExecution[6]
16:11:34.524 [main] DEBUG org.camunda.bpm.engine.pvm - ENGINE-20002 ScopeExecution[6] executed activity Activity(Customer_Details): org.camunda.bpm.engine.impl.bpmn.behavior.UserTaskActivityBehavior
16:11:34.529 [main] DEBUG org.camunda.bpm.engine.cmd - ENGINE-13011 closing existing command context
16:11:34.529 [main] DEBUG org.camunda.bpm.engine.persistence - ENGINE-03006 Cache state after flush: [

PERSISTENT HistoricTaskInstanceEventEntity[8]
PERSISTENT ProcessDefinitionEntity[Smart_Dispute_System:1:3]
PERSISTENT ExecutionEntity[4]
PERSISTENT ExecutionEntity[6]
PERSISTENT HistoricActivityInstanceEventEntity[Customer_Details:7]
PERSISTENT HistoricActivityInstanceEventEntity[Start:5]
PERSISTENT HistoricProcessInstanceEventEntity[4]
PERSISTENT TaskEntity[8]
]
16:11:34.529 [main] DEBUG org.camunda.bpm.engine.persistence - ENGINE-03008 Flush Summary: [
INSERT HistoricTaskInstanceEventEntity[8]
INSERT HistoricProcessInstanceEventEntity[4]
INSERT HistoricActivityInstanceEventEntity[Customer_Details:7]
INSERT HistoricActivityInstanceEventEntity[Start:5]
INSERT ExecutionEntity[4]
INSERT ExecutionEntity[6]
INSERT TaskEntity[8]
]
16:11:34.529 [main] DEBUG org.camunda.bpm.engine.persistence - ENGINE-03009 SQL operation: ‘INSERT’; Entity: ‘HistoricTaskInstanceEventEntity[id=8]’
16:11:34.530 [main] DEBUG org.camunda.bpm.engine.impl.persistence.entity.HistoricTaskInstanceEntity.insertHistoricTaskInstanceEvent - ==> Preparing: insert into ACT_HI_TASKINST ( ID_, PROC_DEF_KEY_, PROC_DEF_ID_, ROOT_PROC_INST_ID_, PROC_INST_ID_, EXECUTION_ID_, CASE_DEF_KEY_, CASE_DEF_ID_, CASE_INST_ID_, CASE_EXECUTION_ID_, ACT_INST_ID_, NAME_, PARENT_TASK_ID_, DESCRIPTION_, OWNER_, ASSIGNEE_, START_TIME_, END_TIME_, DURATION_, DELETE_REASON_, TASK_DEF_KEY_, PRIORITY_, DUE_DATE_, FOLLOW_UP_DATE_, TENANT_ID_, REMOVAL_TIME_ ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ? )
16:11:34.530 [main] DEBUG org.camunda.bpm.engine.impl.persistence.entity.HistoricTaskInstanceEntity.insertHistoricTaskInstanceEvent - ==> Parameters: 8(String), Smart_Dispute_System(String), Smart_Dispute_System:1:3(String), 4(String), 4(String), 6(String), null, null, null, null, Customer_Details:7(String), Customer_Details(String), null, null, null, admin(String), 2020-02-14 16:11:34.528(Timestamp), null, null, null, Customer_Details(String), 50(Integer), null, null, null, null
16:11:34.531 [main] DEBUG org.camunda.bpm.engine.persistence - ENGINE-03009 SQL operation: ‘INSERT’; Entity: ‘HistoricProcessInstanceEventEntity[id=4]’
16:11:34.531 [main] DEBUG org.camunda.bpm.engine.impl.persistence.entity.HistoricProcessInstanceEntity.insertHistoricProcessInstanceEvent - ==> Preparing: insert into ACT_HI_PROCINST ( ID_, PROC_INST_ID_, BUSINESS_KEY_, PROC_DEF_KEY_, PROC_DEF_ID_, START_TIME_, END_TIME_, REMOVAL_TIME_, DURATION_, START_USER_ID_, START_ACT_ID_, END_ACT_ID_, SUPER_PROCESS_INSTANCE_ID_, ROOT_PROC_INST_ID_, SUPER_CASE_INSTANCE_ID_, CASE_INST_ID_, DELETE_REASON_, TENANT_ID_, STATE_ ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ? )
16:11:34.531 [main] DEBUG org.camunda.bpm.engine.impl.persistence.entity.HistoricProcessInstanceEntity.insertHistoricProcessInstanceEvent - ==> Parameters: 4(String), 4(String), null, Smart_Dispute_System(String), Smart_Dispute_System:1:3(String), 2020-02-14 16:11:34.514(Timestamp), null, null, null, null, Start(String), null, null, 4(String), null, null, null, null, ACTIVE(String)
16:11:34.531 [main] DEBUG org.camunda.bpm.engine.persistence - ENGINE-03009 SQL operation: ‘INSERT’; Entity: ‘HistoricActivityInstanceEventEntity[id=Customer_Details:7]’
16:11:34.531 [main] DEBUG org.camunda.bpm.engine.impl.persistence.entity.HistoricActivityInstanceEntity.insertHistoricActivityInstanceEvent - ==> Preparing: insert into ACT_HI_ACTINST ( ID_, PARENT_ACT_INST_ID_, PROC_DEF_KEY_, PROC_DEF_ID_, ROOT_PROC_INST_ID_, PROC_INST_ID_, EXECUTION_ID_, ACT_ID_, TASK_ID_, CALL_PROC_INST_ID_, CALL_CASE_INST_ID_, ACT_NAME_, ACT_TYPE_, ASSIGNEE_, START_TIME_, END_TIME_, DURATION_, ACT_INST_STATE_, SEQUENCE_COUNTER_, TENANT_ID_, REMOVAL_TIME_ ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ? )
16:11:34.531 [main] DEBUG org.camunda.bpm.engine.impl.persistence.entity.HistoricActivityInstanceEntity.insertHistoricActivityInstanceEvent - ==> Parameters: Customer_Details:7(String), 4(String), Smart_Dispute_System(String), Smart_Dispute_System:1:3(String), 4(String), 4(String), 6(String), Customer_Details(String), 8(String), null, null, Customer_Details(String), userTask(String), admin(String), 2020-02-14 16:11:34.524(Timestamp), null, null, 0(Integer), 3(Long), null, null
16:11:34.532 [main] DEBUG org.camunda.bpm.engine.persistence - ENGINE-03009 SQL operation: ‘INSERT’; Entity: ‘HistoricActivityInstanceEventEntity[id=Start:5]’
16:11:34.532 [main] DEBUG org.camunda.bpm.engine.impl.persistence.entity.HistoricActivityInstanceEntity.insertHistoricActivityInstanceEvent - ==> Parameters: Start:5(String), 4(String), Smart_Dispute_System(String), Smart_Dispute_System:1:3(String), 4(String), 4(String), 4(String), Start(String), null, null, null, Start(String), startEvent(String), null, 2020-02-14 16:11:34.52(Timestamp), 2020-02-14 16:11:34.522(Timestamp), 2(Long), 4(Integer), 1(Long), null, null
16:11:34.532 [main] DEBUG org.camunda.bpm.engine.persistence - ENGINE-03009 SQL operation: ‘INSERT’; Entity: ‘ExecutionEntity[id=4]’
16:11:34.532 [main] DEBUG org.camunda.bpm.engine.impl.persistence.entity.ExecutionEntity.insertExecution - ==> Preparing: insert into ACT_RU_EXECUTION ( ID_, ROOT_PROC_INST_ID_, PROC_INST_ID_, BUSINESS_KEY_, PROC_DEF_ID_, ACT_ID_, ACT_INST_ID_, IS_ACTIVE_, IS_CONCURRENT_, IS_SCOPE_, IS_EVENT_SCOPE_, PARENT_ID_, SUPER_EXEC_, SUPER_CASE_EXEC_, CASE_INST_ID_, SUSPENSION_STATE_, CACHED_ENT_STATE_, SEQUENCE_COUNTER_, TENANT_ID_, REV_ ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, 1 )
16:11:34.533 [main] DEBUG org.camunda.bpm.engine.impl.persistence.entity.ExecutionEntity.insertExecution - ==> Parameters: 4(String), 4(String), 4(String), null, Smart_Dispute_System:1:3(String), null, 4(String), false(Boolean), false(Boolean), true(Boolean), false(Boolean), null, null, null, null, 1(Integer), 0(Integer), 2(Long), null
16:11:34.533 [main] DEBUG org.camunda.bpm.engine.persistence - ENGINE-03009 SQL operation: ‘INSERT’; Entity: ‘ExecutionEntity[id=6]’
16:11:34.533 [main] DEBUG org.camunda.bpm.engine.impl.persistence.entity.ExecutionEntity.insertExecution - ==> Parameters: 6(String), null, 4(String), null, Smart_Dispute_System:1:3(String), Customer_Details(String), Customer_Details:7(String), true(Boolean), false(Boolean), true(Boolean), false(Boolean), 4(String), null, null, null, 1(Integer), 2(Integer), 3(Long), null
16:11:34.533 [main] DEBUG org.camunda.bpm.engine.persistence - ENGINE-03009 SQL operation: ‘INSERT’; Entity: ‘TaskEntity[id=8]’
16:11:34.533 [main] DEBUG org.camunda.bpm.engine.impl.persistence.entity.TaskEntity.insertTask - ==> Preparing: insert into ACT_RU_TASK ( ID_, NAME_, PARENT_TASK_ID_, DESCRIPTION_, PRIORITY_, CREATE_TIME_, OWNER_, ASSIGNEE_, DELEGATION_, EXECUTION_ID_, PROC_INST_ID_, PROC_DEF_ID_, CASE_EXECUTION_ID_, CASE_INST_ID_, CASE_DEF_ID_, TASK_DEF_KEY_, DUE_DATE_, FOLLOW_UP_DATE_, SUSPENSION_STATE_, TENANT_ID_, REV_ ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, 1 )
16:11:34.534 [main] DEBUG org.camunda.bpm.engine.impl.persistence.entity.TaskEntity.insertTask - ==> Parameters: 8(String), Customer_Details(String), null, null, 50(Integer), 2020-02-14 16:11:34.525(Timestamp), null, admin(String), null, 6(String), 4(String), Smart_Dispute_System:1:3(String), null, null, null, Customer_Details(String), null, null, 1(Integer), null
16:11:34.535 [main] DEBUG org.camunda.bpm.engine.tx - ENGINE-11002 firing event committing…
16:11:34.535 [main] DEBUG org.camunda.bpm.engine.tx - ENGINE-11002 committing the persistence session…
16:11:34.535 [main] DEBUG org.apache.ibatis.transaction.jdbc.JdbcTransaction - Committing JDBC Connection [conn0: url=jdbc:h2:mem:camunda user=SA]
16:11:34.536 [main] DEBUG org.camunda.bpm.engine.tx - ENGINE-11002 firing event committed…
16:11:34.536 [main] DEBUG org.apache.ibatis.transaction.jdbc.JdbcTransaction - Resetting autocommit to true on JDBC Connection [conn0: url=jdbc:h2:mem:camunda user=SA]
16:11:34.536 [main] DEBUG org.apache.ibatis.transaction.jdbc.JdbcTransaction - Closing JDBC Connection [conn0: url=jdbc:h2:mem:camunda user=SA]
16:11:34.536 [main] DEBUG org.apache.ibatis.datasource.pooled.PooledDataSource - Returned connection 1731977615 to pool.
16:11:34.536 [main] DEBUG org.camunda.bpm.engine.cmd - ENGINE-13006 Finishing command -------------------- StartProcessInstanceCmd ----------------------
16:11:34.564 [main] DEBUG org.camunda.bpm.engine.cmd - ENGINE-13005 Starting command -------------------- ProcessInstanceQueryImpl ----------------------
16:11:34.564 [main] DEBUG org.camunda.bpm.engine.cmd - ENGINE-13009 opening new command context
16:11:34.587 [main] DEBUG org.apache.ibatis.transaction.jdbc.JdbcTransaction - Opening JDBC Connection
16:11:34.587 [main] DEBUG org.apache.ibatis.datasource.pooled.PooledDataSource - Checked out connection 1731977615 from pool.
16:11:34.587 [main] DEBUG org.apache.ibatis.transaction.jdbc.JdbcTransaction - Setting autocommit to false on JDBC Connection [conn0: url=jdbc:h2:mem:camunda user=SA]
16:11:34.587 [main] DEBUG org.camunda.bpm.engine.impl.persistence.entity.ExecutionEntity.selectProcessInstanceCountByQueryCriteria - ==> Preparing: select count(distinct RES.ID_ ) from ACT_RU_EXECUTION RES inner join ACT_RE_PROCDEF P on RES.PROC_DEF_ID_ = P.ID_ WHERE ( RES.PARENT_ID_ is null )
16:11:34.588 [main] DEBUG org.camunda.bpm.engine.impl.persistence.entity.ExecutionEntity.selectProcessInstanceCountByQueryCriteria - ==> Parameters:
16:11:34.589 [main] DEBUG org.camunda.bpm.engine.impl.persistence.entity.ExecutionEntity.selectProcessInstanceCountByQueryCriteria - <== Total: 1
16:11:34.589 [main] DEBUG org.camunda.bpm.engine.cmd - ENGINE-13011 closing existing command context
16:11:34.589 [main] DEBUG org.camunda.bpm.engine.persistence - ENGINE-03006 Cache state after flush: [
]
16:11:34.589 [main] DEBUG org.camunda.bpm.engine.tx - ENGINE-11002 firing event committing…
16:11:34.589 [main] DEBUG org.camunda.bpm.engine.tx - ENGINE-11002 committing the persistence session…
16:11:34.589 [main] DEBUG org.camunda.bpm.engine.tx - ENGINE-11002 firing event committed…
16:11:34.589 [main] DEBUG org.apache.ibatis.transaction.jdbc.JdbcTransaction - Resetting autocommit to true on JDBC Connection [conn0: url=jdbc:h2:mem:camunda user=SA]
16:11:34.589 [main] DEBUG org.apache.ibatis.transaction.jdbc.JdbcTransaction - Closing JDBC Connection [conn0: url=jdbc:h2:mem:camunda user=SA]
16:11:34.589 [main] DEBUG org.apache.ibatis.datasource.pooled.PooledDataSource - Returned connection 1731977615 to pool.
16:11:34.589 [main] DEBUG org.camunda.bpm.engine.cmd - ENGINE-13006 Finishing command -------------------- ProcessInstanceQueryImpl ----------------------
16:11:34.626 [main] DEBUG org.camunda.bpm.engine.cmd - ENGINE-13005 Starting command -------------------- TaskQueryImpl ----------------------
16:11:34.626 [main] DEBUG org.camunda.bpm.engine.cmd - ENGINE-13009 opening new command context
16:11:34.647 [main] DEBUG org.apache.ibatis.transaction.jdbc.JdbcTransaction - Opening JDBC Connection
16:11:34.647 [main] DEBUG org.apache.ibatis.datasource.pooled.PooledDataSource - Checked out connection 1731977615 from pool.
16:11:34.647 [main] DEBUG org.apache.ibatis.transaction.jdbc.JdbcTransaction - Setting autocommit to false on JDBC Connection [conn0: url=jdbc:h2:mem:camunda user=SA]
16:11:34.647 [main] DEBUG org.camunda.bpm.engine.impl.persistence.entity.TaskEntity.selectTaskByQueryCriteria - ==> Preparing: select distinct RES.REV_, RES.ID_, RES.NAME_, RES.PARENT_TASK_ID_, RES.DESCRIPTION_, RES.PRIORITY_, RES.CREATE_TIME_, RES.OWNER_, RES.ASSIGNEE_, RES.DELEGATION_, RES.EXECUTION_ID_, RES.PROC_INST_ID_, RES.PROC_DEF_ID_, RES.CASE_EXECUTION_ID_, RES.CASE_INST_ID_, RES.CASE_DEF_ID_, RES.TASK_DEF_KEY_, RES.DUE_DATE_, RES.FOLLOW_UP_DATE_, RES.SUSPENSION_STATE_, RES.TENANT_ID_ from ACT_RU_TASK RES WHERE ( 1 = 1 and RES.PROC_INST_ID_ = ? ) order by RES.ID_ asc LIMIT ? OFFSET ?
16:11:34.648 [main] DEBUG org.camunda.bpm.engine.impl.persistence.entity.TaskEntity.selectTaskByQueryCriteria - ==> Parameters: 4(String), 2147483647(Integer), 0(Integer)
16:11:34.648 [main] DEBUG org.camunda.bpm.engine.impl.persistence.entity.TaskEntity.selectTaskByQueryCriteria - <== Total: 1
16:11:34.648 [main] DEBUG org.camunda.bpm.engine.cmd - ENGINE-13011 closing existing command context
16:11:34.648 [main] DEBUG org.camunda.bpm.engine.persistence - ENGINE-03006 Cache state after flush: [
PERSISTENT TaskEntity[8]
]
16:11:34.648 [main] DEBUG org.camunda.bpm.engine.tx - ENGINE-11002 firing event committing…
16:11:34.648 [main] DEBUG org.camunda.bpm.engine.tx - ENGINE-11002 committing the persistence session…
16:11:34.648 [main] DEBUG org.camunda.bpm.engine.tx - ENGINE-11002 firing event committed…
16:11:34.649 [main] DEBUG org.apache.ibatis.transaction.jdbc.JdbcTransaction - Resetting autocommit to true on JDBC Connection [conn0: url=jdbc:h2:mem:camunda user=SA]
16:11:34.649 [main] DEBUG org.apache.ibatis.transaction.jdbc.JdbcTransaction - Closing JDBC Connection [conn0: url=jdbc:h2:mem:camunda user=SA]
16:11:34.649 [main] DEBUG org.apache.ibatis.datasource.pooled.PooledDataSource - Returned connection 1731977615 to pool.
16:11:34.649 [main] DEBUG org.camunda.bpm.engine.cmd - ENGINE-13006 Finishing command -------------------- TaskQueryImpl ----------------------
error[Ljava.lang.StackTraceElement;@17ca8b92
16:11:34.650 [main] DEBUG org.camunda.bpm.engine.test - annotation @Deployment deletes deployment for ParallelGatewayTest.shouldExecuteProcess
16:11:34.651 [main] DEBUG org.camunda.bpm.engine.cmd - ENGINE-13005 Starting command -------------------- DeleteDeploymentCmd ----------------------
16:11:34.651 [main] DEBUG org.camunda.bpm.engine.cmd - ENGINE-13009 opening new command context
16:11:34.651 [main] DEBUG org.apache.ibatis.transaction.jdbc.JdbcTransaction - Opening JDBC Connection
16:11:34.651 [main] DEBUG org.apache.ibatis.datasource.pooled.PooledDataSource - Checked out connection 1731977615 from pool.
16:11:34.651 [main] DEBUG org.apache.ibatis.transaction.jdbc.JdbcTransaction - Setting autocommit to false on JDBC Connection [conn0: url=jdbc:h2:mem:camunda user=SA]
16:11:34.651 [main] DEBUG org.camunda.bpm.engine.impl.persistence.entity.ProcessDefinitionEntity.selectProcessDefinitionByDeploymentId - ==> Preparing: select * from ACT_RE_PROCDEF where DEPLOYMENT_ID_ = ?
16:11:34.651 [main] DEBUG org.camunda.bpm.engine.impl.persistence.entity.ProcessDefinitionEntity.selectProcessDefinitionByDeploymentId - ==> Parameters: 1(String)
16:11:34.652 [main] DEBUG org.camunda.bpm.engine.impl.persistence.entity.ProcessDefinitionEntity.selectProcessDefinitionByDeploymentId - <== Total: 1
16:11:34.652 [main] DEBUG org.camunda.bpm.engine.impl.persistence.entity.ExecutionEntity.selectProcessInstanceIdsByProcessDefinitionId - ==> Preparing: select ID_ from ACT_RU_EXECUTION where PROC_DEF_ID_ = ? and PARENT_ID_ is null
16:11:34.652 [main] DEBUG org.camunda.bpm.engine.impl.persistence.entity.ExecutionEntity.selectProcessInstanceIdsByProcessDefinitionId - ==> Parameters: Smart_Dispute_System:1:3(String)
16:11:34.653 [main] DEBUG org.camunda.bpm.engine.impl.persistence.entity.ExecutionEntity.selectProcessInstanceIdsByProcessDefinitionId - <== Total: 1
16:11:34.653 [main] DEBUG org.camunda.bpm.engine.impl.persistence.entity.ExecutionEntity.selectExecution - ==> Preparing: select * from ACT_RU_EXECUTION where ID_ = ?
16:11:34.653 [main] DEBUG org.camunda.bpm.engine.impl.persistence.entity.ExecutionEntity.selectExecution - ==> Parameters: 4(String)
16:11:34.654 [main] DEBUG org.camunda.bpm.engine.impl.persistence.entity.ExecutionEntity.selectExecution - <== Total: 1
16:11:34.657 [main] DEBUG org.camunda.bpm.engine.impl.persistence.entity.TaskEntity.selectTaskByQueryCriteria - ==> Preparing: select distinct RES.REV_, RES.ID_, RES.NAME_, RES.PARENT_TASK_ID_, RES.DESCRIPTION_, RES.PRIORITY_, RES.CREATE_TIME_, RES.OWNER_, RES.ASSIGNEE_, RES.DELEGATION_, RES.EXECUTION_ID_, RES.PROC_INST_ID_, RES.PROC_DEF_ID_, RES.CASE_EXECUTION_ID_, RES.CASE_INST_ID_, RES.CASE_DEF_ID_, RES.TASK_DEF_KEY_, RES.DUE_DATE_, RES.FOLLOW_UP_DATE_, RES.SUSPENSION_STATE_, RES.TENANT_ID_ from ACT_RU_TASK RES WHERE ( 1 = 1 and RES.PROC_INST_ID_ = ? ) order by RES.ID_ asc LIMIT ? OFFSET ?
16:11:34.657 [main] DEBUG org.camunda.bpm.engine.impl.persistence.entity.TaskEntity.selectTaskByQueryCriteria - ==> Parameters: 4(String), 2147483647(Integer), 0(Integer)
16:11:34.659 [main] DEBUG org.camunda.bpm.engine.impl.persistence.entity.TaskEntity.selectTaskByQueryCriteria - <== Total: 1
16:11:34.660 [main] DEBUG org.camunda.bpm.engine.impl.persistence.entity.TaskEntity.selectTasksByParentTaskId - ==> Preparing: select * from ACT_RU_TASK where PARENT_TASK_ID_ = ?
16:11:34.660 [main] DEBUG org.camunda.bpm.engine.impl.persistence.entity.TaskEntity.selectTasksByParentTaskId - ==> Parameters: 8(String)
16:11:34.661 [main] DEBUG org.camunda.bpm.engine.impl.persistence.entity.TaskEntity.selectTasksByParentTaskId - <== Total: 0
16:11:34.661 [main] DEBUG org.camunda.bpm.engine.impl.persistence.entity.IdentityLinkEntity.selectIdentityLinksByTask - ==> Preparing: select * from ACT_RU_IDENTITYLINK where TASK_ID_ = ?
16:11:34.661 [main] DEBUG org.camunda.bpm.engine.impl.persistence.entity.IdentityLinkEntity.selectIdentityLinksByTask - ==> Parameters: 8(String)
16:11:34.661 [main] DEBUG org.camunda.bpm.engine.impl.persistence.entity.IdentityLinkEntity.selectIdentityLinksByTask - <== Total: 0
16:11:34.661 [main] DEBUG org.camunda.bpm.engine.impl.persistence.entity.VariableInstanceEntity.selectVariablesByTaskId - ==> Preparing: SELECT RES., ( case when RES.TASK_ID_ is not null and RES.EXECUTION_ID_ is not null then EXECUTION.ACT_INST_ID_ when RES.CASE_EXECUTION_ID_ is not null then RES.CASE_EXECUTION_ID_ when EXECUTION.PARENT_ID_ is null and RES.IS_CONCURRENT_LOCAL_ = 0 then EXECUTION.ID_ when EXECUTION.IS_SCOPE_ = 1 and EXECUTION.PARENT_ID_ is not null and RES.IS_CONCURRENT_LOCAL_ = 0 then PARENT_EXECUTION.ACT_INST_ID_ else EXECUTION.ACT_INST_ID_ end ) ACT_INST_ID_ FROM ACT_RU_VARIABLE RES LEFT JOIN ACT_RU_EXECUTION EXECUTION ON RES.EXECUTION_ID_ = EXECUTION.ID_ LEFT JOIN ACT_RU_EXECUTION PARENT_EXECUTION ON EXECUTION.PARENT_ID_ = PARENT_EXECUTION.ID_ WHERE TASK_ID_ = ?
16:11:34.662 [main] DEBUG org.camunda.bpm.engine.impl.persistence.entity.VariableInstanceEntity.selectVariablesByTaskId - ==> Parameters: 8(String)
16:11:34.663 [main] DEBUG org.camunda.bpm.engine.impl.persistence.entity.VariableInstanceEntity.selectVariablesByTaskId - <== Total: 0
16:11:34.663 [main] DEBUG org.camunda.bpm.engine.impl.persistence.entity.HistoricTaskInstanceEntity.selectHistoricTaskInstance - ==> Preparing: select * from ACT_HI_TASKINST where ID_ = ?
16:11:34.663 [main] DEBUG org.camunda.bpm.engine.impl.persistence.entity.HistoricTaskInstanceEntity.selectHistoricTaskInstance - ==> Parameters: 8(String)
16:11:34.663 [main] DEBUG org.camunda.bpm.engine.impl.persistence.entity.HistoricTaskInstanceEntity.selectHistoricTaskInstance - <== Total: 1
16:11:34.664 [main] DEBUG org.camunda.bpm.engine.impl.persistence.entity.HistoricDetailEntity.selectHistoricDetailsByTaskId - ==> Preparing: select * from ACT_HI_DETAIL where TASK_ID_ = ?
16:11:34.664 [main] DEBUG org.camunda.bpm.engine.impl.persistence.entity.HistoricDetailEntity.selectHistoricDetailsByTaskId - ==> Parameters: 8(String)
16:11:34.664 [main] DEBUG org.camunda.bpm.engine.impl.persistence.entity.HistoricDetailEntity.selectHistoricDetailsByTaskId - <== Total: 0
16:11:34.667 [main] DEBUG org.camunda.bpm.engine.impl.persistence.entity.HistoricVariableInstanceEntity.selectHistoricVariableInstanceByQueryCriteria - ==> Preparing: select distinct RES.
from ACT_HI_VARINST RES WHERE (RES.STATE_ != ‘DELETED’ or RES.STATE_ is null) and RES.TASK_ID_ in ( ? ) order by RES.ID_ asc LIMIT ? OFFSET ?
16:11:34.667 [main] DEBUG org.camunda.bpm.engine.impl.persistence.entity.HistoricVariableInstanceEntity.selectHistoricVariableInstanceByQueryCriteria - ==> Parameters: 8(String), 2147483647(Integer), 0(Integer)
16:11:34.667 [main] DEBUG org.camunda.bpm.engine.impl.persistence.entity.HistoricVariableInstanceEntity.selectHistoricVariableInstanceByQueryCriteria - <== Total: 0
16:11:34.668 [main] DEBUG org.camunda.bpm.engine.impl.persistence.entity.AttachmentEntity.selectAttachmentsByTaskId - ==> Preparing: select * from ACT_HI_ATTACHMENT where TASK_ID_ = ?
16:11:34.668 [main] DEBUG org.camunda.bpm.engine.impl.persistence.entity.AttachmentEntity.selectAttachmentsByTaskId - ==> Parameters: 8(String)
16:11:34.668 [main] DEBUG org.camunda.bpm.engine.impl.persistence.entity.AttachmentEntity.selectAttachmentsByTaskId - <== Total: 0
16:11:34.668 [main] DEBUG org.camunda.bpm.engine.impl.persistence.entity.ExecutionEntity.selectExecution - ==> Preparing: select * from ACT_RU_EXECUTION where ID_ = ?
16:11:34.669 [main] DEBUG org.camunda.bpm.engine.impl.persistence.entity.ExecutionEntity.selectExecution - ==> Parameters: 6(String)
16:11:34.669 [main] DEBUG org.camunda.bpm.engine.impl.persistence.entity.ExecutionEntity.selectExecution - <== Total: 1
16:11:34.669 [main] DEBUG org.camunda.bpm.engine.impl.persistence.entity.TaskEntity.selectTasksByExecutionId - ==> Preparing: select distinct T.* from ACT_RU_TASK T where T.EXECUTION_ID_ = ?
16:11:34.670 [main] DEBUG org.camunda.bpm.engine.impl.persistence.entity.TaskEntity.selectTasksByExecutionId - ==> Parameters: 6(String)
16:11:34.670 [main] DEBUG org.camunda.bpm.engine.impl.persistence.entity.TaskEntity.selectTasksByExecutionId - <== Total: 1
16:11:34.670 [main] DEBUG org.camunda.bpm.application - ENGINE-07023 no target process application found for Execution[4], ProcessDefinition[Smart_Dispute_System:1:3], Deployment[1] Registrations[]
16:11:34.670 [main] DEBUG org.camunda.bpm.engine.context - ENGINE-16001 Executing atomic operation org.camunda.bpm.engine.impl.pvm.runtime.operation.PvmAtomicOperationDeleteCascade@67207d8a on ProcessInstance[4]
16:11:34.670 [main] DEBUG org.camunda.bpm.engine.impl.persistence.entity.ExecutionEntity.selectExecutionsByProcessInstanceId - ==> Preparing: select * from ACT_RU_EXECUTION where PROC_INST_ID_ = ?
16:11:34.671 [main] DEBUG org.camunda.bpm.engine.impl.persistence.entity.ExecutionEntity.selectExecutionsByProcessInstanceId - ==> Parameters: 4(String)
16:11:34.672 [main] DEBUG org.camunda.bpm.engine.impl.persistence.entity.ExecutionEntity.selectExecutionsByProcessInstanceId - <== Total: 2
16:11:34.672 [main] DEBUG org.camunda.bpm.application - ENGINE-07023 no target process application found for Execution[6], ProcessDefinition[Smart_Dispute_System:1:3], Deployment[1] Registrations[]
16:11:34.672 [main] DEBUG org.camunda.bpm.engine.context - ENGINE-16001 Executing atomic operation org.camunda.bpm.engine.impl.pvm.runtime.operation.PvmAtomicOperationDeleteCascadeFireActivityEnd@7c2a69b4 on ScopeExecution[6]
16:11:34.672 [main] DEBUG org.camunda.bpm.engine.impl.persistence.entity.HistoricActivityInstanceEntity.selectHistoricActivityInstanceEvent - ==> Preparing: select HAI.START_TIME_ from ACT_HI_ACTINST HAI where HAI.ID_ = ?
16:11:34.673 [main] DEBUG org.camunda.bpm.engine.impl.persistence.entity.HistoricActivityInstanceEntity.selectHistoricActivityInstanceEvent - ==> Parameters: Customer_Details:7(String)
16:11:34.673 [main] DEBUG org.camunda.bpm.engine.impl.persistence.entity.HistoricActivityInstanceEntity.selectHistoricActivityInstanceEvent - <== Total: 1
16:11:34.673 [main] DEBUG org.camunda.bpm.engine.context - ENGINE-16001 Executing atomic operation org.camunda.bpm.engine.impl.pvm.runtime.operation.PvmAtomicOperationDeleteCascadeFireActivityEnd@7c2a69b4 on ScopeExecution[6]
16:11:34.673 [main] DEBUG org.camunda.bpm.engine.context - ENGINE-16001 Executing atomic operation org.camunda.bpm.engine.impl.pvm.runtime.operation.PvmAtomicOperationDeleteCascadeFireActivityEnd@7c2a69b4 on ScopeExecution[6]
16:11:34.673 [main] DEBUG org.camunda.bpm.engine.pvm - ENGINE-20005 Detroying scope ScopeExecution[6]
16:11:34.673 [main] DEBUG org.camunda.bpm.engine.context - ENGINE-16001 Executing atomic operation org.camunda.bpm.engine.impl.pvm.runtime.operation.PvmAtomicOperationDeleteCascadeFireActivityEnd@7c2a69b4 on ProcessInstance[4]
16:11:34.673 [main] DEBUG org.camunda.bpm.engine.impl.persistence.entity.HistoricProcessInstanceEntity.selectHistoricProcessInstanceEvent - ==> Preparing: select HPI.START_TIME_, HPI.REMOVAL_TIME_ from ACT_HI_PROCINST HPI where HPI.ID_ = ?
16:11:34.673 [main] DEBUG org.camunda.bpm.engine.impl.persistence.entity.HistoricProcessInstanceEntity.selectHistoricProcessInstanceEvent - ==> Parameters: 4(String)
16:11:34.674 [main] DEBUG org.camunda.bpm.engine.impl.persistence.entity.HistoricProcessInstanceEntity.selectHistoricProcessInstanceEvent - <== Total: 1
16:11:34.674 [main] DEBUG org.camunda.bpm.engine.context - ENGINE-16001 Executing atomic operation org.camunda.bpm.engine.impl.pvm.runtime.operation.PvmAtomicOperationDeleteCascadeFireActivityEnd@7c2a69b4 on ProcessInstance[4]
16:11:34.674 [main] DEBUG org.camunda.bpm.engine.pvm - ENGINE-20005 Detroying scope ProcessInstance[4]
16:11:34.678 [main] DEBUG org.camunda.bpm.engine.impl.persistence.entity.HistoricProcessInstanceEntity.selectHistoricProcessInstanceIdsByProcessDefinitionId - ==> Preparing: select ID_ from ACT_HI_PROCINST where PROC_DEF_ID_ = ?
16:11:34.679 [main] DEBUG org.camunda.bpm.engine.impl.persistence.entity.HistoricProcessInstanceEntity.selectHistoricProcessInstanceIdsByProcessDefinitionId - ==> Parameters: Smart_Dispute_System:1:3(String)
16:11:34.679 [main] DEBUG org.camunda.bpm.engine.impl.persistence.entity.HistoricProcessInstanceEntity.selectHistoricProcessInstanceIdsByProcessDefinitionId - <== Total: 1
16:11:34.682 [main] DEBUG org.camunda.bpm.engine.impl.persistence.entity.ProcessDefinitionEntity.selectLatestProcessDefinitionByKeyWithoutTenantId - ==> Preparing: select * from ACT_RE_PROCDEF RES where KEY_ = ? and TENANT_ID_ is null and VERSION_ = ( select max(VERSION_) from ACT_RE_PROCDEF where KEY_ = ? and TENANT_ID_ is null)
16:11:34.682 [main] DEBUG org.camunda.bpm.engine.impl.persistence.entity.ProcessDefinitionEntity.selectLatestProcessDefinitionByKeyWithoutTenantId - ==> Parameters: Smart_Dispute_System(String), Smart_Dispute_System(String)
16:11:34.683 [main] DEBUG org.camunda.bpm.engine.impl.persistence.entity.ProcessDefinitionEntity.selectLatestProcessDefinitionByKeyWithoutTenantId - <== Total: 1
16:11:34.683 [main] DEBUG org.camunda.bpm.engine.impl.persistence.entity.JobEntity.selectJobsByConfiguration - ==> Preparing: select * from ACT_RU_JOB where HANDLER_TYPE_ = ? and TENANT_ID_ is null and (HANDLER_CFG_ = ? or HANDLER_CFG_ = ? )
16:11:34.683 [main] DEBUG org.camunda.bpm.engine.impl.persistence.entity.JobEntity.selectJobsByConfiguration - ==> Parameters: timer-start-event(String), Smart_Dispute_System(String), Smart_Dispute_System$followUpJobCreated(String)
16:11:34.683 [main] DEBUG org.camunda.bpm.engine.impl.persistence.entity.JobEntity.selectJobsByConfiguration - <== Total: 0
16:11:34.684 [main] DEBUG org.camunda.bpm.engine.impl.persistence.entity.EventSubscriptionEntity.selectEventSubscriptionsByConfiguration - ==> Preparing: select * from ACT_RU_EVENT_SUBSCR where (EVENT_TYPE_ = ?) and (CONFIGURATION_ = ?)
16:11:34.684 [main] DEBUG org.camunda.bpm.engine.impl.persistence.entity.EventSubscriptionEntity.selectEventSubscriptionsByConfiguration - ==> Parameters: message(String), Smart_Dispute_System:1:3(String)
16:11:34.684 [main] DEBUG org.camunda.bpm.engine.impl.persistence.entity.EventSubscriptionEntity.selectEventSubscriptionsByConfiguration - <== Total: 0
16:11:34.684 [main] DEBUG org.camunda.bpm.engine.impl.persistence.entity.EventSubscriptionEntity.selectEventSubscriptionsByConfiguration - ==> Preparing: select * from ACT_RU_EVENT_SUBSCR where (EVENT_TYPE_ = ?) and (CONFIGURATION_ = ?)
16:11:34.684 [main] DEBUG org.camunda.bpm.engine.impl.persistence.entity.EventSubscriptionEntity.selectEventSubscriptionsByConfiguration - ==> Parameters: signal(String), Smart_Dispute_System:1:3(String)
16:11:34.684 [main] DEBUG org.camunda.bpm.engine.impl.persistence.entity.EventSubscriptionEntity.selectEventSubscriptionsByConfiguration - <== Total: 0
16:11:34.684 [main] DEBUG org.camunda.bpm.engine.impl.persistence.entity.EventSubscriptionEntity.selectEventSubscriptionsByConfiguration - ==> Preparing: select * from ACT_RU_EVENT_SUBSCR where (EVENT_TYPE_ = ?) and (CONFIGURATION_ = ?)
16:11:34.684 [main] DEBUG org.camunda.bpm.engine.impl.persistence.entity.EventSubscriptionEntity.selectEventSubscriptionsByConfiguration - ==> Parameters: conditional(String), Smart_Dispute_System:1:3(String)
16:11:34.685 [main] DEBUG org.camunda.bpm.engine.impl.persistence.entity.EventSubscriptionEntity.selectEventSubscriptionsByConfiguration - <== Total: 0
16:11:34.685 [main] DEBUG org.camunda.bpm.engine.impl.cmmn.entity.repository.CaseDefinitionEntity.selectCaseDefinitionByDeploymentId - ==> Preparing: select * from ACT_RE_CASE_DEF where DEPLOYMENT_ID_ = ?
16:11:34.685 [main] DEBUG org.camunda.bpm.engine.impl.cmmn.entity.repository.CaseDefinitionEntity.selectCaseDefinitionByDeploymentId - ==> Parameters: 1(String)
16:11:34.685 [main] DEBUG org.camunda.bpm.engine.impl.cmmn.entity.repository.CaseDefinitionEntity.selectCaseDefinitionByDeploymentId - <== Total: 0
16:11:34.686 [main] DEBUG org.camunda.bpm.engine.impl.dmn.entity.repository.DecisionDefinitionEntity.selectDecisionDefinitionByDeploymentId - ==> Preparing: select * from ACT_RE_DECISION_DEF where DEPLOYMENT_ID_ = ?