java.lang.ClassCastException: whatever.Class cannot be cast to whatever.Class at BLAH BLAH BLAH at BLAH BLAH BLAH at org.apache.jsp.validate.index_jsp.doIt(org.apache.jsp.validate.index_jsp:41)

Terracotta | eg.trab | 8 years 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

    Jetty, Classloaders, and Contexts

    Terracotta | 8 years ago | eg.trab
    java.lang.ClassCastException: whatever.Class cannot be cast to whatever.Class at BLAH BLAH BLAH at BLAH BLAH BLAH at org.apache.jsp.validate.index_jsp.doIt(org.apache.jsp.validate.index_jsp:41)

    Root Cause Analysis

    1. java.lang.ClassCastException

      whatever.Class cannot be cast to whatever.Class at BLAH BLAH BLAH at BLAH BLAH BLAH at org.apache.jsp.validate.index_jsp.doIt(org.apache.jsp.validate.index_jsp:41)

      at org.apache.jsp.validate.index_jsp._jspService()
    2. org.apache.jsp
      index_jsp._jspService
      1. org.apache.jsp.validate.index_jsp._jspService(org.apache.jsp.validate.index_jsp:115)
      1 frame
    3. GWT dev
      HttpJspBase.service
      1. org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:93)
      1 frame
    4. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
      1 frame
    5. GWT dev
      JspServlet.service
      1. org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:373)
      2. org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:470)
      3. org.apache.jasper.servlet.JspServlet.service(JspServlet.java:364)
      3 frames
    6. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
      1 frame
    7. Jetty Server
      Dispatcher.forward
      1. org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487)
      2. org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:362)
      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:729)
      6. org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405)
      7. org.mortbay.jetty.servlet.Dispatcher.forward(Dispatcher.java:285)
      8. org.mortbay.jetty.servlet.Dispatcher.forward(Dispatcher.java:126)
      8 frames
    8. com.terracotta.session
      TerracottaDispatcher.forward
      1. com.terracotta.session.TerracottaDispatcher.forward(TerracottaDispatcher.java:29)
      1 frame
    9. Jetty Server
      DefaultServlet.doGet
      1. org.mortbay.jetty.servlet.DefaultServlet.doGet(DefaultServlet.java:463)
      1 frame
    10. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
      2. javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
      2 frames
    11. 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:1097)
      2 frames
    12. com.terracotta.session
      SessionFilter.doFilter
      1. com.terracotta.session.SessionFilter.doHttpFilter(SessionFilter.java:78)
      2. com.terracotta.session.SessionFilter.doFilter(SessionFilter.java:62)
      2 frames
    13. Jetty Server
      SslSocketConnector$SslConnection.run
      1. org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1088)
      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:729)
      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:513)
      14. org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211)
      15. org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:380)
      16. org.mortbay.jetty.bio.SocketConnector$Connection.run(SocketConnector.java:228)
      17. org.mortbay.jetty.security.SslSocketConnector$SslConnection.run(SslSocketConnector.java:635)
      17 frames
    14. Jetty Util
      QueuedThreadPool$PoolThread.run
      1. org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:488)
      1 frame