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

RS: statistics QTI 2.1 if question doesn't exists

    XMLWordPrintable

    Details

      Description

      Rare case, probably if an author play with the test (delete questions) and use the test in course and show the statistics at the same time.

      2020-01-16 08:53:18.199 [ajp-nio2-8004-exec-276] ERROR OLATRuntimeException ^%^ I1488587-J189625 ^%^ 
      org.olat.core.logging.OLATRuntimeException 
      https://xyz.ch/auth/RepositoryEntry/375521304/TestStatistics/0/sn100660153058692/0
      Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:72.0) Gecko/20100101 Firefox/72.0
      **RedScreen** null
      
      <dispatchinfo>
      	<componentinfo>
      		<compname>assessmentStatisticsTree</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:100892407260286}</tostring>
      		</event>
      	</componentinfo>
      	<controllerinfo>
      		<controllername>org.olat.course.statistic.StatisticCourseNodesController</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.ui.statistics.QTI21AssessmentItemStatisticsController.<init>(QTI21AssessmentItemStatisticsController.java:95)
       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.course.statistic.StatisticCourseNodesController.doSelectNode(StatisticCourseNodesController.java:217)
       at org.olat.course.statistic.StatisticCourseNodesController.event(StatisticCourseNodesController.java:182)
       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: