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

RS after publish

    XMLWordPrintable

    Details

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

      Description

      **RedScreen** commit failed, rollback transaction
      07.02.2017 10:11
      Username: ....
      Stacktrace:
      
      Throwable: org.olat.core.logging.DBRuntimeException
      
      logmsg:commit failed, rollback transaction
      message:commit failed, rollback transaction,org.olat.core.logging.DBRuntimeException
      
      at org.olat.core.commons.persistence.DBImpl.commit(DBImpl.java:755)
      at org.olat.commons.coordinate.cluster.ClusterSyncer.doInSync(ClusterSyncer.java:113)
      at org.olat.course.assessment.NewCachePersistingAssessmentManager.saveScoreEvaluation(NewCachePersistingAssessmentManager.java:871)
      at org.olat.course.nodes.CheckListCourseNode.updateScorePassedOnPublish(CheckListCourseNode.java:761)
      at org.olat.course.nodes.CheckListCourseNode.updateOnPublish(CheckListCourseNode.java:685)
      at org.olat.course.editor.PublishProcess.applyUpdateSet(PublishProcess.java:516)
      at org.olat.course.editor.EditorMainController$3.execute(EditorMainController.java:1119)
      at org.olat.core.gui.control.generic.wizard.StepsMainRunController.finishWizard(StepsMainRunController.java:379)
      at org.olat.core.gui.control.generic.wizard.StepsMainRunController.event(StepsMainRunController.java:362)
      at org.olat.core.gui.control.DefaultController$1.run(DefaultController.java:246)
      <hr />
      1. cause:
      
      message:Error while committing the transaction,javax.persistence.RollbackException
      
      at org.hibernate.jpa.internal.TransactionImpl.commit(TransactionImpl.java:94)
      at org.olat.core.commons.persistence.DBImpl.commit(DBImpl.java:712)
      at org.olat.commons.coordinate.cluster.ClusterSyncer.doInSync(ClusterSyncer.java:113)
      at org.olat.course.assessment.NewCachePersistingAssessmentManager.saveScoreEvaluation(NewCachePersistingAssessmentManager.java:871)
      at org.olat.course.nodes.CheckListCourseNode.updateScorePassedOnPublish(CheckListCourseNode.java:761)
      at org.olat.course.nodes.CheckListCourseNode.updateOnPublish(CheckListCourseNode.java:685)
      at org.olat.course.editor.PublishProcess.applyUpdateSet(PublishProcess.java:516)
      at org.olat.course.editor.EditorMainController$3.execute(EditorMainController.java:1119)
      at org.olat.core.gui.control.generic.wizard.StepsMainRunController.finishWizard(StepsMainRunController.java:379)
      at org.olat.core.gui.control.generic.wizard.StepsMainRunController.event(StepsMainRunController.java:362)
      <hr />
      2. cause:
      
      message:Row was updated or deleted by another transaction (or unsaved-value mapping was incorrect) : [org.olat.course.assessment.model.UserEfficiencyStatementImpl#4097081626],javax.persistence.OptimisticLockException
      
      at org.hibernate.jpa.spi.AbstractEntityManagerImpl.wrapStaleStateException(AbstractEntityManagerImpl.java:1785)
      at org.hibernate.jpa.spi.AbstractEntityManagerImpl.convert(AbstractEntityManagerImpl.java:1705)
      at org.hibernate.jpa.spi.AbstractEntityManagerImpl.convert(AbstractEntityManagerImpl.java:1677)
      at org.hibernate.jpa.internal.TransactionImpl.commit(TransactionImpl.java:82)
      at org.olat.core.commons.persistence.DBImpl.commit(DBImpl.java:712)
      at org.olat.commons.coordinate.cluster.ClusterSyncer.doInSync(ClusterSyncer.java:113)
      at org.olat.course.assessment.NewCachePersistingAssessmentManager.saveScoreEvaluation(NewCachePersistingAssessmentManager.java:871)
      at org.olat.course.nodes.CheckListCourseNode.updateScorePassedOnPublish(CheckListCourseNode.java:761)
      at org.olat.course.nodes.CheckListCourseNode.updateOnPublish(CheckListCourseNode.java:685)
      at org.olat.course.editor.PublishProcess.applyUpdateSet(PublishProcess.java:516)
      <hr />
      3. cause:
      
      message:Row was updated or deleted by another transaction (or unsaved-value mapping was incorrect) : [org.olat.course.assessment.model.UserEfficiencyStatementImpl#4097081626],org.hibernate.StaleObjectStateException
      
      at org.hibernate.persister.entity.AbstractEntityPersister.check(AbstractEntityPersister.java:2541)
      at org.hibernate.persister.entity.AbstractEntityPersister.update(AbstractEntityPersister.java:3285)
      at org.hibernate.persister.entity.AbstractEntityPersister.updateOrInsert(AbstractEntityPersister.java:3183)
      at org.hibernate.persister.entity.AbstractEntityPersister.update(AbstractEntityPersister.java:3525)
      at org.hibernate.action.internal.EntityUpdateAction.execute(EntityUpdateAction.java:159)
      at org.hibernate.engine.spi.ActionQueue.executeActions(ActionQueue.java:465)
      at org.hibernate.engine.spi.ActionQueue.executeActions(ActionQueue.java:351)
      at org.hibernate.event.internal.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:350)
      at org.hibernate.event.internal.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:56)
      at org.hibernate.internal.SessionImpl.flush(SessionImpl.java:1258)
      
      
      ListenerInfo
      <dispatchinfo>
      	<componentinfo>
      		<compname>ffo_main_stepslayout</compname>
      		<compclass>org.olat.core.gui.components.form.flexible.impl.FormWrapperContainer</compclass>
      		<extendedinfo>n/a</extendedinfo>
      		<event>
      			<class&gt;org.olat.core.gui.control.Event</class&gt;
      			<command>validation finish</command>
      			<tostring>com:validation finish,org.olat.core.gui.control.Event@2f96e239</tostring>
      		</event>
      	</componentinfo>
      	<controllerinfo>
      		<controllername>org.olat.course.editor.PublishStep00a$PublishStep00aForm</controllername>
      		<controllername>org.olat.core.gui.control.generic.wizard.StepsMainRunController</controllername>
      		<controllername>org.olat.course.editor.EditorMainController</controllername>
      		<controllername>org.olat.course.run.CourseRuntimeController</controllername>
      		<controllername>org.olat.core.commons.fullWebApp.BaseFullWebappController</controllername>
      	</controllerinfo>
      </dispatchinfo>
      L
      

        Attachments

          Activity

            People

            Assignee:
            srosse Stéphane Rossé
            Reporter:
            d.haag Daniel Haag
            Votes:
            0 Vote for this issue
            Watchers:
            2 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, 5 minutes
                2h 5m