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/09/30 16:12:12 UTC
DO NOT REPLY [Bug 13140] New: -
Compliance issue - PageContext.setAttribute, under certain circumstances, fails to throw an NPE when the value provided is null
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=13140>.
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=13140
Compliance issue - PageContext.setAttribute, under certain circumstances, fails to throw an NPE when the value provided is null
Summary: Compliance issue - PageContext.setAttribute, under
certain circumstances, fails to throw an NPE when the
value provided is null
Product: Tomcat 5
Version: Nightly Build
Platform: All
OS/Version: All
Status: NEW
Severity: Major
Priority: Other
Component: Jasper2
AssignedTo: tomcat-dev@jakarta.apache.org
ReportedBy: Ryan.Lubke@Sun.COM
If trying to set a PageContext attribute in the following scopes, an NPE is not
thrown when the value provided is null:
JspContext.REQUEST_SCOPE
JspContext.SESSION_SCOPE
JspContext.APPLICATION_SCOPE
ex.
pageContext.setAttribute("attrName", null, JspContext.APPLICATION_SCOPE);
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>