java.lang.IllegalStateException: Cannot obtain OutputStream because Writer is already in use

Icesoft | Lazarus__ | 6 years ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    Problems trying to use show a pdf file create with jasper icefaces 1.8 liferay

    Icesoft | 6 years ago | Lazarus__
    java.lang.IllegalStateException: Cannot obtain OutputStream because Writer is already in use

    Root Cause Analysis

    1. java.lang.IllegalStateException

      Cannot obtain OutputStream because Writer is already in use

      at com.liferay.portal.kernel.servlet.StringServletResponse.getOutputStream()
    2. Liferay Portal Service
      StringServletResponse.getOutputStream
      1. com.liferay.portal.kernel.servlet.StringServletResponse.getOutputStream(StringServletResponse.java:62)
      1 frame
    3. picas
      JsfUtility.print
      1. picas.JsfUtility.print(JsfUtility.java:714)
      1 frame
    4. org.picas.managedbeans
      AnnunciAz.stampatmp
      1. org.picas.managedbeans.azienda.AnnunciAz.stampatmp(AnnunciAz.java:160)
      1 frame
    5. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:597)
      4 frames
    6. Pax Jsp
      MethodExpressionImpl.invoke
      1. org.apache.el.parser.AstValue.invoke(AstValue.java:170)
      2. org.apache.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:276)
      2 frames
    7. JSF
      ActionListenerImpl.processAction
      1. com.sun.faces.application.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdapter.java:77)
      2. com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:91)
      2 frames
    8. JavaEE 7
      UIViewRoot.processApplication
      1. javax.faces.component.UICommand.broadcast(UICommand.java:383)
      2. javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:447)
      3. javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:752)
      3 frames
    9. JSF
      LifecycleImpl.execute
      1. com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:97)
      2. com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:251)
      3. com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:117)
      3 frames
    10. com.icesoft.faces
      MainServlet.service
      1. com.icesoft.faces.webapp.http.core.JsfLifecycleExecutor.apply(JsfLifecycleExecutor.java:18)
      2. com.icesoft.faces.webapp.http.core.ReceiveSendUpdates.renderCycle(ReceiveSendUpdates.java:132)
      3. com.icesoft.faces.webapp.http.core.ReceiveSendUpdates.service(ReceiveSendUpdates.java:74)
      4. com.icesoft.faces.webapp.http.core.RequestVerifier.service(RequestVerifier.java:31)
      5. com.icesoft.faces.webapp.http.common.standard.PathDispatcherServer.service(PathDispatcherServer.java:24)
      6. com.icesoft.faces.webapp.http.servlet.BasicAdaptingServlet.service(BasicAdaptingServlet.java:16)
      7. com.icesoft.faces.webapp.http.servlet.PathDispatcher.service(PathDispatcher.java:23)
      8. com.icesoft.faces.webapp.http.servlet.SessionDispatcher.service(SessionDispatcher.java:53)
      9. com.icesoft.faces.webapp.http.servlet.SessionVerifier.service(SessionVerifier.java:26)
      10. com.icesoft.faces.webapp.http.servlet.PathDispatcher.service(PathDispatcher.java:23)
      11. com.icesoft.faces.webapp.http.servlet.MainServlet.service(MainServlet.java:131)
      11 frames