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 2002/05/17 07:39:54 UTC

DO NOT REPLY [Bug 9086] - NPE org.apache.tomcat.core.ServerSession.setAttribute

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=9086>.
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=9086

NPE org.apache.tomcat.core.ServerSession.setAttribute

william.barker@wilshire.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|Major                       |Enhancement



------- Additional Comments From william.barker@wilshire.com  2002-05-17 05:39 -------
The Servlet 2.2 spec does not allow passing null as the value to setAttribute.  
If you need this, you must upgrade to 4.x (where it is allowed in the spec).

However, it is probably better to throw an IAE than an NPE in this case, so I'm 
leaving this open.

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>