--- C:\Documents and Settings\ehedstro\Local Settings\Temp\t4304t6.tmp Fri May 12 15:30:35 2006 +++ c:\dev\sharedtech\cwc\main\src\org\apache\compressionFilters\CompressionServletResponseWrapper.java Thu May 04 15:21:34 2006 @@ -175,7 +175,9 @@ if (debug > 1) { System.out.println("flush buffer @ CompressionServletResponseWrapper"); } - ((CompressionResponseStream)stream).flush(); + if (stream != null) { + ((CompressionResponseStream)stream).flush(); + } }