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

RS edit QTI 2.1 test with logout

    XMLWordPrintable

    Details

      Description

      • Create a new test
      • Click the toolbar and answer the default question but don't end the test
      • Edit the test
      • Delete the default question and add a new one
      • Log out
      • Log in without resuming the session
      • In authoring, search the test and start it
      • Red screen
      2017-06-28 15:56:23,526 [ajp-nio2-8069-exec-75] ERROR Window - OLAT::ERROR ^%^ N69-E13 ^%^ org.olat.core.gui.components
      https://edu.xyz.ch/auth/RepositoryEntry/11436044/Editor/0
      Mozilla/5.0 (Windows NT 6.3; WOW64; Trident/7.0; rv:11.0) like Gecko
      **RedScreen** exception while rendering component 'qtirun_cmp' (org.olat.ims.qti21.ui.components.AssessmentTestComponent) listener:[]<br />Message of exception: null
      >>> stack of 1.cause::org.olat.core.logging.OLATRuntimeException: exception while rendering component 'qtirun_cmp' (org.olat.ims.qti21.ui.components.AssessmentTestComponent) listener:[]<br />Message of exception: null
      -> at org.olat.core.gui.components.Window.handleDirties(Window.java:1007)
         at org.olat.core.gui.components.Window.dispatchRequest(Window.java:468)
         at org.olat.core.gui.components.Window.doDispatchRequest(Window.java:242)
         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:292)
         at org.olat.core.servlets.OpenOLATServlet.doPost(OpenOLATServlet.java:235)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:648)
         at org.olat.core.servlets.OpenOLATServlet.service(OpenOLATServlet.java:178)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
      >>> stack of 2.cause::java.lang.NullPointerException: null
      -> at org.olat.ims.qti21.ui.components.AssessmentTestComponentRenderer.renderTestItemBody(AssessmentTestComponentRenderer.java:339)
         at org.olat.ims.qti21.ui.components.AssessmentTestComponentRenderer.renderTestItem(AssessmentTestComponentRenderer.java:224)
         at org.olat.ims.qti21.ui.components.AssessmentTestComponentRenderer.renderTestEvent(AssessmentTestComponentRenderer.java:164)
         at org.olat.ims.qti21.ui.components.AssessmentTestComponentRenderer.render(AssessmentTestComponentRenderer.java:126)
         at org.olat.core.gui.render.Renderer.render(Renderer.java:236)
         at org.olat.core.gui.render.Renderer.render(Renderer.java:186)
         at org.olat.core.gui.render.velocity.VelocityRenderDecorator.doRender(VelocityRenderDecorator.java:676)
         at org.olat.core.gui.render.velocity.VelocityRenderDecorator.render(VelocityRenderDecorator.java:367)
         at sun.reflect.GeneratedMethodAccessor198.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
         at java.lang.reflect.Method.invoke(Method.java:498)
      

        Attachments

          Activity

            People

            Assignee:
            srosse Stéphane Rossé
            Reporter:
            srosse Stéphane Rossé
            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 - 1 hour, 40 minutes
                1h 40m