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

Fix issues with the course element password

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 10.3
    • Component/s: Course
    • Labels:
      None

      Description

      The current code is not multithread. Evaluation is made on an instance which is shared among all users of a course element, the answer of a user or is list of answers are set on the instance and after is the password evaluated.

      2015-05-04 19:01:07,119 [ajp-nio2-8049-exec-586] ERROR OLATRuntimeException - OLAT::ERROR ^%^ N49-E103 
      
      Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_5) AppleWebKit/600.3.18 (KHTML, like Gecko) Version/7.1.3 Safari/537.85.12
      **RedScreen**
      
      >>> 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:528)
         at org.olat.core.gui.components.Window.doDispatchRequest(Window.java:233)
         at org.olat.core.gui.components.AbstractComponent.dispatchRequest(AbstractComponent.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:269)
         at org.olat.core.servlets.OpenOLATServlet.doGet(OpenOLATServlet.java:198)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:618)
      >>> stack of 2.cause::java.lang.NullPointerException: null
      -> at de.bps.course.nodes.CourseNodePasswordManagerImpl.getAnswerContainer(CourseNodePasswordManagerImpl.java:69)
         at org.olat.course.nodes.AbstractAccessableCourseNode.calcAccessAndVisibility(AbstractAccessableCourseNode.java:125)
         at org.olat.course.nodes.GenericCourseNode.eval(GenericCourseNode.java:278)
         at org.olat.course.run.navigation.NavigationHandler.doEvaluateJumpTo(NavigationHandler.java:318)
         at org.olat.course.run.navigation.NavigationHandler.evaluateJumpToCourseNode(NavigationHandler.java:128)
         at org.olat.course.run.RunMainController.updateTreeAndContent(RunMainController.java:411)
         at org.olat.course.run.RunMainController.updateTreeAndContent(RunMainController.java:399)
         at org.olat.course.run.RunMainController.<init>(RunMainController.java:209)
         at org.olat.repository.handlers.CourseHandler$1.create(CourseHandler.java:432)
         at org.olat.repository.ui.RepositoryEntryRuntimeController.launchContent(RepositoryEntryRuntimeController.java:868)
         at org.olat.course.run.CourseRuntimeController.launchContent(CourseRuntimeController.java:1286)
      

        Attachments

          Activity

            People

            • Assignee:
              srosse Stéphane Rossé
              Reporter:
              srosse Stéphane Rossé
              Tester:
              Florian Gnägi
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 2 hours
                2h