[
https://issues.apache.org/jira/browse/SLING-1842?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12921392#action_12921392
]
Carl Hall commented on SLING-1842:
----------------------------------
Not throwing at all is fine with me. I did consider this path but didn't want
to submit a nasty looking patch before discussing the issue. sendIntro could
return null then the follow up logic make sure that pw != null before trying to
write out HTML. I can update the patch if this is an acceptable solution.
> 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
> 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.