cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robin Wyles (JIRA)" <j...@apache.org>
Subject [jira] Updated: (COCOON-2217) HttpServletResponseBufferingWrapper throws NPE when response body is empty
Date Wed, 09 Jul 2008 09:29:31 GMT

     [ https://issues.apache.org/jira/browse/COCOON-2217?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Robin Wyles updated COCOON-2217:
--------------------------------

    Attachment: HttpServletResponseBufferingWrapper-empty-response.patch

Patch adds a null check on HttpServletResponseBufferingWrapper's outputStream in the flushBufferedResponse
method.

> HttpServletResponseBufferingWrapper throws NPE when response body is empty
> --------------------------------------------------------------------------
>
>                 Key: COCOON-2217
>                 URL: https://issues.apache.org/jira/browse/COCOON-2217
>             Project: Cocoon
>          Issue Type: Bug
>          Components: - Servlet service framework
>    Affects Versions: 2.2, 2.2-dev (Current SVN)
>            Reporter: Robin Wyles
>            Priority: Minor
>             Fix For: 2.2-dev (Current SVN)
>
>         Attachments: HttpServletResponseBufferingWrapper-empty-response.patch
>
>
> When the response body is empty, e.g. when a FileNotFoundException is thrown by a generator,
or servlet service call returns an empty response, a NPE is thrown by HttpServletResponseBufferingWrapper.
 
> Patch adds a null check on HttpServletResponseBufferingWrapper's outputStream in the
flushBufferedResponse method.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message