Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
2.2, 2.3.0
-
None
-
Normal
-
Patch available
-
Servlet Service Framework - 1.1.0-dev
-
Servlet Service Framework - 1.1.0-dev
Description
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.
Patch adds a null check on HttpServletResponseBufferingWrapper's outputStream in the flushBufferedResponse method.