You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2003/05/02 15:28:19 UTC
DO NOT REPLY [Bug 19590] -
NullPointerException thrown from CoyoteResponseFacade.isCommitted
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=19590>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=19590
NullPointerException thrown from CoyoteResponseFacade.isCommitted
remm@apache.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |INVALID
------- Additional Comments From remm@apache.org 2003-05-02 13:28 -------
Your application will likely not work with that kind of design. Basically, none
of the container provided objects are synced, so whatever you do you could run
into issues.
Here, you're trying to access the response object after the end of the servlet
invocation (which is obviously not allowed), where the response is set to null
in the facade. If a new request quickly follows the previous one, you could as
well end up accessing it by accident (note: unless you're using the security
manager, in which case the facade is never reused).
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org