java.lang.IllegalStateException

Cannot use ServletOutputStream because a PrintWriter is being used. User getWriter() instead. This included request was probably nested in a Jsp BodyTag

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web2

  • via Unknown by Eleanor,
  • via Unknown by 3004,
  • Stack trace

    • java.lang.IllegalStateException: Cannot use ServletOutputStream because a PrintWriter is being used. User getWriter() instead. This included request was probably nested in a Jsp BodyTag at weblogic.servlet.jsp.NestedBodyResponse.getOutputStream(NestedBodyResponse.java:21) at javax.servlet.ServletResponseWrapper.getOutputStream(ServletResponseWrapper.java:136) at weblogic.servlet.internal.DelegateChunkWriter.getWriter(DelegateChunkWriter.java:132) at weblogic.servlet.internal.DelegateChunkWriter.print(DelegateChunkWriter.java:99) at weblogic.servlet.internal.ChunkOutputWrapper.print(ChunkOutputWrapper.java:136) at weblogic.servlet.jsp.JspWriterImpl.print(JspWriterImpl.java:204) at weblogic.management.console.webapp._common.__simpleformtag_javascript._jspService(__simpleformtag_javascript.java:99) at weblogic.servlet.jsp.JspBase.service(JspBase.java:27) at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:262) at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:198) at weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImpl.java:446) at weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImpl.java:298) at weblogic.management.console.tags.IncludeTag.doDispatcherInclude(IncludeTag.java:122) at weblogic.management.console.tags.IncludeTag.doStartTag(IncludeTag.java:83) at weblogic.management.console.tags.SimpleFormTag.doStartTag(SimpleFormTag.java:129) at weblogic.management.console.tags.ThreeColumnFormTag.doStartTag(ThreeColumnFormTag.java:44) at weblogic.management.console.webapp._domain.__connectorcomponent._jspService(__connectorcomponent.java:267) at weblogic.servlet.jsp.JspBase.service(JspBase.java:27) at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:262) at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:198) at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:232) at weblogic.servlet.jsp.PageContextImpl.forward(PageContextImpl.java:120) at weblogic.management.console.actions.ForwardAction.perform(ForwardAction.java:35) at weblogic.management.console.actions.internal.ActionServlet.doAction(ActionServlet.java:171) at weblogic.management.console.actions.internal.ActionServlet.doGet(ActionServlet.java:91) at javax.servlet.http.HttpServlet.service(HttpServlet.java:740) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:262) at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:198) at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:2643) at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2401) at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139) at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    We couldn't find other users who have seen this exception.