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