cancel
Showing results for 
Search instead for 
Did you mean: 

.activiti.engine.ActivitiOptimisticLockingException: VariableInstanceEntity

sudhakar1
Champ in-the-making
Champ in-the-making
Hello All,

We are facing the below error while submitting the task. We are moving from one task to another. We are able to save data in our application specific tables. But getting the below mentioned error.


WARNING: #{createAuditPlanBean.submitAuditPlan}: org.activiti.engine.ActivitiOptimisticLockingException: VariableInstanceEntity[id=366608, name=savePlanList, type=serializable, byteArrayValueId=366607] was updated by another transaction concurrently
javax.faces.FacesException: #{createAuditPlanBean.submitAuditPlan}: org.activiti.engine.ActivitiOptimisticLockingException: VariableInstanceEntity[id=366608, name=savePlanList, type=serializable, byteArrayValueId=366607] was updated by another transaction concurrently
   at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:118)
   at org.primefaces.application.DialogActionListener.processAction(DialogActionListener.java:45)
   at javax.faces.component.UICommand.broadcast(UICommand.java:315)
   at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:790)
   at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:1282)
   at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:81)
   at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101)
   at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:198)
   at javax.faces.webapp.FacesServlet.service(FacesServlet.java:646)
   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
   at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
   at waffle.servlet.NegotiateSecurityFilter.doFilterPrincipal(Unknown Source)
   at waffle.servlet.NegotiateSecurityFilter.doFilter(Unknown Source)
   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
   at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)
   at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)
   at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:503)
   at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)
   at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
   at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950)
   at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
   at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:421)
   at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1070)
   at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:611)
   at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:316)
   at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
   at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
   at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
   at java.lang.Thread.run(Unknown Source)

What is the reason for the same. Any help on this would be appreciable.

Thanks in advance.
1 REPLY 1

trademak
Star Contributor
Star Contributor
it's difficult to say without more information what exactly you are doing.

Best regards,