[ 
https://issues.apache.org/jira/browse/SLING-1842?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12922022#action_12922022
 ] 

Felix Meschberger commented on SLING-1842:
------------------------------------------

And fixed DefaultErrorHandlerServlet of the Servlet Resolver to only get the 
response writer after setting the character encoding and also reset the 
response before sending back the error message in Rev. 1023693

> 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.

Reply via email to