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

QTI 1.2: RS in sections with shuffled questions

    XMLWordPrintable

    Details

      Description

      The issue appears with some, not all, tests with a shuffled section.
      Example: https://community.openolat.org/auth/RepositoryEntry/157843457/CourseNode/91383209853906

      It seems produced by the update of dom4j or a library used by dom4j.

      RedScreen on commolat 13.0b8
      2018-11-09 18:31:07,940 [ajp-nio2-8002-exec-6] ERROR AssertException - OLAT::ERROR ^%^ N2-E27 ^%^ org.olat.core.logging 
      
      https://community.openolat.org/auth/RepositoryEntry/157843457/CourseNode/91383209853906
      Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.77 Safari/537.36
      
      **RedScreen** Assessment Instance was null or no sections/items found.
      
      <dispatchinfo>
      	<componentinfo>
      		<compname>start</compname>
      		<compclass>org.olat.core.gui.components.link.Link</compclass>
      		<extendedinfo>n/a</extendedinfo>
      		<event>
      			<class&gt;org.olat.core.gui.control.Event</class&gt;
      			<command>start</command>
      			<tostring>com:start,org.olat.core.gui.control.Event@68ac481</tostring>
      		</event>
      	</componentinfo>
      	<controllerinfo>
      		<controllername>org.olat.course.nodes.iq.IQRunController</controllername>
      		<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.AssertException: Assessment Instance was null or no sections/items found.
      -> at org.olat.modules.iq.IQDisplayController.init(IQDisplayController.java:283)
         at org.olat.modules.iq.IQDisplayController.<init>(IQDisplayController.java:150)
         at org.olat.modules.iq.IQManager.createIQDisplayController(IQManager.java:144)
         at org.olat.course.nodes.iq.IQRunController.event(IQRunController.java:429)
         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)
         at org.olat.core.gui.components.AbstractComponent.fireEvent(AbstractComponent.java:238)
         at org.olat.core.gui.components.link.Link.dispatch(Link.java:200)
         at org.olat.core.gui.components.link.Link.doDispatchRequest(Link.java:187)
         at org.olat.core.gui.components.AbstractComponent.dispatchRequest(AbstractComponent.java:193)
      >>> stack of 2.cause::java.lang.Exception: assertionstackgenerator
      -> at org.olat.core.logging.AssertException.<init>(AssertException.java:53)
         at org.olat.modules.iq.IQDisplayController.init(IQDisplayController.java:283)
         at org.olat.modules.iq.IQDisplayController.<init>(IQDisplayController.java:150)
         at org.olat.modules.iq.IQManager.createIQDisplayController(IQManager.java:144)
         at org.olat.course.nodes.iq.IQRunController.event(IQRunController.java:429)
         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)
         at org.olat.core.gui.components.AbstractComponent.fireEvent(AbstractComponent.java:238)
         at org.olat.core.gui.components.link.Link.dispatch(Link.java:200)
         at org.olat.core.gui.components.link.Link.doDispatchRequest(Link.java:187)
      

        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 - 40 minutes
                40m