Uploaded image for project: 'OpenOLAT'
  1. OpenOLAT
  2. OO-55

RS Hibernate StaleObjectStateException in BusinessGroupMainRunController

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 8.0
    • Component/s: Database, Group
    • Labels:
      None

      Description

      RedScreen on 7.R2.3 hfgs
      2012-01-11 08:05:20,288 [TP-Processor70] ERROR DBRuntimeException - OLAT::ERROR % N2-E451 % org.olat.core.logging % % % https://h****/auth/1%3A1%3A0%3A0%3A0/ % Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_2) AppleWebKit/535.7 (KHTML, like Gecko) Chrome/16.0.912.75 Safari/535.7 % *RedScreen* commit failed, rollback transaction ::::<dispatchinfo> <componentinfo> <compname>table</compname> <compclass>org.olat.core.gui.components.table.Table</compclass> <extendedinfo>n/a</extendedinfo> <event> <class>org.olat.core.gui.components.table.TableEvent</class> <command>r</command> <tostring>cmd:r, rowId:0, actionId:bgTblLaunch</tostring> </event> </componentinfo> <controllerinfo> <controllername>org.olat.core.gui.components.table.TableController</controllername> <controllername>org.olat.group.ui.main.BGMainController</controllername> <controllername>org.olat.core.commons.fullWebApp.BaseFullWebappController</controllername> <controllername>org.olat.core.commons.chiefcontrollers.controller.simple.SimpleBaseController</controllername> <controllername>org.olat.core.commons.chiefcontrollers.BaseChiefController</controllername> </controllerinfo></dispatchinfo> :::: %
      >>> stack of 1.cause::org.olat.core.logging.DBRuntimeException: commit failed, rollback transaction -> at org.olat.core.commons.persistence.DBImpl.commit(DBImpl.java:719) at org.olat.commons.coordinate.cluster.ClusterSyncer.doInSync(ClusterSyncer.java:112) at org.olat.commons.coordinate.cluster.ClusterSyncer.doInSync(ClusterSyncer.java:129) at org.olat.group.BusinessGroupManagerImpl.setLastUsageFor(BusinessGroupManagerImpl.java:1733) at org.olat.group.ui.run.BusinessGroupMainRunController.<init>(BusinessGroupMainRunController.java:276) at org.olat.group.ui.BGControllerFactory.createRunControllerFor(BGControllerFactory.java:140) at org.olat.group.ui.BGControllerFactory.createRunControllerAsTopNavTab(BGControllerFactory.java:178) at org.olat.group.ui.main.BGMainController.handleEventsGroupTables(BGMainController.java:327) at org.olat.group.ui.main.BGMainController.event(BGMainController.java:372) at org.olat.core.gui.control.DefaultController$1.run(DefaultController.java:250) at org.olat.core.logging.activity.ThreadLocalUserActivityLoggerInstaller.runWithUserActivityLogger(ThreadLocalUserActivityLoggerInstaller.java:84)
      >>> stack of 2.cause::org.olat.core.logging.DBRuntimeException: DB commit failed. Could not commit transaction: org.olat.core.commons.persistence.DBTransaction@7afc1bc2 -> at org.olat.core.commons.persistence.DBTransaction.commit(DBTransaction.java:62) at org.olat.core.commons.persistence.DBImpl.commit(DBImpl.java:692) at org.olat.commons.coordinate.cluster.ClusterSyncer.doInSync(ClusterSyncer.java:112) at org.olat.commons.coordinate.cluster.ClusterSyncer.doInSync(ClusterSyncer.java:129) at org.olat.group.BusinessGroupManagerImpl.setLastUsageFor(BusinessGroupManagerImpl.java:1733) at org.olat.group.ui.run.BusinessGroupMainRunController.<init>(BusinessGroupMainRunController.java:276) at org.olat.group.ui.BGControllerFactory.createRunControllerFor(BGControllerFactory.java:140) at org.olat.group.ui.BGControllerFactory.createRunControllerAsTopNavTab(BGControllerFactory.java:178) at org.olat.group.ui.main.BGMainController.handleEventsGroupTables(BGMainController.java:327) at org.olat.group.ui.main.BGMainController.event(BGMainController.java:372) at org.olat.core.gui.control.DefaultController$1.run(DefaultController.java:250)
      >>> stack of 3.cause::org.hibernate.StaleObjectStateException: Row was updated or deleted by another transaction (or unsaved-value mapping was incorrect): org.olat.group.BusinessGroupImpl#14057476 -> at org.hibernate.persister.entity.AbstractEntityPersister.check(AbstractEntityPersister.java:1782) at org.hibernate.persister.entity.AbstractEntityPersister.update(AbstractEntityPersister.java:2425) at org.hibernate.persister.entity.AbstractEntityPersister.updateOrInsert(AbstractEntityPersister.java:2325) at org.hibernate.persister.entity.AbstractEntityPersister.update(AbstractEntityPersister.java:2625) at org.hibernate.action.EntityUpdateAction.execute(EntityUpdateAction.java:115) at org.hibernate.engine.ActionQueue.execute(ActionQueue.java:279) at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:263) at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:168) at org.hibernate.event.def.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:321) at org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:50) at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:1028)

        Attachments

          Activity

            People

            Assignee:
            strentini Sergio Trentini
            Reporter:
            strentini Sergio Trentini
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 7 hours
                7h