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 15754] New: - PageContext.setAttribute doesn't throw NullPointerException
Date Wed, 01 Jan 2003 19:21:44 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=15754>.
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=15754

PageContext.setAttribute doesn't throw NullPointerException

           Summary: PageContext.setAttribute doesn't throw
                    NullPointerException
           Product: Tomcat 4
           Version: 4.1.18
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Servlet & JSP API
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: skoehler@upb.de


PageContext.setAttribute doesn't thow a NullPointerException if the attribute-
value if null as 
http://java.sun.com/products/servlet/2.2/javadoc/javax/servlet/jsp/PageContext.h
tml#setAttribute(java.lang.String,%20java.lang.Object,%20int) requires.

is !silently ignores! that null was specified. the attribute isn't set to null, 
but isdn't removed too and getAttribute returnes the old value.

--
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