org.hibernate.StaleObjectStateException: Row was updated or deleted by another transaction (or unsaved-value mapping was incorrect): [org.kuali.student.lum.lu.entity.Clu#d4ea77dd-b492-4554-b104-863e42c5f8b7]

Kuali JIRA | Li Pan | 6 years ago
  1. 0

    1. picked AHTH, edit it and save it, then went to edit specialization and hit save. error occured. Here's part of error log. 2010-10-11 20:59:41,379 [http-9080-Processor23] ERROR org.hibernate.event.def.AbstractFlushingEventListener - Could not synchronize database state with session org.hibernate.StaleObjectStateException: Row was updated or deleted by another transaction (or unsaved-value mapping was incorrect): [org.kuali.student.lum.lu.entity.Clu#d4ea77dd-b492-4554-b104-863e42c5f8b7] at org.hibernate.persister.entity.AbstractEntityPersister.check(AbstractEntityPersister.java:1769) at org.hibernate.persister.entity.AbstractEntityPersister.update(AbstractEntityPersister.java:2412) at org.hibernate.persister.entity.AbstractEntityPersister.updateOrInsert(AbstractEntityPersister.java:2312) at org.hibernate.persister.entity.AbstractEntityPersister.update(AbstractEntityPersister.java:2612) at org.hibernate.action.EntityUpdateAction.execute(EntityUpdateAction.java:96) 2. picked ANTH, went to one of specialization, ARCB, edit and save it. then hit save again. error occured. Here's part of error log. 2010-10-12 08:17:09,155 [http-9080-Processor20] FATAL org.kuali.rice.core.database.KualiTransactionInterceptor - Exception caught by Transaction Interceptor, this will cause a rollback at the end of the transaction. org.kuali.student.core.exceptions.VersionMismatchException: Clu to be updated is not the current version at org.kuali.student.lum.lu.service.impl.LuServiceImpl.updateClu(LuServiceImpl.java:1198)

    Kuali JIRA | 6 years ago | Li Pan
    org.hibernate.StaleObjectStateException: Row was updated or deleted by another transaction (or unsaved-value mapping was incorrect): [org.kuali.student.lum.lu.entity.Clu#d4ea77dd-b492-4554-b104-863e42c5f8b7]
  2. 0

    1. picked AHTH, edit it and save it, then went to edit specialization and hit save. error occured. Here's part of error log. 2010-10-11 20:59:41,379 [http-9080-Processor23] ERROR org.hibernate.event.def.AbstractFlushingEventListener - Could not synchronize database state with session org.hibernate.StaleObjectStateException: Row was updated or deleted by another transaction (or unsaved-value mapping was incorrect): [org.kuali.student.lum.lu.entity.Clu#d4ea77dd-b492-4554-b104-863e42c5f8b7] at org.hibernate.persister.entity.AbstractEntityPersister.check(AbstractEntityPersister.java:1769) at org.hibernate.persister.entity.AbstractEntityPersister.update(AbstractEntityPersister.java:2412) at org.hibernate.persister.entity.AbstractEntityPersister.updateOrInsert(AbstractEntityPersister.java:2312) at org.hibernate.persister.entity.AbstractEntityPersister.update(AbstractEntityPersister.java:2612) at org.hibernate.action.EntityUpdateAction.execute(EntityUpdateAction.java:96) 2. picked ANTH, went to one of specialization, ARCB, edit and save it. then hit save again. error occured. Here's part of error log. 2010-10-12 08:17:09,155 [http-9080-Processor20] FATAL org.kuali.rice.core.database.KualiTransactionInterceptor - Exception caught by Transaction Interceptor, this will cause a rollback at the end of the transaction. org.kuali.student.core.exceptions.VersionMismatchException: Clu to be updated is not the current version at org.kuali.student.lum.lu.service.impl.LuServiceImpl.updateClu(LuServiceImpl.java:1198)

    Kuali JIRA | 6 years ago | Li Pan
    org.hibernate.StaleObjectStateException: Row was updated or deleted by another transaction (or unsaved-value mapping was incorrect): [org.kuali.student.lum.lu.entity.Clu#d4ea77dd-b492-4554-b104-863e42c5f8b7]
  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 saveOrUpdate with primary key filled

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

    [JBPM-2036] StaleObjectStateException when repeating timer signals the token - JBoss Issue Tracker

    jboss.org | 12 months ago
    org.hibernate.StaleObjectStateException: Row was updated or deleted by another transaction (or unsaved-value mapping was incorrect):

  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): [org.kuali.student.lum.lu.entity.Clu#d4ea77dd-b492-4554-b104-863e42c5f8b7]

    at org.hibernate.persister.entity.AbstractEntityPersister.check()
  2. Hibernate
    AbstractEntityPersister.update
    1. org.hibernate.persister.entity.AbstractEntityPersister.check(AbstractEntityPersister.java:1769)
    2. org.hibernate.persister.entity.AbstractEntityPersister.update(AbstractEntityPersister.java:2412)
    3. org.hibernate.persister.entity.AbstractEntityPersister.updateOrInsert(AbstractEntityPersister.java:2312)
    4. org.hibernate.persister.entity.AbstractEntityPersister.update(AbstractEntityPersister.java:2612)
    4 frames
  3. Hibernate
    EntityUpdateAction.execute
    1. org.hibernate.action.EntityUpdateAction.execute(EntityUpdateAction.java:96)
    1 frame