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

RS: cannot launch a QTI 1.2 test

    XMLWordPrintable

    Details

      Description

      The case is not new, but it is random and doesn't happen on an instance with few traffic.

      2020-05-26 15:50:45.100 [ajp-nio2-8075-exec-18] ERROR OLATRuntimeException ^%^ I386293-J129041 ^%^ 
      org.olat.core.logging.OLATRuntimeException
      https://xyz.openolat.com/auth/RepositoryEntry/79462414/Editor/0
      Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.122 Safari/537.36
      **RedScreen**
      
      <dispatchinfo>
      	<componentinfo>
      		<compname>vc_exitDialog</compname>
      		<compclass>org.olat.core.gui.components.velocity.VelocityContainer</compclass>
      		<extendedinfo>page:org/olat/ims/qti/editor/_content/exitDialog.html </extendedinfo>
      		<event>
      			<class&gt;org.olat.core.gui.control.Event</class&gt;
      			<command>exit.save</command>
      			<tostring>com:exit.save,org.olat.core.gui.control.Event@abab446c</tostring>
      		</event>
      	</componentinfo>
      	<controllerinfo>
      		<controllername>org.olat.ims.qti.editor.QTIEditorMainController</controllername>
      		<controllername>org.olat.ims.qti.QTIRuntimeController</controllername>
      		<controllername>org.olat.core.commons.fullWebApp.BaseFullWebappController</controllername>
      	</controllerinfo>
      </dispatchinfo>
      
      org.olat.core.logging.OLATRuntimeException
      Caused by: java.lang.NullPointerException
       at org.olat.core.util.session.UserSessionManager.getUserSession(UserSessionManager.java:115)
       at org.olat.core.util.session.UserSessionManager.getUserSession(UserSessionManager.java:144)
       at org.olat.core.gui.UserRequestImpl.getUserSession(UserRequestImpl.java:166)
       at org.olat.core.gui.UserRequestImpl.getLocale(UserRequestImpl.java:188)
       at org.olat.ims.qti.repository.handlers.QTITestHandler$1.create(QTITestHandler.java:178)
       at org.olat.repository.ui.RepositoryEntryRuntimeController.launchContent(RepositoryEntryRuntimeController.java:1105)
       at org.olat.ims.qti.QTIRuntimeController.event(QTIRuntimeController.java:117)
       at org.olat.core.gui.control.DefaultController$1.run(DefaultController.java:250)
       at org.olat.core.logging.activity.ThreadLocalUserActivityLoggerInstaller.runWithUserActivityLogger(ThreadLocalUserActivityLoggerInstaller.java:108)
       at org.olat.core.gui.control.DefaultController.dispatchEvent(DefaultController.java:247)
       at org.olat.core.gui.control.DefaultController.fireEvent(DefaultController.java:194)
       at org.olat.ims.qti.editor.QTIEditorMainController.removeLocksAndExit(QTIEditorMainController.java:693)
       at org.olat.ims.qti.editor.QTIEditorMainController.saveAndExit(QTIEditorMainController.java:714)
       at org.olat.ims.qti.editor.QTIEditorMainController.event(QTIEditorMainController.java:557)
       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.velocity.VelocityContainer.doDispatchRequest(VelocityContainer.java:114)
       at org.olat.core.gui.components.AbstractComponent.dispatchRequest(AbstractComponent.java:193)
       at org.olat.core.gui.components.Window.doDispatchToComponent(Window.java:1249)
       at org.olat.core.gui.components.Window.dispatchRequest(Window.java:429)
       ... 39 more
      

        Attachments

          Activity

            People

            Assignee:
            srosse Stéphane Rossé
            Reporter:
            srosse Stéphane Rossé
            Tester:
            Florian Gnägi
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: