java.lang.IllegalStateException: An OutputStream is already in use.

Oracle Community | 2783075 | 2 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    ADF Bridget Potlet is not working in 12c - 12.1.1.1

    Oracle Community | 2 months ago | 2783075
    java.lang.IllegalStateException: An OutputStream is already in use.
  2. 0

    Sameh Nassar: Using Jasper Report In ADF Application (Step-by-Step)

    blogspot.com | 10 months ago
    java.lang.IllegalStateException: strict servlet API: cannot call getWriter() after getOutputStream()
  3. 0

    [OT] Erro download de arquivos - falha na rede?

    Google Groups | 6 months ago | Marcelo Gomes
    java.lang.IllegalStateException: getOutputStream() has already been called for this response
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    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

      An OutputStream is already in use.

      at com.bea.portlet.container.HttpServletResponseImpl.getWriter()
    2. com.bea.portlet
      MimeResponseImpl.getWriter
      1. com.bea.portlet.container.HttpServletResponseImpl.getWriter(HttpServletResponseImpl.java:135)
      2. com.bea.portlet.container.MimeResponseImpl.getWriter(MimeResponseImpl.java:387)
      2 frames
    3. Java Portlet Specification V2.0
      RenderResponseWrapper.getWriter
      1. javax.portlet.filter.RenderResponseWrapper.getWriter(RenderResponseWrapper.java:99)
      2. javax.portlet.filter.RenderResponseWrapper.getWriter(RenderResponseWrapper.java:99)
      2 frames
    4. org.apache.myfaces
      PortletExternalContextImpl.getResponseOutputWriter
      1. org.apache.myfaces.portlet.faces.context.PortletExternalContextImpl.getResponseOutputWriter(PortletExternalContextImpl.java:1749)
      1 frame
    5. JavaEE 7
      ExternalContextWrapper.getResponseOutputWriter
      1. javax.faces.context.ExternalContextWrapper.getResponseOutputWriter(ExternalContextWrapper.java:785)
      2. javax.faces.context.ExternalContextWrapper.getResponseOutputWriter(ExternalContextWrapper.java:785)
      3. javax.faces.context.ExternalContextWrapper.getResponseOutputWriter(ExternalContextWrapper.java:785)
      4. javax.faces.context.ExternalContextWrapper.getResponseOutputWriter(ExternalContextWrapper.java:785)
      4 frames
    6. org.apache.myfaces
      AggregatingViewDeclatationLanguage.renderView
      1. org.apache.myfaces.shared_portlet.view.JspViewDeclarationLanguageBase.renderView(JspViewDeclarationLanguageBase.java:154)
      2. org.apache.myfaces.portlet.faces.application.view.AggregatingViewDeclatationLanguage.renderView(AggregatingViewDeclatationLanguage.java:118)
      2 frames
    7. Apache MyFaces Trinidad API
      ViewDeclarationLanguageWrapper.renderView
      1. org.apache.myfaces.trinidad.view.ViewDeclarationLanguageWrapper.renderView(ViewDeclarationLanguageWrapper.java:101)
      1 frame
    8. org.apache.myfaces
      PortletViewHandlerImpl.renderView
      1. org.apache.myfaces.trinidadinternal.application.ViewDeclarationLanguageFactoryImpl$ChangeApplyingVDLWrapper.renderView(ViewDeclarationLanguageFactoryImpl.java:338)
      2. org.apache.myfaces.portlet.faces.application.PortletViewHandlerImpl.renderView(PortletViewHandlerImpl.java:295)
      2 frames
    9. JavaEE 7
      ViewHandlerWrapper.renderView
      1. javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:337)
      1 frame
    10. org.apache.myfaces
      ViewHandlerImpl.renderView
      1. org.apache.myfaces.trinidadinternal.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:170)
      1 frame
    11. oracle.adfinternal.view
      LifecycleImpl.render
      1. oracle.adfinternal.view.faces.lifecycle.ResponseRenderManager.runRenderView(ResponseRenderManager.java:52)
      2. oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._renderResponse(LifecycleImpl.java:1264)
      3. oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executeRenderResponse(LifecycleImpl.java:1107)
      4. oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:348)
      5. oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:258)
      5 frames
    12. org.apache.myfaces
      BridgeImpl.doFacesRequest
      1. org.apache.myfaces.portlet.faces.bridge.controller.BridgeControllerImpl.doFacesRender(BridgeControllerImpl.java:671)
      2. org.apache.myfaces.portlet.faces.bridge.controller.BridgeControllerImpl.renderPortletBody(BridgeControllerImpl.java:400)
      3. org.apache.myfaces.portlet.faces.bridge.BridgeImpl.doFacesRequest(BridgeImpl.java:153)
      3 frames
    13. MyFaces Portlet Bridge API
      GenericFacesPortlet.doView
      1. javax.portlet.faces.GenericFacesPortlet.doBridgeDispatch(GenericFacesPortlet.java:672)
      2. javax.portlet.faces.GenericFacesPortlet.doRenderDispatchInternal(GenericFacesPortlet.java:638)
      3. javax.portlet.faces.GenericFacesPortlet.doView(GenericFacesPortlet.java:274)
      3 frames
    14. Java Portlet Specification V2.0
      GenericPortlet.doDispatch
      1. javax.portlet.GenericPortlet.doDispatch(GenericPortlet.java:357)
      1 frame
    15. MyFaces Portlet Bridge API
      GenericFacesPortlet.doDispatch
      1. javax.portlet.faces.GenericFacesPortlet.doDispatch(GenericFacesPortlet.java:245)
      1 frame
    16. Java Portlet Specification V2.0
      GenericPortlet.render
      1. javax.portlet.GenericPortlet.render(GenericPortlet.java:262)
      1 frame
    17. oracle.portlet.bridge
      ADFBridgePortlet.render
      1. oracle.portlet.bridge.adf.application.ADFBridgePortlet.render(ADFBridgePortlet.java:279)
      1 frame
    18. com.bea.portlet
      AppContainer.invokeRender
      1. com.bea.portlet.container.PortletStub.doRender(PortletStub.java:1012)
      2. com.bea.portlet.container.FilterChainGenerator.runFilterChain(FilterChainGenerator.java:127)
      3. com.bea.portlet.container.PortletStub.render(PortletStub.java:438)
      4. com.bea.portlet.container.AppContainer.renderStub(AppContainer.java:1158)
      5. com.bea.portlet.container.AppContainer.invokeRender(AppContainer.java:1090)
      5 frames
    19. com.bea.wsrp
      ProducerEndPoint.processNow
      1. com.bea.wsrp.producer.adapter.javaportlet.JavaPortletAdapter.doGetMarkup(JavaPortletAdapter.java:296)
      2. com.bea.wsrp.producer.handlers.markup.MarkupServiceHandler.doGetMarkup(MarkupServiceHandler.java:451)
      3. com.bea.wsrp.producer.handlers.markup.MarkupServiceHandler.doService(MarkupServiceHandler.java:266)
      4. com.bea.wsrp.producer.handlers.AbstractServiceHandler.service(AbstractServiceHandler.java:71)
      5. com.bea.wsrp.producer.container.ProducerEndPoint.processNow(ProducerEndPoint.java:349)
      6. com.bea.wsrp.producer.container.ProducerEndPoint.processNow(ProducerEndPoint.java:250)
      7. com.bea.wsrp.producer.container.ProducerEndPoint.processNow(ProducerEndPoint.java:208)
      7 frames
    20. oracle.portlet.producer
      WSRPGenericProviderImpl.invoke
      1. oracle.portlet.producer.container.endpoint.ws.WSRPGenericProviderImpl.invoke(WSRPGenericProviderImpl.java:71)
      1 frame
    21. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor1655.invoke(Unknown Source)
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      3. java.lang.reflect.Method.invoke(Method.java:498)
      3 frames
    22. oracle.j2ee.ws
      WebServiceServlet.doPost
      1. oracle.j2ee.ws.server.jaxws.ServiceEndpointRuntime.processMessage(ServiceEndpointRuntime.java:424)
      2. oracle.j2ee.ws.server.jaxws.ServiceEndpointRuntime.processMessage(ServiceEndpointRuntime.java:231)
      3. oracle.j2ee.ws.server.jaxws.JAXWSRuntimeDelegate.processMessage(JAXWSRuntimeDelegate.java:498)
      4. oracle.j2ee.ws.server.provider.ProviderProcessor.doEndpointProcessing(ProviderProcessor.java:1351)
      5. oracle.j2ee.ws.server.WebServiceProcessor.invokeEndpointImplementation(WebServiceProcessor.java:1397)
      6. oracle.j2ee.ws.server.provider.ProviderProcessor.doRequestProcessingPhaseTwo(ProviderProcessor.java:707)
      7. oracle.j2ee.ws.server.WebServiceProcessor.doRequestProcessing(WebServiceProcessor.java:691)
      8. oracle.j2ee.ws.server.WebServiceProcessor.processRequest(WebServiceProcessor.java:248)
      9. oracle.j2ee.ws.server.WebServiceProcessor.doService(WebServiceProcessor.java:212)
      10. oracle.j2ee.ws.server.WebServiceServlet.doService(WebServiceServlet.java:696)
      11. oracle.j2ee.ws.server.WebServiceServlet.doPost(WebServiceServlet.java:534)
      11 frames
    23. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
      2. javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
      2 frames
    24. 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
    25. oracle.portlet.producer
      ProducerEndpointFilter.doFilter
      1. oracle.portlet.producer.container.endpoint.ProducerEndpointFilter.doFilter(ProducerEndpointFilter.java:36)
      1 frame
    26. Atmosphere weblogic
      FilterChainImpl.doFilter
      1. weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:78)
      1 frame
    27. oracle.security.jps
      JpsAbsFilter$1.run
      1. oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:141)
      1 frame
    28. Java RT
      AccessController.doPrivileged
      1. java.security.AccessController.doPrivileged(Native Method)
      1 frame
    29. 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:650)
      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
    30. Atmosphere weblogic
      FilterChainImpl.doFilter
      1. weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:78)
      1 frame
    31. oracle.security.jps
      JpsAbsFilter$1.run
      1. oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:141)
      1 frame
    32. Java RT
      AccessController.doPrivileged
      1. java.security.AccessController.doPrivileged(Native Method)
      1 frame
    33. 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:650)
      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
    34. Atmosphere weblogic
      FilterChainImpl.doFilter
      1. weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:78)
      1 frame
    35. oracle.dms.servlet
      DMSServletFilter.doFilter
      1. oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:248)
      1 frame
    36. Atmosphere weblogic
      WebAppServletContext$ServletInvocationAction.run
      1. weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:78)
      2. weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:32)
      3. weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:78)
      4. weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3683)
      5. weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3649)
      5 frames
    37. weblogic.security.acl
      AuthenticatedSubject.doAs
      1. weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:326)
      1 frame
    38. weblogic.security.service
      SecurityManager.runAsForUserCode
      1. weblogic.security.service.SecurityManager.runAsForUserCode(SecurityManager.java:197)
      1 frame
    39. 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
    40. Atmosphere weblogic
      ServletRequestImpl.run
      1. weblogic.servlet.internal.WebAppServletContext.doSecuredExecute(WebAppServletContext.java:2433)
      2. weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2281)
      3. weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2259)
      4. weblogic.servlet.internal.ServletRequestImpl.runInternal(ServletRequestImpl.java:1686)
      5. weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1646)
      5 frames
    41. weblogic.servlet.provider
      ContainerSupportProviderImpl$WlsRequestExecutor.run
      1. weblogic.servlet.provider.ContainerSupportProviderImpl$WlsRequestExecutor.run(ContainerSupportProviderImpl.java:270)
      1 frame
    42. weblogic.invocation
      ComponentInvocationContextManager.runAs
      1. weblogic.invocation.ComponentInvocationContextManager._runAs(ComponentInvocationContextManager.java:348)
      2. weblogic.invocation.ComponentInvocationContextManager.runAs(ComponentInvocationContextManager.java:333)
      2 frames
    43. 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:640)
      4. weblogic.work.ExecuteThread.execute(ExecuteThread.java:406)
      5. weblogic.work.ExecuteThread.run(ExecuteThread.java:346)
      5 frames