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

Grading: RS after submit of test if grader not available

    XMLWordPrintable

    Details

      Description

      The test is configured with grading but there is no grader available at the moment where a participant submit its test. The grading service cannot send an email and makes a red screen.

      2020-06-06 16:43:12.032 [ajp-nio2-8038-exec-68] ERROR OLATRuntimeException ^%^ I901359-J486958
      org.olat.core.logging.OLATRuntimeException 
      https://openolat.xyz.ch/auth/RepositoryEntry/57803698/CourseNode/101585949201829
      Mozilla/5.0 (iPhone; CPU iPhone OS 13_4_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.1 Mobile/15E148 Safari/604.1
      **RedScreen**
      
      <dispatchinfo>
      	<componentinfo>
      		<compname>link_0</compname>
      		<compclass>org.olat.core.gui.components.link.Link</compclass>
      		<extendedinfo>n/a</extendedinfo>
      		<event>
      			<class&gt;org.olat.core.gui.control.Event</class&gt;
      			<command>link_0</command>
      			<tostring>com:link_0,org.olat.core.gui.control.Event@be46a54a</tostring>
      		</event>
      	</componentinfo>
      	<controllerinfo>
      		<controllername>org.olat.core.gui.control.generic.modal.DialogBoxController</controllername>
      		<controllername>org.olat.ims.qti21.ui.AssessmentTestDisplayController</controllername>
      		<controllername>org.olat.course.nodes.iq.QTI21AssessmentRunController</controllername>
      		<controllername>org.olat.course.run.RunMainController</controllername>
      		<controllername>org.olat.course.run.CourseRuntimeController</controllername>
      		<controllername>org.olat.core.commons.fullWebApp.BaseFullWebappController</controllername>
      	</controllerinfo>
      </dispatchinfo>
      
      Caused by: java.lang.NullPointerException
       at org.olat.modules.grading.manager.GradingServiceImpl.doSendEmails(GradingServiceImpl.java:261)
       at org.olat.modules.grading.manager.GradingServiceImpl.sendGraderAsssignmentNotification(GradingServiceImpl.java:729)
       at org.olat.modules.grading.manager.GradingServiceImpl.assignGrader(GradingServiceImpl.java:800)
       at org.olat.course.nodes.iq.QTI21AssessmentRunController.submit(QTI21AssessmentRunController.java:890)
       at org.olat.ims.qti21.ui.AssessmentTestDisplayController.processOutcomeVariables(AssessmentTestDisplayController.java:1774)
       at org.olat.ims.qti21.ui.AssessmentTestDisplayController.computeAndRecordTestAssessmentResult(AssessmentTestDisplayController.java:1746)
       at org.olat.ims.qti21.ui.AssessmentTestDisplayController.processEndTestPart(AssessmentTestDisplayController.java:1375)
       at org.olat.ims.qti21.ui.AssessmentTestDisplayController.event(AssessmentTestDisplayController.java:501)
       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.core.gui.control.generic.modal.DialogBoxController.event(DialogBoxController.java:221)
       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.link.Link.dispatch(Link.java:214)
       at org.olat.core.gui.components.link.Link.doDispatchRequest(Link.java:201)
       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:
            Mandy Menzel
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: