[ 
http://opensource.atlassian.com/projects/roller/browse/ROL-1119?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

David Johnson updated ROL-1119:
-------------------------------

    Fix Version/s: 4.0

Very irritating bug with no obvious solution. 

I have not be able to find any prior calls to getOutputStream() in Roller. The 
exception is triggered by the pageContext.flushBuffer() which appears in a 
finally block in the JSP generated Java code.



> IllegalStateException on 404 page
> ---------------------------------
>
>                 Key: ROL-1119
>                 URL: 
> http://opensource.atlassian.com/projects/roller/browse/ROL-1119
>             Project: Roller
>          Issue Type: Bug
>          Components: User Interface - General
>            Reporter: Allen Gilliland
>            Assignee: Allen Gilliland
>            Priority: Minor
>             Fix For: 4.0
>
>
> There errors come up pretty regularly in the tomcat log files and indicate 
> that something is inappropriately triggering a 404 response after already 
> writing some output.  We need to find where this is happening and make sure 
> that the response code is set before anything is written.
> 2006-04-24 00:08:31 [EMAIL PROTECTED]: Exception Processing 
> ErrorPage[errorCode=404, location=/WEB-INF/jsps/404.jsp]
> java.lang.IllegalStateException: getOutputStream() has already been called 
> for this response
>         at 
> org.apache.coyote.tomcat5.CoyoteResponse.getWriter(CoyoteResponse.java:600)
>         at 
> org.apache.coyote.tomcat5.CoyoteResponseFacade.getWriter(CoyoteResponseFacade.java:164)
>         at 
> org.apache.jasper.runtime.JspWriterImpl.initOut(JspWriterImpl.java:124)
>         at 
> org.apache.jasper.runtime.JspWriterImpl.flushBuffer(JspWriterImpl.java:117)
>         at 
> org.apache.jasper.runtime.JspWriterImpl.flush(JspWriterImpl.java:172)        
> at 
> org.apache.struts.taglib.tiles.InsertTag$InsertHandler.doEndTag(InsertTag.java:887)
>         at 
> org.apache.struts.taglib.tiles.InsertTag.doEndTag(InsertTag.java:460)        
> at 
> org.apache.jsp.WEB_002dINF.jsps._404_jsp._jspx_meth_tiles_insert_0(_404_jsp.java:254)
>         at 
> org.apache.jsp.WEB_002dINF.jsps._404_jsp._jspService(_404_jsp.java:146)
> ...

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://opensource.atlassian.com/projects/roller/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to