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

NPE selecting a course in "My courses"

    XMLWordPrintable

    Details

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

      Description

      The user course environment is not always loaded.

      2017-06-16 13:07:11,604 [ajp-nio2-8026-exec-10] ERROR OLATRuntimeException - OLAT::ERROR ^%^ N26-E17 ^%^ org.olat.core.logging
      
      https://xyz.olat.com/auth/MyCoursesSite/0
      Mozilla/5.0 (Windows NT 6.1; PIA; Trident/7.0; rv:11.0) like Gecko ^%^ **RedScreen**
      
      <dispatchinfo>
      	<componentinfo>
      		<compname>ffo_main_repoentry_table</compname>
      		<compclass>org.olat.core.gui.components.form.flexible.impl.FormWrapperContainer</compclass>
      		<extendedinfo>n/a</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.repository.ui.list.RepositoryEntryListController</controllername>
      		<controllername>org.olat.repository.ui.list.OverviewRepositoryListController</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:549)
         at org.olat.core.gui.components.Window.doDispatchRequest(Window.java:242)
         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.run.CourseRuntimeController.initTools(CourseRuntimeController.java:445)
         at org.olat.course.run.CourseRuntimeController.initToolbar(CourseRuntimeController.java:412)
         at org.olat.repository.ui.RepositoryEntryRuntimeController.initToolbar(RepositoryEntryRuntimeController.java:300)
         at org.olat.repository.ui.RepositoryEntryRuntimeController.<init>(RepositoryEntryRuntimeController.java:237)
         at org.olat.course.run.CourseRuntimeController.<init>(CourseRuntimeController.java:214)
         at org.olat.repository.handlers.CourseHandler.createLaunchController(CourseHandler.java:482)
         at org.olat.course.site.CourseSiteContextEntryControllerCreator.createLaunchController(CourseSiteContextEntryControllerCreator.java:128)
         at org.olat.course.site.CourseSiteContextEntryControllerCreator.createController(CourseSiteContextEntryControllerCreator.java:80)
         at org.olat.NewControllerFactory.launch(NewControllerFactory.java:241)
         at org.olat.NewControllerFactory.launch(NewControllerFactory.java:148)
         at org.olat.repository.ui.list.RepositoryEntryListController.doOpen(RepositoryEntryListController.java:504)
      

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