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

RS updating last visit date of a course

    XMLWordPrintable

    Details

      Description

      RedScreen on node8 9.0.2
      2013-09-02 14:21:26,254 [ajp-apr-8008-exec-5] ERROR DBRuntimeException - OLAT::ERROR % N8-E8 % org.olat.core.logging
      Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.2; Trident/4.0; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729; InfoPath.3)
      % *RedScreen* commit failed, rollback transaction :::: :::: %
      >>> stack of 1.cause::org.olat.core.logging.DBRuntimeException: commit failed, rollback transaction
      -> at org.olat.core.commons.persistence.DBImpl.commit(DBImpl.java:807)
      at org.olat.commons.coordinate.cluster.ClusterSyncer.doInSync(ClusterSyncer.java:116)
      at org.olat.commons.coordinate.cluster.ClusterSyncer.doInSync(ClusterSyncer.java:133)
      at org.olat.course.run.RunMainController.setLaunchDates(RunMainController.java:352)
      at org.olat.course.run.RunMainController.<init>(RunMainController.java:263)
      at org.olat.course.CourseFactory.createLaunchController(CourseFactory.java:193)
      at org.olat.repository.handlers.CourseHandler.createLaunchController(CourseHandler.java:145)
      at org.olat.repository.RepositoyUIFactory.createLaunchController(RepositoyUIFactory.java:88)
      at com.frentix.olat.navigation.FXRepositoryContextEntryControllerCreator.createController(FXRepositoryContextEntryControllerCreator.java:65)
      at org.olat.NewControllerFactory.launch(NewControllerFactory.java:236)
      at org.olat.dispatcher.AuthenticatedDispatcher.execute(AuthenticatedDispatcher.java:202)
      >>> stack of 2.cause::javax.persistence.RollbackException: Error while committing the transaction
      -> at org.hibernate.ejb.TransactionImpl.commit(TransactionImpl.java:92)
      at org.olat.core.commons.persistence.DBImpl.commit(DBImpl.java:761)
      at org.olat.commons.coordinate.cluster.ClusterSyncer.doInSync(ClusterSyncer.java:116)
      at org.olat.commons.coordinate.cluster.ClusterSyncer.doInSync(ClusterSyncer.java:133)
      at org.olat.course.run.RunMainController.setLaunchDates(RunMainController.java:352)
      at org.olat.course.run.RunMainController.<init>(RunMainController.java:263)
      at org.olat.course.CourseFactory.createLaunchController(CourseFactory.java:193)
      at org.olat.repository.handlers.CourseHandler.createLaunchController(CourseHandler.java:145)
      at org.olat.repository.RepositoyUIFactory.createLaunchController(RepositoyUIFactory.java:88)
      at com.frentix.olat.navigation.FXRepositoryContextEntryControllerCreator.createController(FXRepositoryContextEntryControllerCreator.java:65)
      at org.olat.NewControllerFactory.launch(NewControllerFactory.java:236)
      >>> stack of 3.cause::javax.persistence.OptimisticLockException: null
      -> at org.hibernate.ejb.AbstractEntityManagerImpl.wrapStaleStateException(AbstractEntityManagerImpl.java:1413)
      at org.hibernate.ejb.AbstractEntityManagerImpl.convert(AbstractEntityManagerImpl.java:1329)
      at org.hibernate.ejb.AbstractEntityManagerImpl.convert(AbstractEntityManagerImpl.java:1310)
      at org.hibernate.ejb.TransactionImpl.commit(TransactionImpl.java:80)
      at org.olat.core.commons.persistence.DBImpl.commit(DBImpl.java:761)
      at org.olat.commons.coordinate.cluster.ClusterSyncer.doInSync(ClusterSyncer.java:116)
      at org.olat.commons.coordinate.cluster.ClusterSyncer.doInSync(ClusterSyncer.java:133)
      at org.olat.course.run.RunMainController.setLaunchDates(RunMainController.java:352)
      at org.olat.course.run.RunMainController.<init>(RunMainController.java:263)
      at org.olat.course.CourseFactory.createLaunchController(CourseFactory.java:193)
      at org.olat.repository.handlers.CourseHandler.createLaunchController(CourseHandler.java:145)
      >>> stack of 4.cause::org.hibernate.StaleObjectStateException:
      Row was updated or deleted by another transaction (or unsaved-value mapping was incorrect): org.olat.course.assessment.model.UserCourseInfosImpl#135201030
      -> at org.hibernate.persister.entity.AbstractEntityPersister.check(AbstractEntityPersister.java:2509)
      at org.hibernate.persister.entity.AbstractEntityPersister.update(AbstractEntityPersister.java:3228)
      at org.hibernate.persister.entity.AbstractEntityPersister.updateOrInsert(AbstractEntityPersister.java:3126)
      at org.hibernate.persister.entity.AbstractEntityPersister.update(AbstractEntityPersister.java:3456)
      at org.hibernate.action.internal.EntityUpdateAction.execute(EntityUpdateAction.java:140)
      at org.hibernate.engine.spi.ActionQueue.execute(ActionQueue.java:377)
      at org.hibernate.engine.spi.ActionQueue.executeActions(ActionQueue.java:369)
      at org.hibernate.engine.spi.ActionQueue.executeActions(ActionQueue.java:287)
      at org.hibernate.event.internal.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:339)
      at org.hibernate.event.internal.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:52)
      at org.hibernate.internal.SessionImpl.flush(SessionImpl.java:1234)

        Attachments

          Activity

            People

            • Assignee:
              srosse Stéphane Rossé
              Reporter:
              srosse Stéphane Rossé
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 2 hours
                2h