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

NPE: user session exception if session persistence enabled

    XMLWordPrintable

    Details

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

      Description

      Sep 06, 2020 5:26:25 PM org.apache.catalina.core.StandardHostValve custom
      SEVERE: Exception Processing ErrorPage[exceptionType=java.lang.Throwable, location=/errors/error.html]
      java.lang.NullPointerException
              at org.olat.core.util.UserSession.getEntry(UserSession.java:190)
              at org.olat.core.util.i18n.I18nManager.attachI18nInfoToThread(I18nManager.java:1342)
              at org.olat.core.servlets.OpenOLATServlet.executeUserRequest(OpenOLATServlet.java:267)
              at org.olat.core.servlets.OpenOLATServlet.doGet(OpenOLATServlet.java:201)
              at javax.servlet.http.HttpServlet.service(HttpServlet.java:622)
              at org.olat.core.servlets.OpenOLATServlet.service(OpenOLATServlet.java:160)
              at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:230)
              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)
              at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:726)
              at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:471)
              at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:394)
              at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:311)
              at org.apache.catalina.core.StandardHostValve.custom(StandardHostValve.java:395)
              at org.apache.catalina.core.StandardHostValve.throwable(StandardHostValve.java:332)
              at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:175)
              at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)
              at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87)
              at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:349)
              at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:784)
              at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)
              at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:802)
              at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1410)
              at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
              at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
              at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
              at java.lang.Thread.run(Thread.java:748)
      

        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: