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

RS in item editor if it cannot be resolved

    Details

      Description

      Present a message instead of a red screen:

      2017-02-14 10:55:34,203 [ajp-nio2-8005-exec-6] ERROR OLATRuntimeException - OLAT::ERROR ^%^ N5-E11 ^%^ org.olat.core.logging 
      https://olat.xyz.zh.ch/auth/QPool/0/QItemCollection/437583872/QuestionItem/437649412
      Mozilla/5.0 (Windows NT 6.1; WOW64; Trident/7.0; rv:11.0) like Gecko
      **RedScreen**
      
      <dispatchinfo>
      	<componentinfo>
      		<compname>edit</compname>
      		<compclass>org.olat.core.gui.components.link.Link</compclass>
      		<extendedinfo>n/a</extendedinfo>
      		<event>
      			<class>org.olat.core.gui.control.Event</class>
      			<command>edit</command>
      			<tostring>com:edit,org.olat.core.gui.control.Event@2f6e29</tostring>
      		</event>
      	</componentinfo>
      	<controllerinfo>
      		<controllername>org.olat.modules.qpool.ui.QuestionItemDetailsController</controllername>
      		<controllername>org.olat.modules.qpool.ui.QuestionListController</controllername>
      		<controllername>org.olat.modules.qpool.ui.QuestionPoolMainEditorController</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:548)
         at org.olat.core.gui.components.Window.doDispatchRequest(Window.java:241)
         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)
      >>> stack of 2.cause::java.lang.NullPointerException: null
      -> at org.olat.ims.qti21.ui.editor.AssessmentItemEditorController.initItemEditor(AssessmentItemEditorController.java:171)
         at org.olat.ims.qti21.ui.editor.AssessmentItemEditorController.<init>(AssessmentItemEditorController.java:122)
         at org.olat.ims.qti21.pool.QTI21EditorController.<init>(QTI21EditorController.java:76)
         at org.olat.ims.qti21.pool.QTI21QPoolServiceProvider.getEditableController(QTI21QPoolServiceProvider.java:329)
         at org.olat.modules.qpool.ui.QuestionItemDetailsController.doEdit(QuestionItemDetailsController.java:259)
         at org.olat.modules.qpool.ui.QuestionItemDetailsController.event(QuestionItemDetailsController.java:188)
         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:199)
      

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