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 2004/07/21 06:28:31 UTC

DO NOT REPLY [Bug 19781] - PropertyUtils.copyProperties throws exceptions contrary to documentation

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=19781>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=19781

PropertyUtils.copyProperties throws exceptions contrary to documentation





------- Additional Comments From chung_po_loi@hotmail.com  2004-07-21 04:28 -------
I have encountered similar situation but a "NullPointerException" is thrown.
That means when there are same property names but different type the
PropertyUtils throws mysterious NullPointerException. I suggest implementing an
additional custom runtime exception class to handle this which makes the problem
(likely typo in code) easier to be tackled.

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org