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 Liferay Issues by Waldemar Kłaczyński, 2 years ago
via Liferay Issues by Waldemar Kłaczyński, 1 year ago
via liferay.com by Unknown author, 2 years ago
java.lang.IllegalStateException: Cannot obtain Writer because OutputStream is already in use	at com.liferay.portal.kernel.servlet.StringServletResponse.getWriter(StringServletResponse.java:111)	at org.apache.jasper.runtime.JspWriterImpl.initOut(JspWriterImpl.java:125)	at org.apache.jasper.runtime.JspWriterImpl.flushBuffer(JspWriterImpl.java:118)	at org.apache.jasper.runtime.PageContextImpl.release(PageContextImpl.java:180)	at org.apache.jasper.runtime.JspFactoryImpl.internalReleasePageContext(JspFactoryImpl.java:118)	at org.apache.jasper.runtime.JspFactoryImpl.releasePageContext(JspFactoryImpl.java:77)	at org.apache.jsp.html.common.themes.portal_jsp._jspService(portal_jsp.java:757)	at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)	at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)	at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:369)	at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:322)	at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:249)	at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)	at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:638)	at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:543)	at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:480)	at com.liferay.portal.struts.StrutsUtil.include(StrutsUtil.java:135)	at com.liferay.portal.struts.PortalRequestProcessor.doInclude(PortalRequestProcessor.java:265)	at org.apache.struts.tiles.TilesRequestProcessor.processTilesDefinition(TilesRequestProcessor.java:237)	at org.apache.struts.tiles.TilesRequestProcessor.processForwardConfig(TilesRequestProcessor.java:302)	at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:241)	at com.liferay.portal.struts.PortalRequestProcessor.process(PortalRequestProcessor.java:152)	at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)	at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)	at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)