org.kuali.student.core.exceptions.VersionMismatchException: Clu to be updated is not the current version

Kuali JIRA | Li Pan | 6 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  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.kuali.student.core.exceptions.VersionMismatchException: Clu to be updated is not the current version
  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.kuali.student.core.exceptions.VersionMismatchException: Clu to be updated is not the current version

    Root Cause Analysis

    1. 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()
    2. org.kuali.student
      LuServiceImpl.updateClu
      1. org.kuali.student.lum.lu.service.impl.LuServiceImpl.updateClu(LuServiceImpl.java:1198)
      1 frame