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

RS if in assessment tool if portfolio disabled with course having portfolio elements

    XMLWordPrintable

    Details

      Description

      Happens if someone import a course with portfolio course elements in an OpenOLAT instance where portfolio is disabled and use the assessment tool.

      2017-03-01 12:02:53,576 [ajp-nio2-8002-exec-7] ERROR OLATRuntimeException - OLAT::ERROR ^%^ N2-E3845
      https://xyz.openolat.org/auth/RepositoryEntry/222527504/CourseNode/84177823936700
      Mozilla/5.0 (Windows NT 6.1; WOW64; rv:51.0) Gecko/20100101 Firefox/51.0 ^%^ **RedScreen**
      
      <dispatchinfo>
      	<componentinfo>
      		<compname>users</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>users</command>
      			<tostring>com:users,org.olat.core.gui.control.Event@6a68e27</tostring>
      		</event>
      	</componentinfo>
      	<controllerinfo>
      		<controllername>org.olat.course.assessment.ui.tool.AssessmentToolController</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: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.course.assessment.AssessmentHelper.addAssessableNodesToList(AssessmentHelper.java:381)
         at org.olat.course.assessment.AssessmentHelper.addAssessableNodesToList(AssessmentHelper.java:375)
         at org.olat.course.assessment.AssessmentHelper.addAssessableNodesToList(AssessmentHelper.java:375)
         at org.olat.course.assessment.AssessmentHelper.assessmentTreeModel(AssessmentHelper.java:366)
         at org.olat.course.assessment.ui.tool.AssessmentCourseTreeController.<init>(AssessmentCourseTreeController.java:96)
         at org.olat.course.assessment.ui.tool.AssessmentToolController.doSelectUsersView(AssessmentToolController.java:241)
         at org.olat.course.assessment.ui.tool.AssessmentToolController.event(AssessmentToolController.java:150)
         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)
      

        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 - 1 hour, 15 minutes
                1h 15m