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

Return box flag null for the task course element make NPE in bulk assessment

    XMLWordPrintable

    Details

      Description

      It is somehow possible that the Boolean Flag which configured the return box flag of the task course element is null. Than it makes an NPE in bulk assessment:

      2014-05-20 08:13:17,267 [ajp-apr-8002-exec-2] ERROR OLATRuntimeException - OLAT::ERROR ^%^ N2-E22 ^%^ org.olat.core.logging 
      Mozilla/5.0 (Windows NT 6.1; WOW64; rv:29.0) Gecko/20100101 Firefox/29.0 ^%^ **RedScreen**
      <dispatchinfo>
      	<componentinfo>
      		<compname>ffo_main_overview</compname>
      		<compclass>org.olat.core.gui.components.form.flexible.impl.FormWrapperContainer</compclass>
      		<extendedinfo></extendedinfo>
      		<event>
      			<class&gt;org.olat.core.gui.components.form.flexible.impl.FormEvent</class&gt;
      			<command>done</command>
      			<tostring>com:done,org.olat.core.gui.components.form.flexible.impl.FormEvent@2f23a1</tostring>
      		</event>
      	</componentinfo>
      	<controllerinfo>
      		<controllername>org.olat.course.assessment.bulk.BulkAssessmentOverviewController</controllername>
      		<controllername>org.olat.course.assessment.AssessmentMainController</controllername>
      		<controllername>org.olat.course.run.RunMainController</controllername>
      		<controllername>org.olat.core.commons.fullWebApp.BaseFullWebappController</controllername>
      		<controllername>org.olat.core.commons.chiefcontrollers.controller.simple.SimpleBaseController</controllername>
      		<controllername>org.olat.core.commons.chiefcontrollers.BaseChiefController</controllername>
      	</controllerinfo>
      </dispatchinfo>
      >>> stack of 1.cause::org.olat.core.logging.OLATRuntimeException: null
      -> at org.olat.core.gui.exception.ExceptionWindowController.<init>(ExceptionWindowController.java:115)
         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:516)
         at org.olat.core.gui.components.Window.doDispatchRequest(Window.java:228)
         at org.olat.core.gui.components.Component.dispatchRequest(Component.java:192)
         at org.olat.dispatcher.AuthenticatedDispatcher.processValidDispatchURI(AuthenticatedDispatcher.java:241)
         at org.olat.dispatcher.AuthenticatedDispatcher.execute(AuthenticatedDispatcher.java:197)
         at org.olat.core.servlets.OpenOLATServlet.executeUserRequest(OpenOLATServlet.java:268)
         at org.olat.core.servlets.OpenOLATServlet.doPost(OpenOLATServlet.java:211)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:647)
      >>> stack of 2.cause::java.lang.NullPointerException: null
      -> at org.olat.course.assessment.model.BulkAssessmentSettings.<init>(BulkAssessmentSettings.java:52)
         at org.olat.course.assessment.manager.BulkAssessmentTask.isBulkAssessable(BulkAssessmentTask.java:284)
         at org.olat.course.assessment.bulk.BulkAssessmentOverviewController.collectBulkAssessableCourseNode(BulkAssessmentOverviewController.java:336)
         at org.olat.course.assessment.bulk.BulkAssessmentOverviewController.collectBulkAssessableCourseNode(BulkAssessmentOverviewController.java:333)
         at org.olat.course.assessment.bulk.BulkAssessmentOverviewController.doNewBulkAssessment(BulkAssessmentOverviewController.java:255)
         at org.olat.course.assessment.bulk.BulkAssessmentOverviewController.formInnerEvent(BulkAssessmentOverviewController.java:162)
         at org.olat.core.gui.components.form.flexible.impl.FormBasicController.event(FormBasicController.java:359)
         at org.olat.core.gui.control.DefaultController.dispatchEvent(DefaultController.java:195)
         at org.olat.core.gui.components.Component$1.run(Component.java:238)
         at org.olat.core.logging.activity.ThreadLocalUserActivityLoggerInstaller.runWithUserActivityLogger(ThreadLocalUserActivityLoggerInstaller.java:108)
         at org.olat.core.gui.components.Component.fireEvent(Component.java:236)
      

        Attachments

          Activity

            People

            Assignee:
            srosse Stéphane Rossé
            Reporter:
            srosse Stéphane Rossé
            Votes:
            0 Vote for this issue
            Watchers:
            1 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 - 30 minutes
                30m