[OPENSYMPHONY-1] Sitemesh 2.0.2 - Tomcat IllegalStateException Created: 18/Dec/03  Updated: 18/Dec/03

Status: Open
Project: opensymphony
Component/s: www
Affects Version/s: current
Fix Version/s: milestone 1

Type: Bug Priority: Major
Reporter: sadish Assignee: opensymphony-issues
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: All
Platform: All


Issuezilla Id: 1

 Description   

Hi,

I tried Sitemesh 2.0.2 in varous Tomcat 4 & 5 versions. I get the following:
Error Description:

The server encountered an internal error () that prevented it from fulfilling this
request

java.lang.IllegalStateException: getOutputStream() has already been called for this
response
org.apache.coyote.tomcat5.CoyoteResponse.getWriter
(CoyoteResponse.java:611)
org.apache.coyote.tomcat5.CoyoteResponseFacade.getWriter
(CoyoteResponseFacade.java:190)
javax.servlet.ServletResponseWrapper.getWriter
(ServletResponseWrapper.java:156)
org.apache.jasper.runtime.JspWriterImpl.initOut(JspWriterImpl.java:165)
org.apache.jasper.runtime.JspWriterImpl.flushBuffer
(JspWriterImpl.java:158)
org.apache.jasper.runtime.JspWriterImpl.flush(JspWriterImpl.java:201)
org.apache.jasper.runtime.JspRuntimeLibrary.include
(JspRuntimeLibrary.java:990)
org.apache.jasper.runtime.PageContextImpl.include
(PageContextImpl.java:621)
com.opensymphony.module.sitemesh.taglib.page.ApplyDecoratorTag.doEn
dTag(ApplyDecoratorTag.java:254)
org.apache.jsp.decorators.main_jsp._jspx_meth_page_applyDecorator_0
(main_jsp.java:214)
org.apache.jsp.decorators.main_jsp._jspService(main_jsp.java:94)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:133)
javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
org.apache.jasper.servlet.JspServletWrapper.service
(JspServletWrapper.java:311)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:301)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:248)
javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
com.opensymphony.module.sitemesh.filter.PageFilter.applyDecorator
(PageFilter.java:169)
com.opensymphony.module.sitemesh.filter.PageFilter.doFilter
(PageFilter.java:68)






Generated at Wed Sep 02 13:09:13 UTC 2015 using JIRA 6.2.3#6260-sha1:63ef1d6dac3f4f4d7db4c1effd405ba38ccdc558.