I've just taken a look at the 5.2.6 code for ResourceStreamerImpl and it
looks like the input stream is being closed twice via is.close() and
InternalUtils.close(is). This looks like a bug to me

        try
        {
            is = streamble.getStream(compress);

            OutputStream os = response.getOutputStream(contentType);

            TapestryInternalUtils.copy(is, os);

            is.close();
            is = null;

            os.close();
        }
        finally
        {
            InternalUtils.close(is);
        }


--
View this message in context: 
http://tapestry.1045711.n5.nabble.com/Null-Pointer-Exception-tp5698238p5699340.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to