Cannot find execution with id

Hi,

i need some help to figure out what went wrong with our service. We are getting those errors all the time:
exceptionClass

org.camunda.bpm.engine.exception.NullValueException
exceptionMessage

Cannot find execution with id ‘435f31e2-7366-11e7-bb3c-005056a77100’ referenced from job 'MessageEntity[repeatnull, id=3bf439dc-7387-11e7-bbb0-005056a709ab, revision=35153, duedate=null, lockOwner=922fb7fe-08b2-4859-b156-806b051967db, lockExpirationTime=Wed Sep 20 10:22:09 CEST 2017, executionId=435f31e2-7366-11e7-bb3c-005056a77100, processInstanceId=435f31e2-7366-11e7-bb3c-005056a77100, isExclusive=false, retries=1, jobHandlerType=async-continuation, jobHandlerConfiguration=transition-notify-listener-take$SequenceFlow_1fji89n, exceptionByteArray=null, exceptionByteArrayId=166c4496-7388-11e7-bbb0-005056a709ab, exceptionMessage=Cannot find execution with id ‘435f31e2-7366-11e7-bb3c-005056a77100’ referenced from job 'MessageEntity[repeatnull, id=3bf439dc-7387-11e7-bbb0-005056a709ab, revision=7, duedate=null, lockOwner=17a4e7ab-9aa2-405f-a92b-6571ab463d70, lockExpirationTime=Fri Jul 28 13:31:58 CEST 2017, executionId=435f31e2-7366-11e7-bb3c-005056a77100, processInstanceId=435f31e2-7366-11e7-bb3c-005056a77100, isExclusive=false, retries=2, jobHandlerType=async-continuation, jobHandlerConfiguration=transition-notify-listener-take$SequenceFlow_1fji89n, exceptionByteArray=null, exceptionByteArrayId=166c4496-7388-11e7-bbb0-005056a709ab, exceptionMessage=Cannot find execution with id ‘435f, deploymentId=ffc5a797-72b5-11e7-824c-005056a77100]’: execution is null
exceptionStackTrace

sun.reflect.GeneratedConstructorAccessor117.newInstance(null:-1)
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
java.lang.reflect.Constructor.newInstance(Constructor.java:422)
org.camunda.bpm.engine.impl.util.EnsureUtil.generateException(EnsureUtil.java:334)
org.camunda.bpm.engine.impl.util.EnsureUtil.ensureNotNull(EnsureUtil.java:49)
org.camunda.bpm.engine.impl.util.EnsureUtil.ensureNotNull(EnsureUtil.java:44)
org.camunda.bpm.engine.impl.persistence.entity.JobEntity.execute(JobEntity.java:117)
org.camunda.bpm.engine.impl.cmd.ExecuteJobsCmd.execute(ExecuteJobsCmd.java:118)
org.camunda.bpm.engine.impl.interceptor.CommandExecutorImpl.execute(CommandExecutorImpl.java:24)
org.camunda.bpm.engine.impl.interceptor.CommandContextInterceptor.execute(CommandContextInterceptor.java:104)
org.camunda.bpm.engine.spring.SpringTransactionInterceptor$1.doInTransaction(SpringTransactionInterceptor.java:42)
org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:133)
org.camunda.bpm.engine.spring.SpringTransactionInterceptor.execute(SpringTransactionInterceptor.java:40)
org.camunda.bpm.engine.impl.interceptor.ProcessApplicationContextInterceptor.execute(ProcessApplicationContextInterceptor.java:66)
org.camunda.bpm.engine.impl.interceptor.LogInterceptor.execute(LogInterceptor.java:30)
org.camunda.bpm.engine.impl.jobexecutor.ExecuteJobsRunnable.executeJob(ExecuteJobsRunnable.java:79)
org.camunda.bpm.engine.impl.jobexecutor.ExecuteJobsRunnable.run(ExecuteJobsRunnable.java:57)
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
java.lang.Thread.run(Thread.java:745)
full_message

ENGINE-16004 Exception while closing command context: Cannot find execution with id ‘435f31e2-7366-11e7-bb3c-005056a77100’ referenced from job 'MessageEntity[repeatnull, id=3bf439dc-7387-11e7-bbb0-005056a709ab, revision=35153, duedate=null, lockOwner=922fb7fe-08b2-4859-b156-806b051967db, lockExpirationTime=Wed Sep 20 10:22:09 CEST 2017, executionId=435f31e2-7366-11e7-bb3c-005056a77100, processInstanceId=435f31e2-7366-11e7-bb3c-005056a77100, isExclusive=false, retries=1, jobHandlerType=async-continuation, jobHandlerConfiguration=transition-notify-listener-take$SequenceFlow_1fji89n, exceptionByteArray=null, exceptionByteArrayId=166c4496-7388-11e7-bbb0-005056a709ab, exceptionMessage=Cannot find execution with id ‘435f31e2-7366-11e7-bb3c-005056a77100’ referenced from job 'MessageEntity[repeatnull, id=3bf439dc-7387-11e7-bbb0-005056a709ab, revision=7, duedate=null, lockOwner=17a4e7ab-9aa2-405f-a92b-6571ab463d70, lockExpirationTime=Fri Jul 28 13:31:58 CEST 2017, executionId=435f31e2-7366-11e7-bb3c-005056a77100, processInstanceId=435f31e2-7366-11e7-bb3c-005056a77100, isExclusive=false, retries=2, jobHandlerType=async-continuation, jobHandlerConfiguration=transition-notify-listener-take$SequenceFlow_1fji89n, exceptionByteArray=null, exceptionByteArrayId=166c4496-7388-11e7-bbb0-005056a709ab, exceptionMessage=Cannot find execution with id ‘435f, deploymentId=ffc5a797-72b5-11e7-824c-005056a77100]’: execution is null
level

3
loggerName

org.camunda.bpm.engine.context
message

ENGINE-16004 Exception while closing command context: Cannot find execution with id ‘435f31e2-7366-11e7-bb3c-005056a77100’ referenced from job 'MessageEntity[repeatnull, id=3bf439dc-7387-11e7-bbb0-005056a709ab, revision=35153, duedate=null, lockOwner=922fb7fe-08b2-4859-b156-806b051967db, lockExpirationTime=Wed Sep 20 10:22:09 CEST 2017, executionId=435f31e2-7366-11e7-bb3c-005056a77100, processInstanceId=435f31e2-7366-11e7-bb3c-005056a77100, isExclusive=false, retries=1, jobHandlerType=async-continuation, jobHandlerConfiguration=transition-notify-listener-take$SequenceFlow_1fji89n, exceptionByteArray=null, exceptionByteArrayId=166c4496-7388-11e7-bbb0-005056a709ab, exceptionMessage=Cannot find execution with id ‘435f31e2-7366-11e7-bb3c-005056a77100’ referenced from job 'MessageEntity[repeatnull, id=3bf439dc-7387-11e7-bbb0-005056a709ab, revision=7, duedate=null, lockOwner=17a4e7ab-9aa2-405f-a92b-6571ab463d70, lockExpirationTime=Fri Jul 28 13:31:58 CEST 2017, executionId=435f31e2-7366-11e7-bb3c-005056a77100, processInstanceId=435f31e2-7366-11e7-bb3c-005056a77100, isExclusive=false, retries=2, jobHandlerType=async-continuation, jobHandlerConfiguration=transition-notify-listener-take$SequenceFlow_1fji89n, exceptionByteArray=null, exceptionByteArrayId=166c4496-7388-11e7-bbb0-005056a709ab, exceptionMessage=Cannot find execution with id ‘435f, deploymentId=ffc5a797-72b5-11e7-824c-005056a77100]’: execution is null
profile

prod
source

sourceClassName

org.camunda.commons.logging.BaseLogger
sourceFileName

BaseLogger.java
sourceLineNumber

156
sourceMethodName

logError
threadName

taskExecutor-4
timestamp

2017-09-20T08:20:14.246Z

We are using camunda springboot starter in version 1.3.0. We are running 2 Spring boot Instances with camunda engine inside. There is another monitoring tool which does some api requests on failed taks and so on.

Any ideas on that topic?

Thanks in advance.

Hi @maddilli16,

Could you please provide process example and code snippet how to reproduce your scenario.

Best regards,
Yana