<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Null Issues When Under Heavy Throughput in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/null-issues-when-under-heavy-throughput/m-p/198795#M151925</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hey Tijs,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for responding. I think the issue may be related to having a process instance that spawns many child process instances.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am not sure which table to look into to find the correct job. In regards to the multitude of &amp;lt;code&amp;gt;activitiy or FailedJobRetryTimerCycleValue is null&amp;lt;/code&amp;gt; messages, if I do a grep on a job execution in question, I get something like this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;code&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;dev/log/test.log.4:11:59:02,648 [pool-1-thread-2] DEBUG org.activiti.engine.impl.cmd.ExecuteAsyncJobCmd&amp;nbsp; - Executing async job d7e16b4e-0ed7-11e5-bd3b-3417ebc8228a&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;dev/log/test.log.4:11:59:02,531 [pool-1-thread-2] DEBUG org.activiti.engine.impl.cmd.LockExclusiveJobCmd&amp;nbsp; - Executing lock exclusive job d7e16b4e-0ed7-11e5-bd3b-3417ebc8228a d7e16b48-0ed7-11e5-bd3b-3417ebc8228a&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;dev/log/test.log.3:11:59:26,315 [pool-1-thread-2] DEBUG org.activiti.engine.impl.db.DbSqlSession&amp;nbsp; -&amp;nbsp;&amp;nbsp; delete JobEntity [id=d7e16b4e-0ed7-11e5-bd3b-3417ebc8228a]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;dev/log/test.log.2:11:59:38,931 [pool-1-thread-2] DEBUG org.activiti.engine.impl.cmd.UnlockExclusiveJobCmd&amp;nbsp; - Unlocking exclusive job d7e16b4e-0ed7-11e5-bd3b-3417ebc8228a&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;dev/log/test.log.2:11:59:38,931 [pool-1-thread-2] DEBUG org.activiti.engine.impl.asyncexecutor.ExecuteAsyncRunnable&amp;nbsp; - Optimistic locking exception during job execution. If you have multiple async executors running against the same database, this exception means that this thread tried to acquire an exclusive job, which already was changed by another async executor thread.This is expected behavior in a clustered environment. You can ignore this message if you indeed have multiple job executor threads running against the same database. Exception message: JobEntity [id=d7e16b4e-0ed7-11e5-bd3b-3417ebc8228a] was updated by another transaction concurrently&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;dev/log/test.log.2:11:59:38,930 [pool-1-thread-2] DEBUG org.activiti.engine.impl.persistence.entity.JobEntity.updateMessage&amp;nbsp; - ==&amp;gt; Parameters: 3(Integer), null, null, 2(Integer), ada5bc01-0ed9-11e5-bd3b-3417ebc8228a(String), JobEntity [id=d7e16b4e-0ed7-11e5-bd3b-3417ebc8228a] was updated by another transaction concurrently(String), 2015-06-09 11:59:48.868(Timestamp), d7e16b4e-0ed7-11e5-bd3b-3417ebc8228a(String), 2(Integer)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;dev/log/test.log.2:11:59:38,930 [pool-1-thread-2] DEBUG org.activiti.engine.impl.db.DbSqlSession&amp;nbsp; - updating: JobEntity [id=d7e16b4e-0ed7-11e5-bd3b-3417ebc8228a]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;dev/log/test.log.2:11:59:38,868 [pool-1-thread-2] DEBUG org.activiti.engine.impl.db.DbSqlSession&amp;nbsp; -&amp;nbsp;&amp;nbsp; update JobEntity [id=d7e16b4e-0ed7-11e5-bd3b-3417ebc8228a]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;dev/log/test.log.2:11:59:38,868 [pool-1-thread-2] ERROR org.activiti.engine.impl.cmd.JobRetryCmd&amp;nbsp; - activitiy or FailedJobRetryTimerCycleValue is null in job d7e16b4e-0ed7-11e5-bd3b-3417ebc8228a'. only decrementing retries.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;dev/log/test.log.2:11:59:38,805 [pool-1-thread-2] DEBUG org.activiti.engine.impl.persistence.entity.JobEntity.selectJob&amp;nbsp; - ==&amp;gt; Parameters: d7e16b4e-0ed7-11e5-bd3b-3417ebc8228a(String)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;dev/log/test.log.2:11:59:38,634 [pool-1-thread-2] DEBUG org.activiti.engine.impl.interceptor.CommandContext&amp;nbsp; - Optimistic locking exception : org.activiti.engine.ActivitiOptimisticLockingException: JobEntity [id=d7e16b4e-0ed7-11e5-bd3b-3417ebc8228a] was updated by another transaction concurrently&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;dev/log/test.log.2:11:59:38,587 [pool-1-thread-2] DEBUG org.activiti.engine.impl.persistence.entity.JobEntity.deleteMessage&amp;nbsp; - ==&amp;gt; Parameters: d7e16b4e-0ed7-11e5-bd3b-3417ebc8228a(String), 1(Integer)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;dev/log/test.log.2:11:59:38,587 [pool-1-thread-2] DEBUG org.activiti.engine.impl.db.DbSqlSession&amp;nbsp; - executing: delete JobEntity [id=d7e16b4e-0ed7-11e5-bd3b-3417ebc8228a]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;/code&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Does anything here jump out at you as being wrong? I have history set to full. Is there a database table in the history that I can look in to find this job? It does not seem to be in the act_ru_execution and/or act_ru_job table when I check.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am working on a unit test that exposes the bug. The big issue so far is that it takes quite a while for the issue to present itself (the retries are within a few minutes, but the null pointers are after almost an hour).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I will keep you posted. Thanks.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 09 Jun 2015 19:17:02 GMT</pubDate>
    <dc:creator>rallen1</dc:creator>
    <dc:date>2015-06-09T19:17:02Z</dc:date>
    <item>
      <title>Null Issues When Under Heavy Throughput</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/null-issues-when-under-heavy-throughput/m-p/198793#M151923</link>
      <description>Hello,I am running Activiti under a pretty heavy throughput load and noticing some issues pop up. Unfortunately, I could not come up with a unit test to nicely replicate the behaviour. The BPMNs I am working with are private and are rather large and complicated. Some things to note about what I am u</description>
      <pubDate>Wed, 03 Jun 2015 23:51:57 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/null-issues-when-under-heavy-throughput/m-p/198793#M151923</guid>
      <dc:creator>rallen1</dc:creator>
      <dc:date>2015-06-03T23:51:57Z</dc:date>
    </item>
    <item>
      <title>Re: Null Issues When Under Heavy Throughput</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/null-issues-when-under-heavy-throughput/m-p/198794#M151924</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;We are not aware of any concurrency issues in that area. Can you debug this a bit more and see what kind of execution this is failing for and what is stored in the database for this specific execution?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Best regards,&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Jun 2015 15:18:54 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/null-issues-when-under-heavy-throughput/m-p/198794#M151924</guid>
      <dc:creator>trademak</dc:creator>
      <dc:date>2015-06-05T15:18:54Z</dc:date>
    </item>
    <item>
      <title>Re: Null Issues When Under Heavy Throughput</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/null-issues-when-under-heavy-throughput/m-p/198795#M151925</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hey Tijs,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for responding. I think the issue may be related to having a process instance that spawns many child process instances.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am not sure which table to look into to find the correct job. In regards to the multitude of &amp;lt;code&amp;gt;activitiy or FailedJobRetryTimerCycleValue is null&amp;lt;/code&amp;gt; messages, if I do a grep on a job execution in question, I get something like this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;code&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;dev/log/test.log.4:11:59:02,648 [pool-1-thread-2] DEBUG org.activiti.engine.impl.cmd.ExecuteAsyncJobCmd&amp;nbsp; - Executing async job d7e16b4e-0ed7-11e5-bd3b-3417ebc8228a&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;dev/log/test.log.4:11:59:02,531 [pool-1-thread-2] DEBUG org.activiti.engine.impl.cmd.LockExclusiveJobCmd&amp;nbsp; - Executing lock exclusive job d7e16b4e-0ed7-11e5-bd3b-3417ebc8228a d7e16b48-0ed7-11e5-bd3b-3417ebc8228a&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;dev/log/test.log.3:11:59:26,315 [pool-1-thread-2] DEBUG org.activiti.engine.impl.db.DbSqlSession&amp;nbsp; -&amp;nbsp;&amp;nbsp; delete JobEntity [id=d7e16b4e-0ed7-11e5-bd3b-3417ebc8228a]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;dev/log/test.log.2:11:59:38,931 [pool-1-thread-2] DEBUG org.activiti.engine.impl.cmd.UnlockExclusiveJobCmd&amp;nbsp; - Unlocking exclusive job d7e16b4e-0ed7-11e5-bd3b-3417ebc8228a&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;dev/log/test.log.2:11:59:38,931 [pool-1-thread-2] DEBUG org.activiti.engine.impl.asyncexecutor.ExecuteAsyncRunnable&amp;nbsp; - Optimistic locking exception during job execution. If you have multiple async executors running against the same database, this exception means that this thread tried to acquire an exclusive job, which already was changed by another async executor thread.This is expected behavior in a clustered environment. You can ignore this message if you indeed have multiple job executor threads running against the same database. Exception message: JobEntity [id=d7e16b4e-0ed7-11e5-bd3b-3417ebc8228a] was updated by another transaction concurrently&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;dev/log/test.log.2:11:59:38,930 [pool-1-thread-2] DEBUG org.activiti.engine.impl.persistence.entity.JobEntity.updateMessage&amp;nbsp; - ==&amp;gt; Parameters: 3(Integer), null, null, 2(Integer), ada5bc01-0ed9-11e5-bd3b-3417ebc8228a(String), JobEntity [id=d7e16b4e-0ed7-11e5-bd3b-3417ebc8228a] was updated by another transaction concurrently(String), 2015-06-09 11:59:48.868(Timestamp), d7e16b4e-0ed7-11e5-bd3b-3417ebc8228a(String), 2(Integer)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;dev/log/test.log.2:11:59:38,930 [pool-1-thread-2] DEBUG org.activiti.engine.impl.db.DbSqlSession&amp;nbsp; - updating: JobEntity [id=d7e16b4e-0ed7-11e5-bd3b-3417ebc8228a]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;dev/log/test.log.2:11:59:38,868 [pool-1-thread-2] DEBUG org.activiti.engine.impl.db.DbSqlSession&amp;nbsp; -&amp;nbsp;&amp;nbsp; update JobEntity [id=d7e16b4e-0ed7-11e5-bd3b-3417ebc8228a]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;dev/log/test.log.2:11:59:38,868 [pool-1-thread-2] ERROR org.activiti.engine.impl.cmd.JobRetryCmd&amp;nbsp; - activitiy or FailedJobRetryTimerCycleValue is null in job d7e16b4e-0ed7-11e5-bd3b-3417ebc8228a'. only decrementing retries.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;dev/log/test.log.2:11:59:38,805 [pool-1-thread-2] DEBUG org.activiti.engine.impl.persistence.entity.JobEntity.selectJob&amp;nbsp; - ==&amp;gt; Parameters: d7e16b4e-0ed7-11e5-bd3b-3417ebc8228a(String)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;dev/log/test.log.2:11:59:38,634 [pool-1-thread-2] DEBUG org.activiti.engine.impl.interceptor.CommandContext&amp;nbsp; - Optimistic locking exception : org.activiti.engine.ActivitiOptimisticLockingException: JobEntity [id=d7e16b4e-0ed7-11e5-bd3b-3417ebc8228a] was updated by another transaction concurrently&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;dev/log/test.log.2:11:59:38,587 [pool-1-thread-2] DEBUG org.activiti.engine.impl.persistence.entity.JobEntity.deleteMessage&amp;nbsp; - ==&amp;gt; Parameters: d7e16b4e-0ed7-11e5-bd3b-3417ebc8228a(String), 1(Integer)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;dev/log/test.log.2:11:59:38,587 [pool-1-thread-2] DEBUG org.activiti.engine.impl.db.DbSqlSession&amp;nbsp; - executing: delete JobEntity [id=d7e16b4e-0ed7-11e5-bd3b-3417ebc8228a]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;/code&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Does anything here jump out at you as being wrong? I have history set to full. Is there a database table in the history that I can look in to find this job? It does not seem to be in the act_ru_execution and/or act_ru_job table when I check.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am working on a unit test that exposes the bug. The big issue so far is that it takes quite a while for the issue to present itself (the retries are within a few minutes, but the null pointers are after almost an hour).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I will keep you posted. Thanks.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Jun 2015 19:17:02 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/null-issues-when-under-heavy-throughput/m-p/198795#M151925</guid>
      <dc:creator>rallen1</dc:creator>
      <dc:date>2015-06-09T19:17:02Z</dc:date>
    </item>
    <item>
      <title>Re: Null Issues When Under Heavy Throughput</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/null-issues-when-under-heavy-throughput/m-p/198796#M151926</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hey Tijs,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I think the problem is actually related to the async="true". I have created a relatively minimal unit test where the same issue I have been having pops up.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The unit test can be found here:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://github.com/rwallen/activiti-unit-test-null-error" rel="nofollow noopener noreferrer"&gt;https://github.com/rwallen/activiti-unit-test-null-error&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I apologize that the unit test takes a while before the problem arises. I could not understand enough of the depths of Activiti's source code to figure out a way to expose it quicker. Resolving this issue is critical for whether Activiti will be able to meet my performance requirements. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any help is greatly appreciated and if there is any way I can help, please let me know.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Jun 2015 18:39:57 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/null-issues-when-under-heavy-throughput/m-p/198796#M151926</guid>
      <dc:creator>rallen1</dc:creator>
      <dc:date>2015-06-10T18:39:57Z</dc:date>
    </item>
    <item>
      <title>Re: Null Issues When Under Heavy Throughput</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/null-issues-when-under-heavy-throughput/m-p/198797#M151927</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I was able to get around this issue by using the JobExectutor with a single thread (Async with a single thread did not seem to work). Now that 5.18.0 has come out, I thought I would test the issue again with Async Executor, and I have found that it still pops up.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have delved in a bit more and I was hoping I could get some internal Activiti expertise on what I am seeing. In the log, thread 2 seems to execute a job, then deletes the execution. Six minutes later, thread 6 starts the job (the execution &lt;/SPAN&gt;&lt;EM&gt;05b35775-3d52-11e5-bdfd-3417ebc8228a&lt;/EM&gt;&lt;SPAN&gt; is no in the database). It then attempts to grab the execution at this line:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://github.com/Activiti/Activiti/blob/master/modules/activiti-engine/src/main/java/org/activiti/engine/impl/persistence/entity/JobEntity.java#L80" rel="nofollow noopener noreferrer"&gt;https://github.com/Activiti/Activiti/blob/master/modules/activiti-engine/src/main/java/org/activiti/engine/impl/persistence/entity/JobEntity.java#L80&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;but it comes back null, which it keeps passing down until there is a NullPointer when something tries to use the execution (CommandContext.performOperation).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Here is the full log:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;code&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;03:54:54,605 [pool-1-thread-2] DEBUG org.activiti.engine.impl.cmd.LockExclusiveJobCmd&amp;nbsp; - Executing lock exclusive job 05b5c880-3d52-11e5-bdfd-3417ebc8228a 05b35775-3d52-11e5-bdfd-3417ebc8228a&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;03:54:54,605 [pool-1-thread-2] DEBUG org.activiti.engine.impl.persistence.entity.ExecutionEntity.selectExecution&amp;nbsp; - ==&amp;gt; Parameters: 05b35775-3d52-11e5-bdfd-3417ebc8228a(String)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;03:54:54,620 [pool-1-thread-2] DEBUG org.activiti.engine.impl.cmd.ExecuteAsyncJobCmd&amp;nbsp; - Executing async job 05b5c880-3d52-11e5-bdfd-3417ebc8228a&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;03:54:54,620 [pool-1-thread-2] DEBUG org.activiti.engine.impl.persistence.entity.ExecutionEntity.selectExecution&amp;nbsp; - ==&amp;gt; Parameters: 05b35775-3d52-11e5-bdfd-3417ebc8228a(String)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;03:54:54,620 [pool-1-thread-2] DEBUG org.activiti.engine.impl.persistence.entity.ExecutionEntity.selectExecutionsByParentExecutionId&amp;nbsp; - ==&amp;gt; Parameters: 05b35775-3d52-11e5-bdfd-3417ebc8228a(String)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;03:54:54,620 [pool-1-thread-2] DEBUG org.activiti.engine.impl.pvm.runtime.AtomicOperationTransitionCreateScope&amp;nbsp; - create scope: parent ConcurrentExecution[05b35775-3d52-11e5-bdfd-3417ebc8228a] continues as execution ScopeExecution[51a9ce66-3d57-11e5-bdfd-3417ebc8228a]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;03:54:54,723 [pool-1-thread-2] DEBUG org.activiti.engine.impl.persistence.entity.VariableInstanceEntity.selectVariablesByExecutionId&amp;nbsp; - ==&amp;gt; Parameters: 05b35775-3d52-11e5-bdfd-3417ebc8228a(String)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;03:54:56,702 [pool-1-thread-2] DEBUG org.activiti.engine.impl.persistence.entity.HistoricActivityInstanceEntity.selectHistoricActivityInstancesByQueryCriteria&amp;nbsp; - ==&amp;gt; Parameters: 05b35775-3d52-11e5-bdfd-3417ebc8228a(String), 1(Integer), 0(Integer)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;03:54:56,702 [pool-1-thread-2] DEBUG org.activiti.engine.impl.pvm.runtime.AtomicOperationTransitionDestroyScope&amp;nbsp; - destroy scope: scoped ScopeExecution[51a9ce66-3d57-11e5-bdfd-3417ebc8228a] continues as parent scope ConcurrentExecution[05b35775-3d52-11e5-bdfd-3417ebc8228a]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;03:54:56,718 [pool-1-thread-2] DEBUG org.activiti.engine.impl.pvm.runtime.AtomicOperationTransitionNotifyListenerTake&amp;nbsp; - ConcurrentExecution[05b35775-3d52-11e5-bdfd-3417ebc8228a] takes transition (servicetask2)–flow13–&amp;gt;(parallelgateway1)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;03:54:56,718 [pool-1-thread-2] DEBUG org.activiti.engine.impl.pvm.runtime.AtomicOperationActivityExecute&amp;nbsp; - ConcurrentExecution[05b35775-3d52-11e5-bdfd-3417ebc8228a] executes Activity(parallelgateway1): org.activiti.engine.impl.bpmn.behavior.ParallelGatewayActivityBehavior&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;03:54:57,248 [pool-1-thread-2] DEBUG org.activiti.engine.impl.persistence.entity.ExecutionEntity&amp;nbsp; - inactive concurrent executions in 'Activity(parallelgateway1)': [ConcurrentExecution[05b35775-3d52-11e5-bdfd-3417ebc8228a], ConcurrentExecution[05b0e671-3d52-11e5-bdfd-3417ebc8228a], ConcurrentExecution[05b35773-3d52-11e5-bdfd-3417ebc8228a]]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;03:54:57,264 [pool-1-thread-2] DEBUG org.activiti.engine.impl.persistence.entity.ExecutionEntity&amp;nbsp; - pruning execution ConcurrentExecution[05b35775-3d52-11e5-bdfd-3417ebc8228a]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;03:54:57,264 [pool-1-thread-2] DEBUG org.activiti.engine.impl.persistence.entity.TaskEntity.selectTasksByExecutionId&amp;nbsp; - ==&amp;gt; Parameters: 05b35775-3d52-11e5-bdfd-3417ebc8228a(String)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;03:54:57,264 [pool-1-thread-2] DEBUG org.activiti.engine.impl.persistence.entity.JobEntity.selectJobsByExecutionId&amp;nbsp; - ==&amp;gt; Parameters: 05b35775-3d52-11e5-bdfd-3417ebc8228a(String)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;03:54:57,295 [pool-1-thread-2] DEBUG org.activiti.engine.impl.persistence.entity.EventSubscriptionEntity.selectEventSubscriptionsByExecution&amp;nbsp; - ==&amp;gt; Parameters: 05b35775-3d52-11e5-bdfd-3417ebc8228a(String)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;03:54:57,295 [pool-1-thread-2] DEBUG org.activiti.engine.impl.persistence.entity.IdentityLinkEntity.selectIdentityLinksByProcessInstance&amp;nbsp; - ==&amp;gt; Parameters: 05b35775-3d52-11e5-bdfd-3417ebc8228a(String)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;03:54:57,374 [pool-1-thread-2] DEBUG org.activiti.engine.impl.db.DbSqlSession&amp;nbsp; - skipping redundant delete: JobEntity [id=05b5c880-3d52-11e5-bdfd-3417ebc8228a]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;03:54:58,208 [pool-1-thread-2] DEBUG org.activiti.engine.impl.db.DbSqlSession&amp;nbsp; -&amp;nbsp;&amp;nbsp; delete JobEntity [id=05b5c880-3d52-11e5-bdfd-3417ebc8228a]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;03:54:58,208 [pool-1-thread-2] DEBUG org.activiti.engine.impl.db.DbSqlSession&amp;nbsp; -&amp;nbsp;&amp;nbsp; delete ConcurrentExecution[05b35775-3d52-11e5-bdfd-3417ebc8228a]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;03:54:58,544 [pool-1-thread-2] DEBUG org.activiti.engine.impl.persistence.entity.HistoricActivityInstanceEntity.bulkInsertHistoricActivityInstance&amp;nbsp; - ==&amp;gt; Parameters: 52e9efa8-3d57-11e5-bdfd-3417ebc8228a(String), my-process:1:0403f9af-3d52-11e5-bdfd-3417ebc8228a(String), 046a8379-3d52-11e5-bdfd-3417ebc8228a(String), 05b35775-3d52-11e5-bdfd-3417ebc8228a(String), parallelgateway1(String), null, null, Parallel Gateway(String), parallelGateway(String), null, 2015-08-07 15:54:56.718(Timestamp), 2015-08-07 15:54:57.264(Timestamp), 546(Long), (String), 534e08b3-3d57-11e5-bdfd-3417ebc8228a(String), my-process:1:0403f9af-3d52-11e5-bdfd-3417ebc8228a(String), 046a8379-3d52-11e5-bdfd-3417ebc8228a(String), 534e08b1-3d57-11e5-bdfd-3417ebc8228a(String), timerintermediatecatchevent1(String), null, null, TimerCatchEvent(String), intermediateTimer(String), null, 2015-08-07 15:54:57.374(Timestamp), null, null, (String)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;03:54:59,638 [pool-1-thread-2] DEBUG org.activiti.engine.impl.db.DbSqlSession&amp;nbsp; - executing: delete JobEntity [id=05b5c880-3d52-11e5-bdfd-3417ebc8228a]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;03:54:59,638 [pool-1-thread-2] DEBUG org.activiti.engine.impl.persistence.entity.JobEntity.deleteMessage&amp;nbsp; - ==&amp;gt; Parameters: 05b5c880-3d52-11e5-bdfd-3417ebc8228a(String), 4(Integer)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;03:54:59,685 [pool-1-thread-2] DEBUG org.activiti.engine.impl.db.DbSqlSession&amp;nbsp; - executing: delete ConcurrentExecution[05b35775-3d52-11e5-bdfd-3417ebc8228a]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;03:54:59,685 [pool-1-thread-2] DEBUG org.activiti.engine.impl.persistence.entity.ExecutionEntity.deleteExecution&amp;nbsp; - ==&amp;gt; Parameters: 05b35775-3d52-11e5-bdfd-3417ebc8228a(String), 1(Integer)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;03:54:59,857 [pool-1-thread-2] DEBUG org.activiti.engine.impl.cmd.UnlockExclusiveJobCmd&amp;nbsp; - Unlocking exclusive job 05b5c880-3d52-11e5-bdfd-3417ebc8228a&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;/code&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;(6 minutes later…)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;code&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;04:00:03,037 [pool-1-thread-6] DEBUG org.activiti.engine.impl.cmd.LockExclusiveJobCmd&amp;nbsp; - Executing lock exclusive job 05b5c880-3d52-11e5-bdfd-3417ebc8228a 05b35775-3d52-11e5-bdfd-3417ebc8228a&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;04:00:03,053 [pool-1-thread-6] DEBUG org.activiti.engine.impl.persistence.entity.ExecutionEntity.selectExecution&amp;nbsp; - ==&amp;gt; Parameters: 05b35775-3d52-11e5-bdfd-3417ebc8228a(String)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;04:00:03,100 [pool-1-thread-6] DEBUG org.activiti.engine.impl.cmd.ExecuteAsyncJobCmd&amp;nbsp; - Executing async job 05b5c880-3d52-11e5-bdfd-3417ebc8228a&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;04:00:03,100 [pool-1-thread-6] DEBUG org.activiti.engine.impl.persistence.entity.ExecutionEntity.selectExecution&amp;nbsp; - ==&amp;gt; Parameters: 05b35775-3d52-11e5-bdfd-3417ebc8228a(String)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;/code&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I guess I have some questions:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;OL style="list-style-type:decimal;"&gt;&lt;LI&gt;Are the JobEntity [id=05b5c880-3d52-11e5-bdfd-3417ebc8228a] and/or ConcurrentExecution[05b35775-3d52-11e5-bdfd-3417ebc8228a] actually being deleted?&lt;/LI&gt;&amp;nbsp; &lt;LI&gt;Can an Async Executor thread &lt;EM&gt;theoretically&lt;/EM&gt; attempt to work on an already deleted job and/or execution? Especially in the case where activiti:async=true? The Activiti User Guide mentioned that an activiti:async=true task will give "&lt;EM&gt;the local job executor a little hint that there is a new job&lt;/EM&gt;". Could it be related to this – an old job cached maybe?&lt;/LI&gt;&lt;/OL&gt;&lt;SPAN&gt;As always, I appreciate any and all help. Thank you.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 08 Aug 2015 00:36:16 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/null-issues-when-under-heavy-throughput/m-p/198797#M151927</guid>
      <dc:creator>rallen1</dc:creator>
      <dc:date>2015-08-08T00:36:16Z</dc:date>
    </item>
  </channel>
</rss>

