kodo.util.OptimisticVerificationException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • Optimistic mode
    via by 3004,
    • kodo.util.OptimisticVerificationException: An optimistic lock violation was detected when flushing object "customer.model.Customer@1095fd7" with id "customer.model.Customer-99" to the data store. This indicates that the object was concurrently modified in another transaction. FailedObject:customer.model.Customer@1095fd7 at kodo.runtime.PersistenceManagerImpl.flushInternal(PersistenceManagerImpl.java:977) at kodo.runtime.PersistenceManagerImpl.beforeCompletion(PersistenceManagerImpl.java:814) at kodo.runtime.LocalManagedRuntime.commit(LocalManagedRuntime.java:69) at kodo.runtime.PersistenceManagerImpl.commit(PersistenceManagerImpl.java:543) at tools.Storage.txCommit(Storage.java:126) at customer.ui.LoginAction.execute(LoginAction.java:143) at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484) at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274) at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482) at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:507) at javax.servlet.http.HttpServlet.service(HttpServlet.java:743) at javax.servlet.http.HttpServlet.service(HttpServlet.java:856) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:284) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:204) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:257) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:567) at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:245) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:199) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:567) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:184) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:164) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:149) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:567) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:156) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:567) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:972) at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:206) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:833) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:732) at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:619) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:688) at java.lang.Thread.run(Thread.java:534) Caused by: kodo.util.OptimisticVerificationException: An optimistic lock violation was detected when flushing object "customer.model.Customer@1095fd7" with id "customer.model.Customer-99" to the data store. This indicates that the object was concurrently modified in another transaction. FailedObject:customer.model.Customer@1095fd7 at kodo.jdbc.runtime.PreparedStatementManager.checkUpdate(PreparedStatementManager.java:272) at kodo.jdbc.runtime.PreparedStatementManager.flushInternal(PreparedStatementManager.java:187) at kodo.jdbc.runtime.PreparedStatementManager.flush(PreparedStatementManager.java:164) at kodo.jdbc.runtime.PreparedStatementManager.flush(PreparedStatementManager.java:135) at kodo.jdbc.runtime.UpdateManagerImpl.flush(UpdateManagerImpl.java:361) at kodo.jdbc.runtime.UpdateManagerImpl.flush(UpdateManagerImpl.java:156) at kodo.jdbc.runtime.UpdateManagerImpl.flush(UpdateManagerImpl.java:73) at kodo.jdbc.runtime.JDBCStoreManager.flush(JDBCStoreManager.java:588) at kodo.runtime.PersistenceManagerImpl.flushInternal(PersistenceManagerImpl.java:969) ... 35 more
    No Bugmate found.