java.lang.ClassCastException: javax.servlet.http.NoBodyResponse

Oracle Community | 807581 | 10 years ago
  1. 0

    ClassCastException: javax.servlet.http.NoBodyResponse

    Oracle Community | 10 years ago | 807581
    java.lang.ClassCastException: javax.servlet.http.NoBodyResponse
  2. 0

    How to redirect user when certain condition is met using REST JAX-RS implementation?

    Stack Overflow | 6 years ago | masato-san
    java.lang.ClassCastException: $Proxy109 cannot be cast to org.apache.catalina.core.ApplicationHttpRequest
  3. 0

    [JASPIC_SPEC-7] Support for RequestDispatcher#forward in auth module - Java.net JIRA

    java.net | 3 months ago
    java.lang.ClassCastException: org.apache.catalina.connector.Request cannot be cast to javax.servlet.ServletRequestWrapper
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    [GSS](6.4.z) Valve triggers ClassCastException when forwarding a request

    https://bugzilla.redhat.com/bugzilla/ | 10 months ago | Aaron Ogburn
    java.lang.ClassCastException: org.apache.catalina.connector.Request cannot be cast to javax.servlet.ServletRequestWrapper

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.ClassCastException

      javax.servlet.http.NoBodyResponse

      at org.apache.catalina.core.ApplicationDispatcherForward.getStatus()
    2. Glassfish Core
      ApplicationDispatcher.forward
      1. org.apache.catalina.core.ApplicationDispatcherForward.getStatus(ApplicationDispatcherForward.java:335)
      2. org.apache.catalina.core.ApplicationDispatcherForward.commit(ApplicationDispatcherForward.java:79)
      3. org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:355)
      3 frames
    3. com.zerobase.chaplin
      PostActionServlet.process
      1. com.zerobase.chaplin.action.PostActionServlet.processActionForward(PostActionServlet.java:692)
      2. com.zerobase.chaplin.action.PostActionServlet.process(PostActionServlet.java:336)
      2 frames
    4. struts
      ActionServlet.doGet
      1. org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:492)
      1 frame
    5. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.doHead(HttpServlet.java:281)
      2. javax.servlet.http.HttpServlet.service(HttpServlet.java:724)
      3. javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
      3 frames
    6. com.zerobase.chaplin
      PostActionServlet.service
      1. com.zerobase.chaplin.action.PostActionServlet.service(PostActionServlet.java:114)
      1 frame
    7. Glassfish Core
      StandardPipeline.doInvoke
      1. org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:397)
      2. org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:278)
      3. org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566)
      4. org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:536)
      5. org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:240)
      6. org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:179)
      7. org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566)
      7 frames
    8. Glassfish
      WebPipeline.invoke
      1. com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:73)
      1 frame
    9. Glassfish Core
      StandardPipeline.doInvoke
      1. org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:182)
      2. org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566)
      2 frames
    10. Glassfish
      VirtualServerPipeline.invoke
      1. com.sun.enterprise.web.VirtualServerPipeline.invoke(VirtualServerPipeline.java:120)
      1 frame
    11. Glassfish Core
      ContainerBase.invoke
      1. org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:939)
      2. org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:137)
      3. org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566)
      4. org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:536)
      5. org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:939)
      5 frames
    12. org.apache.coyote
      CoyoteAdapter.service
      1. org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:239)
      1 frame
    13. Glassfish Core
      WorkerThread.run
      1. com.sun.enterprise.web.connector.grizzly.ProcessorTask.invokeAdapter(ProcessorTask.java:667)
      2. com.sun.enterprise.web.connector.grizzly.ProcessorTask.processNonBlocked(ProcessorTask.java:574)
      3. com.sun.enterprise.web.connector.grizzly.ProcessorTask.process(ProcessorTask.java:844)
      4. com.sun.enterprise.web.connector.grizzly.ReadTask.executeProcessorTask(ReadTask.java:287)
      5. com.sun.enterprise.web.connector.grizzly.ReadTask.doTask(ReadTask.java:212)
      6. com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:252)
      7. com.sun.enterprise.web.connector.grizzly.WorkerThread.run(WorkerThread.java:75)
      7 frames