[ https://issues.apache.org/jira/browse/SLING-1842?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12922017#action_12922017 ]
Felix Meschberger commented on SLING-1842: ------------------------------------------ Committed a fix in Rev. 1023692: - the RequestProcessorImpl.handleError methods now check whether the response is committed before even continuing - the response is now wrapped in the handleError methods to fall back to wrap the output stream with a print writer if needed Can you please validate, this works in your case ? thanks. > IllegalStateException in DefaultErrorHandlerServlet when > HttpServletResponse.getOutputStream() already called > ------------------------------------------------------------------------------------------------------------- > > Key: SLING-1842 > URL: https://issues.apache.org/jira/browse/SLING-1842 > Project: Sling > Issue Type: Bug > Components: Servlets > Reporter: Carl Hall > Assignee: Felix Meschberger > Attachments: SLING-1842.diff > > > When getOutputStream() has been called, DefaultErrorHandlerServlet is unable > to write the error page and dumps an exception in the logs. It'd be nice if > it failed a bit more gracefully. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.