java.lang.RuntimeException: org.jboss.tm.JBossRollbackException: Unable to commit, tx=TransactionImpl:XidImpl[FormatId=257, GlobalId=spfla-fabridal/17, BranchQual=, localId=17] status=STATUS_NO_TRANSACTION; - nested throwable: (javax.persistence.OptimisticLockException)

jboss.org | 4 months ago
  1. 0

    How to treat OptimisticLockException? | JBoss Developer

    jboss.org | 4 months ago
    java.lang.RuntimeException: org.jboss.tm.JBossRollbackException: Unable to commit, tx=TransactionImpl:XidImpl[FormatId=257, GlobalId=spfla-fabridal/17, BranchQual=, localId=17] status=STATUS_NO_TRANSACTION; - nested throwable: (javax.persistence.OptimisticLockException)
  2. 0

    When completing a User Task in jBPM 5 it throws "Row was updated or deleted by another transaction" exception - Red Hat Customer Portal

    redhat.com | 8 months ago
    org.hibernate.StaleObjectStateException: Row was updated or deleted by another transaction (or unsaved-value mapping was incorrect): [org.jbpm.persistence.processinstance.ProcessInstanceInfo#455]
  3. 0

    Locking Exception when creating new students at the same time

    GitHub | 5 years ago | geoffreykwan
    org.springframework.orm.hibernate3.HibernateOptimisticLockingFailureException: Object of class [net.sf.sail.webapp.domain.group.impl.PersistentGroup] with identifier [29890]: optimistic locking failed; nested exception is org.hibernate.StaleObjectStateException: Row was updated or deleted by another transaction (or unsaved-value mapping was incorrect): [net.sf.sail.webapp.domain.group.impl.PersistentGroup#29890]
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Hibernate exception when saving entity

    Stack Overflow | 2 years ago | Carolik
    org.hibernate.StaleObjectStateException: Row was updated or deleted by another transaction (or unsaved-value mapping was incorrect): [com.company.EntityForSave#12345]
  6. 0

    Multiple threads adding to child collection results in StaleObjectStateException

    Stack Overflow | 4 years ago | kmansoor
    org.hibernate.StaleObjectStateException: Row was updated or deleted by another transaction (or unsaved-value mapping was incorrect): [com.test.project.domain.Job#2]

  1. haerick 1 times, last 5 months ago
3 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. org.hibernate.StaleObjectStateException

    Row was updated or deleted by another transaction (or unsaved-value mapping was incorrect): [curso.ejb3.Item#1]

    at org.hibernate.persister.entity.AbstractEntityPersister.check()
  2. Hibernate
    AbstractEntityPersister.update
    1. org.hibernate.persister.entity.AbstractEntityPersister.check(AbstractEntityPersister.java:1699)
    2. org.hibernate.persister.entity.AbstractEntityPersister.update(AbstractEntityPersister.java:2342)
    3. org.hibernate.persister.entity.AbstractEntityPersister.updateOrInsert(AbstractEntityPersister.java:2242)
    4. org.hibernate.persister.entity.AbstractEntityPersister.update(AbstractEntityPersister.java:2542)
    4 frames
  3. Hibernate
    EntityUpdateAction.execute
    1. org.hibernate.action.EntityUpdateAction.execute(EntityUpdateAction.java:92)
    1 frame
  4. Hibernate
    ActionQueue.executeActions
    1. org.hibernate.engine.ActionQueue.execute(ActionQueue.java:248)
    2. org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:232)
    3. org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:140)
    3 frames
  5. Hibernate
    SessionImpl.managedFlush
    1. org.hibernate.event.def.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:298)
    2. org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:27)
    3. org.hibernate.impl.SessionImpl.flush(SessionImpl.java:1000)
    4. org.hibernate.impl.SessionImpl.managedFlush(SessionImpl.java:338)
    4 frames
  6. Hibernate EJB
    AbstractEntityManagerImpl$1.beforeCompletion
    1. org.hibernate.ejb.AbstractEntityManagerImpl$1.beforeCompletion(AbstractEntityManagerImpl.java:515)
    1 frame
  7. JBoss Transaction 7.1.0 SPI
    TxManager.commit
    1. org.jboss.tm.TransactionImpl.doBeforeCompletion(TransactionImpl.java:1491)
    2. org.jboss.tm.TransactionImpl.beforePrepare(TransactionImpl.java:1110)
    3. org.jboss.tm.TransactionImpl.commit(TransactionImpl.java:324)
    4. org.jboss.tm.TxManager.commit(TxManager.java:240)
    4 frames
  8. org.jboss.aspects
    TxInterceptor$Required.invoke
    1. org.jboss.aspects.tx.TxPolicy.endTransaction(TxPolicy.java:175)
    2. org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPolicy.java:87)
    3. org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:191)
    3 frames
  9. org.jboss.aop
    MethodInvocation.invokeNext
    1. org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
    1 frame
  10. org.jboss.aspects
    TxPropagationInterceptor.invoke
    1. org.jboss.aspects.tx.TxPropagationInterceptor.invoke(TxPropagationInterceptor.java:76)
    1 frame
  11. org.jboss.aop
    MethodInvocation.invokeNext
    1. org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
    1 frame
  12. org.jboss.ejb3
    StatefulInstanceInterceptor.invoke
    1. org.jboss.ejb3.stateful.StatefulInstanceInterceptor.invoke(StatefulInstanceInterceptor.java:83)
    1 frame
  13. org.jboss.aop
    MethodInvocation.invokeNext
    1. org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
    1 frame
  14. org.jboss.aspects
    AuthenticationInterceptor.invoke
    1. org.jboss.aspects.security.AuthenticationInterceptor.invoke(AuthenticationInterceptor.java:77)
    1 frame
  15. org.jboss.ejb3
    Ejb3AuthenticationInterceptor.invoke
    1. org.jboss.ejb3.security.Ejb3AuthenticationInterceptor.invoke(Ejb3AuthenticationInterceptor.java:102)
    1 frame
  16. org.jboss.aop
    MethodInvocation.invokeNext
    1. org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
    1 frame
  17. org.jboss.ejb3
    ENCPropagationInterceptor.invoke
    1. org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagationInterceptor.java:47)
    1 frame
  18. org.jboss.aop
    MethodInvocation.invokeNext
    1. org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
    1 frame
  19. org.jboss.ejb3
    AsynchronousInterceptor.invoke
    1. org.jboss.ejb3.asynchronous.AsynchronousInterceptor.invoke(AsynchronousInterceptor.java:106)
    1 frame
  20. org.jboss.aop
    MethodInvocation.invokeNext
    1. org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
    1 frame
  21. org.jboss.ejb3
    StatefulContainer.dynamicInvoke
    1. org.jboss.ejb3.stateful.StatefulContainer.dynamicInvoke(StatefulContainer.java:319)
    1 frame
  22. org.jboss.aop
    Dispatcher.invoke
    1. org.jboss.aop.Dispatcher.invoke(Dispatcher.java:106)
    1 frame
  23. JBoss Application Server Aspects
    AOPRemotingInvocationHandler.invoke
    1. org.jboss.aspects.remoting.AOPRemotingInvocationHandler.invoke(AOPRemotingInvocationHandler.java:82)
    1 frame
  24. org.jboss.remoting
    ServerThread.run
    1. org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:828)
    2. org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:681)
    3. org.jboss.remoting.transport.socket.ServerThread.processInvocation(ServerThread.java:358)
    4. org.jboss.remoting.transport.socket.ServerThread.dorun(ServerThread.java:412)
    5. org.jboss.remoting.transport.socket.ServerThread.run(ServerThread.java:239)
    5 frames