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

QTI 2.1: test corrupted after being placed in a course

    XMLWordPrintable

    Details

      Description

      • Add a valid QTI 2.1 test in a test course element
      • Corrupts the test
      • Try to open the course element
        -> red screen (the check if the test is valid is done after the point where the error happen)
      2018-02-21 13:26:48,275 [ajp-nio2-8009-exec-7] ERROR OLATRuntimeException - OLAT::ERROR ^%^ N1-E145 ^%^ org.olat.core.logging
      
      https://openolat.xyz.de/auth/RepositoryEntry/10747991
      Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:57.0) Gecko/20100101 Firefox/57.0
      
      **RedScreen**
      <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:91664592833986}</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>
      
      >>> stack of 1.cause::org.olat.core.logging.OLATRuntimeException: null
      -> at org.olat.core.gui.exception.ExceptionWindowController.<init>(ExceptionWindowController.java:116)
         at org.olat.core.gui.exception.MsgFactory.createMessageChiefController(MsgFactory.java:57)
         at org.olat.core.gui.exception.MsgFactory.createMessageChiefController(MsgFactory.java:46)
         at org.olat.core.gui.components.Window.dispatchRequest(Window.java:589)
         at org.olat.core.gui.components.Window.doDispatchRequest(Window.java:282)
         at org.olat.core.gui.components.AbstractComponent.dispatchRequest(AbstractComponent.java:193)
         at org.olat.dispatcher.AuthenticatedDispatcher.processValidDispatchURI(AuthenticatedDispatcher.java:273)
         at org.olat.dispatcher.AuthenticatedDispatcher.execute(AuthenticatedDispatcher.java:190)
         at org.olat.core.servlets.OpenOLATServlet.executeUserRequest(OpenOLATServlet.java:289)
         at org.olat.core.servlets.OpenOLATServlet.doPost(OpenOLATServlet.java:232)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:661)
      >>> stack of 2.cause::java.lang.NullPointerException: null
      -> at org.olat.course.nodes.iq.QTI21AssessmentRunController.getAssessmentTestMaxTimeLimit(QTI21AssessmentRunController.java:671)
         at org.olat.course.nodes.iq.QTI21AssessmentRunController.initAssessment(QTI21AssessmentRunController.java:237)
         at org.olat.course.nodes.iq.QTI21AssessmentRunController.<init>(QTI21AssessmentRunController.java:183)
         at org.olat.course.nodes.IQTESTCourseNode.createNodeRunConstructionResult(IQTESTCourseNode.java:191)
         at org.olat.course.run.navigation.NavigationHandler.doEvaluateJumpTo(NavigationHandler.java:461)
         at org.olat.course.run.navigation.NavigationHandler.evaluateJumpToTreeNode(NavigationHandler.java:286)
         at org.olat.course.run.RunMainController.doNodeClick(RunMainController.java:666)
         at org.olat.course.run.RunMainController.event(RunMainController.java:525)
         at org.olat.core.gui.control.DefaultController.dispatchEvent(DefaultController.java:202)
         at org.olat.core.gui.components.AbstractComponent$1.run(AbstractComponent.java:240)
         at org.olat.core.logging.activity.ThreadLocalUserActivityLoggerInstaller.runWithUserActivityLogger(ThreadLocalUserActivityLoggerInstaller.java:108)
      

        Attachments

          Activity

            People

            • Assignee:
              srosse Stéphane Rossé
              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