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

Indicate a non-readable QTI 2.1 test with a message and not a red screen

    XMLWordPrintable

    Details

      Description

      The runtime indicate already with an error message that a test is not readable but not if an author jump directly to the edit mode.

      2017-09-21 14:32:20,623 [ajp-nio2-8009-exec-4] ERROR OLATRuntimeException - OLAT::ERROR ^%^ N1-E26 ^%^ org.olat.core.logging
      
      https://www.xyz.de/auth/RepositorySite/0/My/0 ^%^ Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:55.0) Gecko/20100101 Firefox/55.0
      **RedScreen** null
      
      <dispatchinfo>
      	<componentinfo>
      		<compname>ffo_main_entries</compname>
      		<compclass>org.olat.core.gui.components.form.flexible.impl.FormWrapperContainer</compclass>
      		<extendedinfo>n/a</extendedinfo>
      		<event>
      			<class&gt;org.olat.core.gui.components.form.flexible.impl.elements.table.SelectionEvent</class&gt;
      			<command>edit</command>
      			<tostring>com:edit,org.olat.core.gui.components.form.flexible.impl.elements.table.SelectionEvent@2f6e29</tostring>
      		</event>
      	</componentinfo>
      	<controllerinfo>
      		<controllername>org.olat.repository.ui.author.AuthorListController</controllername>
      		<controllername>org.olat.repository.ui.author.OverviewAuthoringController</controllername>
      		<controllername>org.olat.core.commons.fullWebApp.BaseFullWebappController</controllername>
      	</controllerinfo>
      </dispatchinfo>
       
      >>> stack of 1.cause::org.olat.core.logging.OLATRuntimeException: null
      -> at org.olat.core.gui.exception.ExceptionWindowController.<init>(ExceptionWindowController.java:116)
         at org.olat.core.gui.exception.MsgFactory.createMessageChiefController(MsgFactory.java:57)
         at org.olat.core.gui.exception.MsgFactory.createMessageChiefController(MsgFactory.java:46)
         at org.olat.core.gui.components.Window.dispatchRequest(Window.java:549)
         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:289)
         at org.olat.core.servlets.OpenOLATServlet.doPost(OpenOLATServlet.java:232)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:661)
      >>> stack of 2.cause::java.lang.NullPointerException: null
      -> at org.olat.ims.qti21.ui.editor.AssessmentTestEditorAndComposerTreeModel.<init>(AssessmentTestEditorAndComposerTreeModel.java:54)
         at org.olat.ims.qti21.ui.editor.AssessmentTestComposerController.updateTreeModel(AssessmentTestComposerController.java:359)
         at org.olat.ims.qti21.ui.editor.AssessmentTestComposerController.<init>(AssessmentTestComposerController.java:233)
         at org.olat.ims.qti21.repository.handlers.QTI21AssessmentTestHandler.createEditorController(QTI21AssessmentTestHandler.java:365)
         at org.olat.repository.ui.RepositoryEntryRuntimeController.doEdit(RepositoryEntryRuntimeController.java:710)
         at org.olat.repository.ui.RepositoryEntryRuntimeController.activate(RepositoryEntryRuntimeController.java:449)
         at org.olat.core.commons.fullWebApp.BaseFullWebappController.activate(BaseFullWebappController.java:1259)
         at org.olat.NewControllerFactory.launch(NewControllerFactory.java:252)
         at org.olat.NewControllerFactory.launch(NewControllerFactory.java:148)
         at org.olat.repository.ui.author.AuthorListController.launchEditor(AuthorListController.java:1068)
         at org.olat.repository.ui.author.AuthorListController.formInnerEvent(AuthorListController.java:615)
      

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