org.activiti.engine.ActivitiOptimisticLockingException: HistoricVariableInstanceEntity[103316416] was updated by another transaction concurrently

activiti.org | 8 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Jobexecutor does not cope with simultaneousness | Activiti Forums

    activiti.org | 2 years ago
    org.activiti.engine.ActivitiOptimisticLockingException: HistoricVariableInstanceEntity[103316416] was updated by another transaction concurrently
  2. 0

    Jobexecutor does not cope with simultaneousness | Activiti Forums

    activiti.org | 8 months ago
    org.activiti.engine.ActivitiOptimisticLockingException: HistoricVariableInstanceEntity[103316416] was updated by another transaction concurrently

    Root Cause Analysis

    1. org.activiti.engine.ActivitiOptimisticLockingException

      HistoricVariableInstanceEntity[103316416] was updated by another transaction concurrently

      at org.activiti.engine.impl.db.DbSqlSession.flushUpdates()
    2. Activiti - Engine
      ExecuteJobsRunnable.run
      1. org.activiti.engine.impl.db.DbSqlSession.flushUpdates(DbSqlSession.java:652)
      2. org.activiti.engine.impl.db.DbSqlSession.flush(DbSqlSession.java:460)
      3. org.activiti.engine.impl.interceptor.CommandContext.flushSessions(CommandContext.java:167)
      4. org.activiti.engine.impl.interceptor.CommandContext.close(CommandContext.java:114)
      5. org.activiti.engine.impl.interceptor.CommandContextInterceptor.execute(CommandContextInterceptor.java:69)
      6. org.activiti.engine.impl.interceptor.LogInterceptor.execute(LogInterceptor.java:32)
      7. org.activiti.engine.impl.jobexecutor.ExecuteJobsRunnable.run(ExecuteJobsRunnable.java:46)
      7 frames
    3. Java RT
      Thread.run
      1. java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
      3. java.lang.Thread.run(Thread.java:662)
      3 frames