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

RS if resuming a session to a deleted course

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 9.4.5, 10.0.8
    • Component/s: None
    • Labels:
      None

      Description

      2014-11-18 08:09:46,574 [ajp-apr-8004-exec-147] ERROR ResumeController  - OLAT::ERROR ^%^ N4-E4907 ^%^ org.olat.core.commons.controllers.resume
      
      Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_5) AppleWebKit/536.30.1 (KHTML, like Gecko) Version/6.0.5 Safari/536.30.1 ^%^ Error while resuming ^%^
      >>>stack of 1.cause::javax.persistence.OptimisticLockException: Row was updated or deleted by another transaction (or unsaved-value mapping was incorrect): [org.olat.repository.RepositoryEntry#123830290]
      -> 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.QueryImpl.getSingleResult(QueryImpl.java:316)
         at org.olat.repository.RepositoryManager.loadForUpdate(RepositoryManager.java:783)
         at org.olat.repository.RepositoryManager.incrementLaunchCounter(RepositoryManager.java:806)
         at org.olat.repository.RepositoyUIFactory.createLaunchController(RepositoyUIFactory.java:79)
         at org.olat.repository.RepositoryContextEntryControllerCreator.createController(RepositoryContextEntryControllerCreator.java:57)
         at org.olat.NewControllerFactory.launch(NewControllerFactory.java:251)
         at org.olat.core.commons.controllers.resume.ResumeController.isInterceptionRequired(ResumeController.java:105)
         at org.olat.login.AfterLoginInterceptionController.<init>(AfterLoginInterceptionController.java:128)
      >>>stack of 2.cause::org.hibernate.StaleObjectStateException: Row was updated or deleted by another transaction (or unsaved-value mapping was incorrect): [org.olat.repository.RepositoryEntry#123830290]
      -> at org.hibernate.loader.Loader.checkVersion(Loader.java:1453)
         at org.hibernate.loader.Loader.instanceAlreadyLoaded(Loader.java:1562)
         at org.hibernate.loader.Loader.getRow(Loader.java:1498)
         at org.hibernate.loader.Loader.getRowFromResultSet(Loader.java:719)
         at org.hibernate.loader.Loader.processResultSet(Loader.java:949)
         at org.hibernate.loader.Loader.doQuery(Loader.java:917)
         at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:348)
         at org.hibernate.loader.Loader.doList(Loader.java:2550)
         at org.hibernate.loader.Loader.doList(Loader.java:2536)
         at org.hibernate.loader.Loader.listIgnoreQueryCache(Loader.java:2366)
         at org.hibernate.loader.Loader.list(Loader.java:2361)
      2014-11-18 08:09:46,576 [ajp-apr-8004-exec-147] WARN  DBImpl  - OLAT::WARN ^%^ N4-W136943 ^%^ org.olat.core.commons.persistence
      (Macintosh; Intel Mac OS X 10_7_5) AppleWebKit/536.30.1 (KHTML, like Gecko) Version/6.0.5 Safari/536.30.1 ^%^ Caught Exception in DBImpl.commit.
      >>>stack of 1.cause::org.olat.core.logging.DBRuntimeException: Try to commit a transaction in error status
      -> at org.olat.core.commons.persistence.DBImpl.commit(DBImpl.java:729)
         at org.olat.core.gui.components.Window.doDispatchToComponent(Window.java:1155)
         at org.olat.core.gui.components.Window.dispatchRequest(Window.java:609)
         at org.olat.core.gui.components.Window.doDispatchRequest(Window.java:228)
         at org.olat.core.gui.components.Component.dispatchRequest(Component.java:192)
         at org.olat.dispatcher.DMZDispatcher.execute(DMZDispatcher.java:277)
         at org.olat.core.servlets.OpenOLATServlet.executeUserRequest(OpenOLATServlet.java:268)
         at org.olat.core.servlets.OpenOLATServlet.doPost(OpenOLATServlet.java:211)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:647)
         at org.olat.core.servlets.OpenOLATServlet.service(OpenOLATServlet.java:153)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
      >>>stack of 2.cause::java.lang.Exception: olat_rtexception_stackgenerator
      -> at org.olat.core.logging.OLATRuntimeException.<init>(OLATRuntimeException.java:57)
         at org.olat.core.logging.OLATRuntimeException.<init>(OLATRuntimeException.java:79)
         at org.olat.core.logging.DBRuntimeException.<init>(DBRuntimeException.java:44)
         at org.olat.core.commons.persistence.DBImpl.commit(DBImpl.java:729)
         at org.olat.core.gui.components.Window.doDispatchToComponent(Window.java:1155)
         at org.olat.core.gui.components.Window.dispatchRequest(Window.java:609)
         at org.olat.core.gui.components.Window.doDispatchRequest(Window.java:228)
         at org.olat.core.gui.components.Component.dispatchRequest(Component.java:192)
         at org.olat.dispatcher.DMZDispatcher.execute(DMZDispatcher.java:277)
         at org.olat.core.servlets.OpenOLATServlet.executeUserRequest(OpenOLATServlet.java:268)
         at org.olat.core.servlets.OpenOLATServlet.doPost(OpenOLATServlet.java:211)
      
      Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_5) AppleWebKit/536.30.1 (KHTML, like Gecko) Version/6.0.5 Safari/536.30.1
      **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:768)
         at org.olat.core.gui.components.Window.doDispatchToComponent(Window.java:1155)
         at org.olat.core.gui.components.Window.dispatchRequest(Window.java:609)
         at org.olat.core.gui.components.Window.doDispatchRequest(Window.java:228)
         at org.olat.core.gui.components.Component.dispatchRequest(Component.java:192)
         at org.olat.dispatcher.DMZDispatcher.execute(DMZDispatcher.java:277)
         at org.olat.core.servlets.OpenOLATServlet.executeUserRequest(OpenOLATServlet.java:268)
         at org.olat.core.servlets.OpenOLATServlet.doPost(OpenOLATServlet.java:211)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:647)
         at org.olat.core.servlets.OpenOLATServlet.service(OpenOLATServlet.java:153)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
      >>>stack of 2.cause::org.olat.core.logging.DBRuntimeException: Try to commit a transaction in error status
      -> at org.olat.core.commons.persistence.DBImpl.commit(DBImpl.java:729)
         at org.olat.core.gui.components.Window.doDispatchToComponent(Window.java:1155)
         at org.olat.core.gui.components.Window.dispatchRequest(Window.java:609)
         at org.olat.core.gui.components.Window.doDispatchRequest(Window.java:228)
         at org.olat.core.gui.components.Component.dispatchRequest(Component.java:192)
         at org.olat.dispatcher.DMZDispatcher.execute(DMZDispatcher.java:277)
         at org.olat.core.servlets.OpenOLATServlet.executeUserRequest(OpenOLATServlet.java:268)
         at org.olat.core.servlets.OpenOLATServlet.doPost(OpenOLATServlet.java:211)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:647)
         at org.olat.core.servlets.OpenOLATServlet.service(OpenOLATServlet.java:153)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
      >>>stack of 3.cause::java.lang.Exception: olat_rtexception_stackgenerator
      -> at org.olat.core.logging.OLATRuntimeException.<init>(OLATRuntimeException.java:57)
         at org.olat.core.logging.OLATRuntimeException.<init>(OLATRuntimeException.java:79)
         at org.olat.core.logging.DBRuntimeException.<init>(DBRuntimeException.java:44)
         at org.olat.core.commons.persistence.DBImpl.commit(DBImpl.java:729)
         at org.olat.core.gui.components.Window.doDispatchToComponent(Window.java:1155)
         at org.olat.core.gui.components.Window.dispatchRequest(Window.java:609)
         at org.olat.core.gui.components.Window.doDispatchRequest(Window.java:228)
         at org.olat.core.gui.components.Component.dispatchRequest(Component.java:192)
         at org.olat.dispatcher.DMZDispatcher.execute(DMZDispatcher.java:277)
         at org.olat.core.servlets.OpenOLATServlet.executeUserRequest(OpenOLATServlet.java:268)
         at org.olat.core.servlets.OpenOLATServlet.doPost(OpenOLATServlet.java:211)
      
      

        Attachments

          Activity

            People

            • Assignee:
              srosse Stéphane Rossé
              Reporter:
              srosse Stéphane Rossé
            • Votes:
              0 Vote for this issue
              Watchers:
              2 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 - 45 minutes
                45m