commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 9746] - BeanUtils.populate throws an exception if indexed property and string array parameter
Date Wed, 19 Jun 2002 15:07:37 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=9746>.
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=9746

BeanUtils.populate throws an exception if indexed property and string array parameter





------- Additional Comments From tomas@viberg.nu  2002-06-19 15:07 -------
For some reason, when the setProperty method of BeanUtils is populating an
indexed property with a String array, only the first element of the input array
is passed to ConvertUtils. The array is thus converted to a single String,
causing an IllegalArgumentException since the setter method expects an array.

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


Mime
View raw message