java.lang.IllegalStateException: strict servlet API: cannot call getOutputStream() after getWriter()

Oracle Community | 775795 | 5 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

    strict servlet API: cannot call getOutputStream... | Oracle Community

    oracle.com | 1 year ago
    java.lang.IllegalStateException: strict servlet API: cannot call getOutputStream() after getWriter()
  2. 0

    strict servlet API: cannot call getOutputStream() after getWriter()

    Oracle Community | 5 years ago | 775795
    java.lang.IllegalStateException: strict servlet API: cannot call getOutputStream() after getWriter()
  3. 0

    a question about SSOSessionSynchronizationFilter

    Oracle Community | 5 years ago | 775795
    java.lang.IllegalStateException: strict servlet API: cannot call getOutputStream() after getWriter()
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Failed to invoke @ExceptionHandler method: public org.springframework.http.ResponseEntity

    Stack Overflow | 2 years ago | pradeep kumar
    java.lang.IllegalStateException: strict servlet API: cannot call getOutputStream() after getWriter()
  6. 0

    Copy a file to folder from another folder using JSP

    Stack Overflow | 2 years ago
    java.lang.IllegalStateException: strict servlet API: cannot call getOutputStream() after getWriter()

    6 unregistered visitors
    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

      strict servlet API: cannot call getOutputStream() after getWriter()

      at weblogic.servlet.internal.ServletResponseImpl.getOutputStream()
    2. Atmosphere weblogic
      ServletResponseImpl.getOutputStream
      1. weblogic.servlet.internal.ServletResponseImpl.getOutputStream(ServletResponseImpl.java:280)
      1 frame
    3. oracle.osl.lt
      AudioServlet.doPost
      1. oracle.osl.lt.web.servlets.AudioServlet._processGetPlayList(AudioServlet.java:235)
      2. oracle.osl.lt.web.servlets.AudioServlet.doPost(AudioServlet.java:91)
      2 frames
    4. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
      2. javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
      2 frames
    5. Atmosphere weblogic
      FilterChainImpl.doFilter
      1. weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
      2. weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
      3. weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
      4. weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
      5. weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
      5 frames
    6. oracle.security.wls
      SSOSessionSynchronizationFilter.doFilter
      1. oracle.security.wls.filter.SSOSessionSynchronizationFilter.doFilter(SSOSessionSynchronizationFilter.java:276)
      1 frame
    7. Atmosphere weblogic
      FilterChainImpl.doFilter
      1. weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
      1 frame
    8. oracle.security.jps
      JpsAbsFilter$1.run
      1. oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:111)
      1 frame
    9. Java RT
      AccessController.doPrivileged
      1. java.security.AccessController.doPrivileged(Native Method)
      1 frame
    10. oracle.security.jps
      JpsFilter.doFilter
      1. oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
      2. oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:413)
      3. oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:94)
      4. oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:161)
      5. oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
      5 frames
    11. Atmosphere weblogic
      FilterChainImpl.doFilter
      1. weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
      1 frame
    12. oracle.dms.servlet
      DMSServletFilter.doFilter
      1. oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:136)
      1 frame
    13. Atmosphere weblogic
      WebAppServletContext$ServletInvocationAction.run
      1. weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
      2. weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
      3. weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
      4. weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
      5. weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
      5 frames
    14. weblogic.security.acl
      AuthenticatedSubject.doAs
      1. weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
      1 frame
    15. weblogic.security.service
      SecurityManager.runAs
      1. weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
      1 frame
    16. Atmosphere weblogic
      ServletRequestImpl.run
      1. weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
      2. weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
      3. weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
      3 frames
    17. weblogic.work
      ExecuteThread.run
      1. weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
      2. weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
      2 frames