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

GTA: RS if the documents directory doesn't exists while opening the upload panel

    XMLWordPrintable

    Details

      Description

      In rare case, the directory where the documents are submitted doesn't exist yet and the returned listing is null -> NPE and red screen.

      2019-01-07 20:36:01,204 [ajp-nio2-8021-exec-46] ERROR OLATRuntimeException - OLAT::ERROR ^%^ N1-E47 
      https://lms.xyz.de/auth/RepositoryEntry/2361327617/CourseNode/86383896706245
      Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:64.0) Gecko/20100101 Firefox/64.0 ^%^ **RedScreen**
       
       <dispatchinfo>
       	<componentinfo>
       		<compname>luTreeRun</compname>
       		<compclass>org.olat.core.gui.components.tree.MenuTree</compclass>
       		<extendedinfo>n/a</extendedinfo>
       		<event>
       			<class&gt;org.olat.core.gui.components.tree.TreeEvent</class&gt;
       			<command>ctncl</command>
       			<tostring>TreeEvent:{cmd:ctncl, nodeid:98886440369347}</tostring>
       		</event>
       	</componentinfo>
       	<controllerinfo>
       		<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.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:589)
         at org.olat.core.gui.components.Window.doDispatchRequest(Window.java:282)
         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:294)
         at org.olat.core.servlets.OpenOLATServlet.doPost(OpenOLATServlet.java:237)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:661)
      >>> stack of 2.cause::java.lang.NullPointerException: null
      -> at org.olat.course.nodes.gta.ui.SubmitDocumentsController.updateModel(SubmitDocumentsController.java:180)
         at org.olat.course.nodes.gta.ui.SubmitDocumentsController.<init>(SubmitDocumentsController.java:126)
         at org.olat.course.nodes.gta.ui.GTAParticipantController.setSubmitController(GTAParticipantController.java:274)
         at org.olat.course.nodes.gta.ui.GTAParticipantController.stepSubmit(GTAParticipantController.java:249)
         at org.olat.course.nodes.gta.ui.GTAAbstractController.process(GTAAbstractController.java:213)
         at org.olat.course.nodes.gta.ui.GTAParticipantController.<init>(GTAParticipantController.java:106)
         at org.olat.course.nodes.gta.ui.GTARunController.createRun(GTARunController.java:274)
         at org.olat.course.nodes.gta.ui.GTARunController.<init>(GTARunController.java:126)
         at org.olat.course.nodes.GTACourseNode.createNodeRunConstructionResult(GTACourseNode.java:877)
         at org.olat.course.run.navigation.NavigationHandler.doEvaluateJumpTo(NavigationHandler.java:461)
         at org.olat.course.run.navigation.NavigationHandler.evaluateJumpToTreeNode(NavigationHandler.java:286)
      

        Figma for Jira By 42nd

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