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

NPE in peekview of a structure node with HTML page

    XMLWordPrintable

    Details

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

      egg (tomcat8)

      Description

      Very probably autoboxing of a Boolean cause the NPE

      RedScreen on egg (tomcat8) 8.4.1
      2013-06-14 15:30:42,452 [ajp-8028-2] ERROR OLATRuntimeException - OLAT::ERROR % N8-E930
      Mozilla/5.0 (Windows NT 6.2; WOW64; rv:21.0) Gecko/20100101 Firefox/21.0
      *RedScreen* null ::_::
      <dispatchinfo>
      <componentinfo>
      <compname>luTreeRun</compname>
      <compclass>org.olat.core.gui.components.tree.MenuTree</compclass>
      <extendedinfo>n/a</extendedinfo>
      <event>
      <class>org.olat.core.gui.components.tree.TreeEvent</class>
      <command>ctncl</command>
      <tostring>TreeEvent:

      {cmd:ctncl, nodeid:87733191198358}

      </tostring>
      </event>
      </componentinfo>
      <controllerinfo>
      <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:107)
      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:508)
      at org.olat.core.gui.components.Window.doDispatchRequest(Window.java:226)
      at org.olat.core.gui.components.Component.dispatchRequest(Component.java:192)
      at org.olat.dispatcher.AuthenticatedDispatcher.execute(AuthenticatedDispatcher.java:221)
      at org.olat.core.dispatcher.DispatcherAction.execute(DispatcherAction.java:154)
      at org.olat.core.servlets.OLATServlet.doPost(OLATServlet.java:155)
      at org.olat.core.servlets.OLATServlet.doGet(OLATServlet.java:128)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
      >>> stack of 2.cause::java.lang.NullPointerException: null
      -> at org.olat.course.nodes.sp.SPPeekviewController.<init>(SPPeekviewController.java:73)
      at org.olat.course.nodes.STCourseNode.createPeekViewRunController(STCourseNode.java:243)
      at org.olat.course.nodes.st.STCourseNodeRunController.<init>(STCourseNodeRunController.java:122)
      at org.olat.course.nodes.STCourseNode.createNodeRunConstructionResult(STCourseNode.java:195)
      at org.olat.course.run.navigation.NavigationHandler.doEvaluateJumpTo(NavigationHandler.java:319)
      at org.olat.course.run.navigation.NavigationHandler.evaluateJumpToTreeNode(NavigationHandler.java:219)
      at org.olat.course.run.RunMainController.event(RunMainController.java:481)
      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:235)

        Attachments

          Activity

            People

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