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

QTI 2.1: cardinality of an outcome variable is null

    XMLWordPrintable

    Details

      Description

      The cardinality of an outcome variable (assessment test level) is null. I cannot reproduce the issue as all outcome variables generated by the editor has their cardinality properly set.

      2018-12-10 11:15:54,436 [ajp-nio2-8125-exec-9] ERROR OLATRuntimeException - OLAT::ERROR ^%^ N125-E1 ^%^ org.olat.core.logging 
      https://xyz.openolat.com/auth/RepositoryEntry/3244035
      Mozilla/5.0 (Windows NT 6.1; WOW64; Trident/7.0; rv:11.0) like Gecko
      **RedScreen** null
      
      <dispatchinfo>
      	<componentinfo>
      		<compname>ffo_main_at_run</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 ok</command>
      			<tostring>com:validation ok,org.olat.core.gui.control.Event@d62b3f02</tostring>
      		</event>
      	</componentinfo>
      	<controllerinfo>
      		<controllername>org.olat.ims.qti21.ui.AssessmentTestDisplayController$QtiWorksController</controllername>
      		<controllername>org.olat.ims.qti21.ui.AssessmentTestDisplayController</controllername>
      		<controllername>org.olat.ims.qti21.ui.QTI21RuntimeController</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:294)
         at org.olat.core.servlets.OpenOLATServlet.doPost(OpenOLATServlet.java:237)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:661)
      >>> stack of 2.cause::java.lang.NullPointerException: null
      -> at uk.ac.ed.ph.jqtiplus.node.shared.FieldValue.computeValue(FieldValue.java:238)
         at uk.ac.ed.ph.jqtiplus.node.result.OutcomeVariable.getComputedValue(OutcomeVariable.java:176)
         at org.olat.ims.qti21.manager.QTI21ServiceImpl.recordOutcomeVariable(QTI21ServiceImpl.java:1190)
         at org.olat.ims.qti21.manager.QTI21ServiceImpl.recordOutcomeVariables(QTI21ServiceImpl.java:1179)
         at org.olat.ims.qti21.manager.QTI21ServiceImpl.recordTestAssessmentResult(QTI21ServiceImpl.java:714)
         at org.olat.ims.qti21.ui.AssessmentTestDisplayController.computeAndRecordTestAssessmentResult(AssessmentTestDisplayController.java:1692)
         at org.olat.ims.qti21.ui.AssessmentTestDisplayController.handleResponse(AssessmentTestDisplayController.java:1243)
         at org.olat.ims.qti21.ui.AssessmentTestDisplayController.processQTIEvent(AssessmentTestDisplayController.java:717)
         at org.olat.ims.qti21.ui.AssessmentTestDisplayController.event(AssessmentTestDisplayController.java:496)
         at org.olat.core.gui.control.DefaultController$1.run(DefaultController.java:250)
         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 - 50 minutes
                50m