java.lang.IllegalStateException: Cannot forward as OutputStream or Writer has already been obtained

Oracle Community | 3004 | 2 decades ago
  1. 0

    Exception on second forward

    Oracle Community | 2 decades ago | 3004
    java.lang.IllegalStateException: Cannot forward as OutputStream or Writer has already been obtained
  2. 0

    db:: 3.76::Cannot forward. The response has already been committed 98

    hivmr.com | 4 months ago
    java.lang.IllegalStateException: Cannot forward as OutputStream or Writer has already been obtained
  3. 0

    Displaying a session timeout page

    Oracle Community | 2 decades ago | 807556
    java.lang.IllegalStateException: Cannot forward as OutputStream or Writer has already been obtained
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    ErrorPage does not work when a jsp includes another jsp that throws an exception BugRat Report#78

    Apache Bugzilla | 2 decades ago | iblesa
    java.lang.IllegalStateException: Cannot forward as OutputStream or Writer has already been obtained at org.apache.tomcat.facade.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:150) at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:414) at org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:438) at _0002fjsp_00032_0002ejspjsp2_jsp_5._jspService(_0002fjsp_00032_0002ejspjsp2_jsp_5.java:70)
  6. 0

    Problem with Response.sendRedirect()--Recursive Error -- Writer or Stream already obtained

    Google Groups | 2 decades ago | Gopi
    java.lang.IllegalStateException: ERROR: Cannot forward. Writer or Stream already obtained.

    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.IllegalStateException

      Cannot forward as OutputStream or Writer has already been obtained

      at org.apache.tomcat.core.RequestDispatcherImpl.forward()
    2. org.apache.tomcat
      RequestDispatcherImpl.forward
      1. org.apache.tomcat.core.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:130)
      1 frame
    3. com.iplanet.jato
      ViewBeanBase.forwardTo
      1. com.iplanet.jato.view.ViewBeanBase.forward(ViewBeanBase.java:232)
      2. com.iplanet.jato.view.ViewBeanBase.forwardTo(ViewBeanBase.java:204)
      2 frames
    4. EformsApp.eforms
      pgReqfoldViewBean.handleSubmitButtonRequest
      1. EformsApp.eforms.pgReqfoldViewBean.handleSubmitButtonRequest(pgReqfoldViewBean.java:1114)
      1 frame
    5. Java RT
      Method.invoke
      1. java.lang.reflect.Method.invoke(Native Method)
      1 frame
    6. com.iplanet.jato
      ApplicationServletBase.doPost
      1. com.iplanet.jato.view.RequestHandlingViewBase.handleRequest(RequestHandlingViewBase.java:341)
      2. com.iplanet.jato.view.ViewBeanBase.invokeRequestHandlerInternal(ViewBeanBase.java:481)
      3. com.iplanet.jato.view.ViewBeanBase.invokeRequestHandler(ViewBeanBase.java:431)
      4. com.iplanet.jato.ApplicationServletBase.dispatchRequest(ApplicationServletBase.java:645)
      5. com.iplanet.jato.ApplicationServletBase.processRequest(ApplicationServletBase.java:431)
      6. com.iplanet.jato.ApplicationServletBase.doPost(ApplicationServletBase.java:296)
      6 frames
    7. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
      2. javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      2 frames
    8. org.apache.tomcat
      HttpConnectionHandler.processConnection
      1. org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.java:503)
      2. org.apache.tomcat.core.ContextManager.service(ContextManager.java:559)
      3. org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:160)
      3 frames