tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 45580] Unhandled NullPointerException when trying to write to a closed socket.
Date Wed, 06 Aug 2008 20:54:24 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=45580


Filip Hanik <fhanik@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID




--- Comment #1 from Filip Hanik <fhanik@apache.org>  2008-08-06 13:54:23 PST ---
The NPE is only because of an incorrectly used response object. if you are
trying to write to a response that has been closed, in a different thread, it
is better for you to fix the application that is doing that. 

There are simply too many NPE checks to do to catch all such scenarios, and
they essentially don't do anything, they would just convert the NPE to a
IOException.

If you believe the error comes from correct usage of the response, then please
elaborate a little bit on how this happens, and we can apply a correct fix.

best
Filip


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message