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

RS: going on a survey course element

    XMLWordPrintable

    Details

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

      Description

      RedScreen on cau 14.1.1
      2019-09-11 20:52:32.760 [ajp-nio2-8021-exec-20] ERROR OLATRuntimeException
      org.olat.core.logging.OLATRuntimeException
      https://xyz.de/auth/RepositoryEntry/2944630790/CourseNode/100358447248360
      Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.62 Safari/537.36 Vivaldi/2.8.1657.8
      **RedScreen** org.hibernate.PropertyValueException: not-null property references a null or transient value : org.olat.modules.forms.model.jpa.EvaluationFormParticipationImpl.survey
      
      <dispatchinfo>
      	<componentinfo>
      		<compname>luTreeRun</compname>
      		<compclass>org.olat.core.gui.components.tree.MenuTree</compclass>
      		<extendedinfo>n/a</extendedinfo>
      		<event>
      			<class&gt;org.olat.core.gui.components.tree.TreeEvent</class&gt;
      			<command>ctncl</command>
      			<tostring>TreeEvent:{cmd:ctncl, nodeid:100362610001891}</tostring>
      		</event>
      	</componentinfo>
      	<controllerinfo>
      		<controllername>org.olat.course.run.RunMainController</controllername>
      		<controllername>org.olat.course.run.CourseRuntimeController</controllername>
      		<controllername>org.olat.core.commons.fullWebApp.BaseFullWebappController</controllername>
      	</controllerinfo>
      </dispatchinfo> 
      
      Caused by: javax.persistence.PersistenceException: org.hibernate.PropertyValueException: not-null property references a null or transient value : org.olat.modules.forms.model.jpa.EvaluationFormParticipationImpl.survey
       at org.hibernate.internal.ExceptionConverterImpl.convert(ExceptionConverterImpl.java:154)
       at org.hibernate.internal.ExceptionConverterImpl.convert(ExceptionConverterImpl.java:181)
       at org.hibernate.internal.ExceptionConverterImpl.convert(ExceptionConverterImpl.java:188)
       at org.hibernate.internal.SessionImpl.firePersist(SessionImpl.java:795)
       at org.hibernate.internal.SessionImpl.persist(SessionImpl.java:773)
       at org.olat.modules.forms.manager.EvaluationFormParticipationDAO.createParticipation(EvaluationFormParticipationDAO.java:67)
       at org.olat.modules.forms.manager.EvaluationFormManagerImpl.createParticipation(EvaluationFormManagerImpl.java:203)
       at org.olat.course.nodes.survey.SurveyRunController.loadOrCreateParticipation(SurveyRunController.java:160)
       at org.olat.course.nodes.survey.SurveyRunController.loadOrCreateParticipation(SurveyRunController.java:132)
       at org.olat.course.nodes.survey.SurveyRunController.doShowView(SurveyRunController.java:110)
       at org.olat.course.nodes.survey.SurveyRunController.initVelocityContainer(SurveyRunController.java:105)
       at org.olat.course.nodes.survey.SurveyRunController.<init>(SurveyRunController.java:92)
       at org.olat.course.nodes.SurveyCourseNode.createNodeRunConstructionResult(SurveyCourseNode.java:154)
       at org.olat.course.run.navigation.NavigationHandler.doEvaluateJumpTo(NavigationHandler.java:452)
       at org.olat.course.run.navigation.NavigationHandler.evaluateJumpToTreeNode(NavigationHandler.java:279)
       at org.olat.course.run.RunMainController.doNodeClick(RunMainController.java:640)
       at org.olat.course.run.RunMainController.event(RunMainController.java:499)
       at org.olat.core.gui.control.DefaultController.dispatchEvent(DefaultController.java:206)
       at org.olat.core.gui.components.AbstractComponent$1.run(AbstractComponent.java:240)
       at org.olat.core.logging.activity.ThreadLocalUserActivityLoggerInstaller.runWithUserActivityLogger(ThreadLocalUserActivityLoggerInstaller.java:108)
       at org.olat.core.gui.components.AbstractComponent.fireEvent(AbstractComponent.java:238)
       at org.olat.core.gui.components.tree.MenuTree.handleClick(MenuTree.java:297)
       at org.olat.core.gui.components.tree.MenuTree.doDispatchRequest(MenuTree.java:196)
       at org.olat.core.gui.components.AbstractComponent.dispatchRequest(AbstractComponent.java:193)
       at org.olat.core.gui.components.Window.doDispatchToComponent(Window.java:1201)
       at org.olat.core.gui.components.Window.dispatchRequest(Window.java:398)
      ... 39 more Caused by: org.hibernate.PropertyValueException: not-null property references a null or transient value : org.olat.modules.forms.model.jpa.EvaluationFormParticipationImpl.survey
       at org.hibernate.engine.internal.Nullability.checkNullability(Nullability.java:111)
       at org.hibernate.engine.internal.Nullability.checkNullability(Nullability.java:55)
       at org.hibernate.action.internal.AbstractEntityInsertAction.nullifyTransientReferencesIfNotAlready(AbstractEntityInsertAction.java:116)
       at org.hibernate.action.internal.EntityIdentityInsertAction.execute(EntityIdentityInsertAction.java:72)
       at org.hibernate.engine.spi.ActionQueue.execute(ActionQueue.java:645)
       at org.hibernate.engine.spi.ActionQueue.addResolvedEntityInsertAction(ActionQueue.java:282)
       at org.hibernate.engine.spi.ActionQueue.addInsertAction(ActionQueue.java:263)
       at org.hibernate.engine.spi.ActionQueue.addAction(ActionQueue.java:317)
       at org.hibernate.event.internal.AbstractSaveEventListener.addInsertAction(AbstractSaveEventListener.java:335)
       at org.hibernate.event.internal.AbstractSaveEventListener.performSaveOrReplicate(AbstractSaveEventListener.java:292)
       at org.hibernate.event.internal.AbstractSaveEventListener.performSave(AbstractSaveEventListener.java:198)
       at org.hibernate.event.internal.AbstractSaveEventListener.saveWithGeneratedId(AbstractSaveEventListener.java:128)
       at org.hibernate.event.internal.DefaultPersistEventListener.entityIsTransient(DefaultPersistEventListener.java:192)
       at org.hibernate.event.internal.DefaultPersistEventListener.onPersist(DefaultPersistEventListener.java:135)
       at org.hibernate.event.internal.DefaultPersistEventListener.onPersist(DefaultPersistEventListener.java:62)
       at org.hibernate.internal.SessionImpl.firePersist(SessionImpl.java:788)
       ... 61 more
      

        Attachments

          Activity

            People

            Assignee:
            uhensler Urs Hensler
            Reporter:
            srosse Stéphane Rossé
            Tester:
            Mandy Menzel
            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 - 35 minutes
                35m