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

Oracle Community | 3236432 | 7 months ago
  1. 0

    Reports 12c click on submit button!

    Oracle Community | 7 months ago | 3236432
    java.lang.IllegalStateException: strict servlet API: cannot call getOutputStream() after getWriter()
  2. 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()
  3. 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()
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    XI 3.1 Service Pack 5 & FP5.3 Issues

    forumtopics.com | 8 months 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:313)
      1 frame
    3. oracle.reports.rwclient
      RWClient.doPost
      1. oracle.reports.rwclient.RWWriter.getOutputStream(RWWriter.java:263)
      2. oracle.reports.rwclient.RWReportRunner.sendFile(RWReportRunner.java:368)
      3. oracle.reports.rwclient.RWReportRunner.getMainFile(RWReportRunner.java:171)
      4. oracle.reports.rwclient.ServletCmdMgr.handleCmdGetjob(ServletCmdMgr.java:1426)
      5. oracle.reports.rwclient.CommandManager.handleWebCommand(CommandManager.java:94)
      6. oracle.reports.rwclient.ServletCmdMgr.handleWebCommand(ServletCmdMgr.java:369)
      7. oracle.reports.rwclient.RWClient.handleWebCommand(RWClient.java:1312)
      8. oracle.reports.rwclient.RWClient.processRequest(RWClient.java:1900)
      9. oracle.reports.rwclient.RWClient.doPost(RWClient.java:789)
      9 frames
    4. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
      2. javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
      2 frames
    5. Atmosphere weblogic
      FilterChainImpl.doFilter
      1. weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:286)
      2. weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:260)
      3. weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:137)
      4. weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:350)
      5. weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:25)
      6. weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:78)
      6 frames
    6. oracle.security.jps
      JpsAbsFilter$1.run
      1. oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:141)
      1 frame
    7. Java RT
      AccessController.doPrivileged
      1. java.security.AccessController.doPrivileged(Native Method)
      1 frame
    8. oracle.security.jps
      JpsFilter.doFilter
      1. oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)
      2. oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:649)
      3. oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:124)
      4. oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:232)
      5. oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:94)
      5 frames
    9. Atmosphere weblogic
      FilterChainImpl.doFilter
      1. weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:78)
      1 frame
    10. oracle.dms.servlet
      DMSServletFilter.doFilter
      1. oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:224)
      1 frame
    11. Atmosphere weblogic
      WebAppServletContext$ServletInvocationAction.run
      1. weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:78)
      2. weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3654)
      3. weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3620)
      3 frames
    12. weblogic.security.acl
      AuthenticatedSubject.doAs
      1. weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:326)
      1 frame
    13. weblogic.security.service
      SecurityManager.runAsForUserCode
      1. weblogic.security.service.SecurityManager.runAsForUserCode(SecurityManager.java:196)
      1 frame
    14. weblogic.servlet.provider
      WlsSubjectHandle.run
      1. weblogic.servlet.provider.WlsSecurityProvider.runAsForUserCode(WlsSecurityProvider.java:203)
      2. weblogic.servlet.provider.WlsSubjectHandle.run(WlsSubjectHandle.java:71)
      2 frames
    15. Atmosphere weblogic
      ServletRequestImpl.run
      1. weblogic.servlet.internal.WebAppServletContext.doSecuredExecute(WebAppServletContext.java:2423)
      2. weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2280)
      3. weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2258)
      4. weblogic.servlet.internal.ServletRequestImpl.runInternal(ServletRequestImpl.java:1626)
      5. weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1586)
      5 frames
    16. weblogic.servlet.provider
      ContainerSupportProviderImpl$WlsRequestExecutor.run
      1. weblogic.servlet.provider.ContainerSupportProviderImpl$WlsRequestExecutor.run(ContainerSupportProviderImpl.java:270)
      1 frame
    17. weblogic.invocation
      ComponentInvocationContextManager.runAs
      1. weblogic.invocation.ComponentInvocationContextManager._runAs(ComponentInvocationContextManager.java:348)
      2. weblogic.invocation.ComponentInvocationContextManager.runAs(ComponentInvocationContextManager.java:333)
      2 frames
    18. weblogic.work
      ExecuteThread.run
      1. weblogic.work.LivePartitionUtility.doRunWorkUnderContext(LivePartitionUtility.java:54)
      2. weblogic.work.PartitionUtility.runWorkUnderContext(PartitionUtility.java:41)
      3. weblogic.work.SelfTuningWorkManagerImpl.runWorkUnderContext(SelfTuningWorkManagerImpl.java:617)
      4. weblogic.work.ExecuteThread.execute(ExecuteThread.java:397)
      5. weblogic.work.ExecuteThread.run(ExecuteThread.java:346)
      5 frames