You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by bu...@apache.org on 2003/01/03 06:13:46 UTC
DO NOT REPLY [Bug 15773] New: -
setProperty throws exception on null value
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=15773>.
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=15773
setProperty throws exception on null value
Summary: setProperty throws exception on null value
Product: Commons
Version: 1.0 Beta 1
Platform: Other
OS/Version: Other
Status: NEW
Severity: Normal
Priority: Other
Component: Bean Utilities
AssignedTo: commons-dev@jakarta.apache.org
ReportedBy: btomasini@neteverything.com
Revision 1.32 of BeanUtils.java added a new condition on line 908 that calls
value.getClass(). Up until this version, one could pass a null as the value,
and the setProperty(...) would not care, now one gets a NullPointerException.
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>