You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Carsten Ziegeler (JIRA)" <ji...@apache.org> on 2010/10/15 11:29:33 UTC

[jira] Commented: (SLING-1842) IllegalStateException in DefaultErrorHandlerServlet when HttpServletResponse.getOutputStream() already called

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

Carsten Ziegeler commented on SLING-1842:
-----------------------------------------

Maybe we shouldn't throw at all if the writer can't be retrieved?

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