javax.persistence.OptimisticLockException: Exception [EclipseLink-5006] (Eclipse Persistence Services - 2.5.2.v20140319-9ad6abd): org.eclipse.persistence.exceptions.OptimisticLockException Exception Description: The object [org.kuali.rice.kew.useroptions.UserOptions@2035056f] cannot be updated because it has changed or been deleted since it was last read. Class> org.kuali.rice.kew.useroptions.UserOptions Primary Key> [[DocSearch.LastSearch.Holding4, admin]: -2136268387]

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Kuali JIRA by Christopher Wade, 1 year ago
updated because it has changed or been deleted since it was last read. Class> org.kuali.rice.kew.useroptions.UserOptions Primary Key> [[DocSearch.LastSearch.Holding4, admin]: -2136268387]
javax.persistence.OptimisticLockException: Exception [EclipseLink-5006] (Eclipse Persistence Services - 2.5.2.v20140319-9ad6abd): org.eclipse.persistence.exceptions.OptimisticLockException Exception Description: The object [org.kuali.rice.kew.useroptions.UserOptions@2035056f] cannot be updated because it has changed or been deleted since it was last read. Class> org.kuali.rice.kew.useroptions.UserOptions Primary Key> [[DocSearch.LastSearch.Holding4, admin]: -2136268387]
at org.eclipse.persistence.internal.jpa.EntityManagerSetupImpl$1.handleException(EntityManagerSetupImpl.java:694)
at org.eclipse.persistence.transaction.AbstractSynchronizationListener.handleException(AbstractSynchronizationListener.java:275)
at org.eclipse.persistence.transaction.AbstractSynchronizationListener.beforeCompletion(AbstractSynchronizationListener.java:170)
at org.objectweb.jotm.SubCoordinator.doBeforeCompletion(SubCoordinator.java:1463)
at org.objectweb.jotm.SubCoordinator.commit_one_phase(SubCoordinator.java:419)
at org.objectweb.jotm.SubCoordinator.commit_one_phase(SubCoordinator.java:444)
at org.objectweb.jotm.TransactionImpl.commit(TransactionImpl.java:304)

Users with the same issue

You are the first who have seen this exception.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.