java.lang.ClassCastException: org.springframework.session.web.http.SessionRepositoryFilter$SessionRepositoryRequestWrapper$HttpSessionWrapper cannot be cast to org.mortbay.jetty.servlet.AbstractSessionManager$SessionIf

issuehub.io | 6 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    issuehub.io

    issuehub.io | 6 months ago
    java.lang.ClassCastException: org.springframework.session.web.http.SessionRepositoryFilter$SessionRepositoryRequestWrapper$HttpSessionWrapper cannot be cast to org.mortbay.jetty.servlet.AbstractSessionManager$SessionIf

    Root Cause Analysis

    1. java.lang.ClassCastException

      org.springframework.session.web.http.SessionRepositoryFilter$SessionRepositoryRequestWrapper$HttpSessionWrapper cannot be cast to org.mortbay.jetty.servlet.AbstractSessionManager$SessionIf

      at org.mortbay.jetty.servlet.AbstractSessionManager.access()
    2. Jetty Server
      Dispatcher.forward
      1. org.mortbay.jetty.servlet.AbstractSessionManager.access(AbstractSessionManager.java:106)
      2. org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:162)
      3. org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:726)
      4. org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405)
      5. org.mortbay.jetty.servlet.Dispatcher.forward(Dispatcher.java:285)
      6. org.mortbay.jetty.servlet.Dispatcher.forward(Dispatcher.java:126)
      6 frames
    3. Spring MVC
      FrameworkServlet.doGet
      1. org.springframework.web.servlet.view.InternalResourceView.renderMergedOutputModel(InternalResourceView.java:209)
      2. org.springframework.web.servlet.view.AbstractView.render(AbstractView.java:267)
      3. org.springframework.web.servlet.DispatcherServlet.render(DispatcherServlet.java:1225)
      4. org.springframework.web.servlet.DispatcherServlet.processDispatchResult(DispatcherServlet.java:1012)
      5. org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:959)
      6. org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:876)
      7. org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:961)
      8. org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:852)
      8 frames
    4. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
      1 frame
    5. Spring MVC
      FrameworkServlet.service
      1. org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:837)
      1 frame
    6. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
      1 frame
    7. Jetty Server
      ServletHandler$CachedChain.doFilter
      1. org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487)
      2. org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1093)
      2 frames
    8. org.springframework.session
      OncePerRequestFilter.doFilter
      1. org.springframework.session.web.http.SessionRepositoryFilter.doFilterInternal(SessionRepositoryFilter.java:164)
      2. org.springframework.session.web.http.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:80)
      2 frames
    9. Spring
      DelegatingFilterProxy.doFilter
      1. org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:344)
      2. org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:261)
      2 frames
    10. Jetty Server
      SelectChannelEndPoint.run
      1. org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
      2. org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:360)
      3. org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
      4. org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
      5. org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:726)
      6. org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405)
      7. org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:206)
      8. org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
      9. org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
      10. org.mortbay.jetty.Server.handle(Server.java:324)
      11. org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:505)
      12. org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:829)
      13. org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:514)
      14. org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211)
      15. org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:380)
      16. org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:395)
      16 frames
    11. Jetty Util
      QueuedThreadPool$PoolThread.run
      1. org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:488)
      1 frame