Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Icesoft by Lazarus__, 1 year ago
Cannot obtain OutputStream because Writer is already in use
java.lang.IllegalStateException: Cannot obtain OutputStream because Writer is already in use	at com.liferay.portal.kernel.servlet.StringServletResponse.getOutputStream(StringServletResponse.java:62)	at picas.JsfUtility.print(JsfUtility.java:714)	at org.picas.managedbeans.azienda.AnnunciAz.stampatmp(AnnunciAz.java:160)	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)	at java.lang.reflect.Method.invoke(Method.java:597)	at org.apache.el.parser.AstValue.invoke(AstValue.java:170)	at org.apache.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:276)	at com.sun.faces.application.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdapter.java:77)	at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:91)	at javax.faces.component.UICommand.broadcast(UICommand.java:383)	at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:447)	at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:752)	at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:97)	at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:251)	at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:117)	at com.icesoft.faces.webapp.http.core.JsfLifecycleExecutor.apply(JsfLifecycleExecutor.java:18)	at com.icesoft.faces.webapp.http.core.ReceiveSendUpdates.renderCycle(ReceiveSendUpdates.java:132)	at com.icesoft.faces.webapp.http.core.ReceiveSendUpdates.service(ReceiveSendUpdates.java:74)	at com.icesoft.faces.webapp.http.core.RequestVerifier.service(RequestVerifier.java:31)	at com.icesoft.faces.webapp.http.common.standard.PathDispatcherServer.service(PathDispatcherServer.java:24)	at com.icesoft.faces.webapp.http.servlet.BasicAdaptingServlet.service(BasicAdaptingServlet.java:16)	at com.icesoft.faces.webapp.http.servlet.PathDispatcher.service(PathDispatcher.java:23)	at com.icesoft.faces.webapp.http.servlet.SessionDispatcher.service(SessionDispatcher.java:53)	at com.icesoft.faces.webapp.http.servlet.SessionVerifier.service(SessionVerifier.java:26)	at com.icesoft.faces.webapp.http.servlet.PathDispatcher.service(PathDispatcher.java:23)	at com.icesoft.faces.webapp.http.servlet.MainServlet.service(MainServlet.java:131)