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

RS (perhaps invisible) with Parkinson clicks of a link with a REST URL to course

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 9.0.6
    • Component/s: Course
    • Labels:
      None

      Description

      The log files show that the course are open/closed several times within a second.

      RedScreen on bzgbs 9.0.3
      2013-09-17 18:40:50,645 [ajp-apr-8008-exec-3] ERROR DBRuntimeException - OLAT::ERROR ^%^ N8-E31 ^%^ org.olat.core.logging 
      Mozilla/5.0 (Windows NT 6.0; rv:23.0) Gecko/20100101 Firefox/23.0
      **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.assessment.manager.UserCourseInformationsManagerImpl.updateUserCourseInformations(UserCourseInformationsManagerImpl.java:122)
         at org.olat.course.run.RunMainController.setLaunchDates(RunMainController.java:352)
         at org.olat.course.run.RunMainController.<init>(RunMainController.java:262)
         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 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.assessment.manager.UserCourseInformationsManagerImpl.updateUserCourseInformations(UserCourseInformationsManagerImpl.java:122)
         at org.olat.course.run.RunMainController.setLaunchDates(RunMainController.java:352)
         at org.olat.course.run.RunMainController.<init>(RunMainController.java:262)
         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)
      >>> 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.assessment.manager.UserCourseInformationsManagerImpl.updateUserCourseInformations(UserCourseInformationsManagerImpl.java:122)
         at org.olat.course.run.RunMainController.setLaunchDates(RunMainController.java:352)
         at org.olat.course.run.RunMainController.<init>(RunMainController.java:262)
         at org.olat.course.CourseFactory.createLaunchController(CourseFactory.java:193)
      >>> 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#163381652]
      -> 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 - 1 hour
                1h