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

QTI 2.1: red screen in statistics if response declaration of FIB is missing

    XMLWordPrintable

    Details

      Description

      The issue happens with a specific test where 2 text interactions don't have a response declaration defined.

      2019-12-05 12:27:26.754 [ajp-nio2-8032-exec-137] ERROR OLATRuntimeException ^%^ I1586334-J245368
      org.olat.core.logging.OLATRuntimeExceptionhttps://olat.bbw.ch/auth/RepositoryEntry/569966594/assessmentToolv2/0/BusinessGroups/0/Node/100482985148690/BusinessGroup/557187147/Node/100737572151907/sn100737572151907/0
      Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_1) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.0.3 Safari/605.1.15
      **RedScreen**
      
      <dispatchinfo>
      	<componentinfo>
      		<compname>qti21StatisticsTree</compname>
      		<compclass>org.olat.core.gui.components.tree.MenuTree</compclass>
      		<extendedinfo>n/a</extendedinfo>
      		<event>
      			<class&amp;gt;org.olat.core.gui.components.tree.TreeEvent</class&amp;gt;
      			<command>ctncl</command>
      			<tostring>TreeEvent:{cmd:ctncl, nodeid:100765216481291}</tostring>
      		</event>
      	</componentinfo>
      	<controllerinfo>
      	<controllername>org.olat.ims.qti21.ui.statistics.QTI21StatisticsToolController</controllername>
      	<controllername>org.olat.course.nodes.iq.IQIdentityListCourseNodeController</controllername>
      	<controllername>org.olat.course.assessment.ui.tool.AssessmentIdentityListCourseTreeController</controllername>
      	<controllername>org.olat.course.assessment.ui.tool.AssessedBusinessGroupCourseNodeListController</controllername>
      	<controllername>org.olat.course.assessment.ui.tool.AssessmentCourseTreeController</controllername>
      	<controllername>org.olat.course.assessment.ui.tool.AssessmentToolController</controllername>
      	<controllername>org.olat.course.run.CourseRuntimeController</controllername>
      	<controllername>org.olat.core.commons.fullWebApp.BaseFullWebappController</controllername>
      	</controllerinfo>
      </dispatchinfo>
      
      Caused by: java.lang.NullPointerException
       at org.olat.ims.qti21.manager.QTI21StatisticsManagerImpl.getTextEntryInteractionsStatistic(QTI21StatisticsManagerImpl.java:533)
       at org.olat.ims.qti21.ui.statistics.interactions.TextEntryInteractionsStatisticsController.getFIB(TextEntryInteractionsStatisticsController.java:94)
       at org.olat.ims.qti21.ui.statistics.interactions.TextEntryInteractionsStatisticsController.<init>(TextEntryInteractionsStatisticsController.java:73)
       at org.olat.ims.qti21.ui.statistics.QTI21AssessmentItemStatisticsController.initInteractionControllers(QTI21AssessmentItemStatisticsController.java:163)
       at org.olat.ims.qti21.ui.statistics.QTI21AssessmentItemStatisticsController.updateData(QTI21AssessmentItemStatisticsController.java:140)
       at org.olat.ims.qti21.ui.statistics.QTI21AssessmentItemStatisticsController.<init>(QTI21AssessmentItemStatisticsController.java:130)
       at org.olat.ims.qti21.ui.statistics.QTI21StatisticResourceResult.createAssessmentItemController(QTI21StatisticResourceResult.java:363)
       at org.olat.ims.qti21.ui.statistics.QTI21StatisticResourceResult.getController(QTI21StatisticResourceResult.java:339)
       at org.olat.ims.qti21.ui.statistics.QTI21StatisticResourceResult.getController(QTI21StatisticResourceResult.java:326)
       at org.olat.ims.qti21.ui.statistics.QTI21StatisticsToolController.doSelectNode(QTI21StatisticsToolController.java:189)
       at org.olat.ims.qti21.ui.statistics.QTI21StatisticsToolController.event(QTI21StatisticsToolController.java:180)
       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
      

        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: