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] Created: (COCOON-2217) HttpServletResponseBufferingWrapper throws NPE when response body is empty
Date Wed, 09 Jul 2008 09:27:31 GMT
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.


Mime
View raw message