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 9086] - NPE org.apache.tomcat.core.ServerSession.setAttribute
Date Fri, 17 May 2002 05:39:54 GMT
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:   <mailto:tomcat-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-dev-help@jakarta.apache.org>


Mime
View raw message