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 13743] - Need getPropertyType(Class theClass, String propName)
Date Tue, 29 Oct 2002 20:33:03 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=13743>.
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=13743

Need getPropertyType(Class theClass, String propName)

craig.mcclanahan@sun.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID



------- Additional Comments From craig.mcclanahan@sun.com  2002-10-29 20:33 -------
I do not know which version of BeanUtils you were using (we've not yet had a
"2.1 Final" release), but I did double check that the functionality you asked
for, support of nested property names in the getPropertyType() message, is
supported in the current (1.5) version of commons-beanutils.  I also believe
that this has been supported for quite a while.

Note that BeanUtils is *not* responsible for creating the internal data
structures of your beans, so it's possible to encounter NullPointerException
errors here, just as it is with getProperty() calls to get the value. 
Typically, you should create internal HashMaps and arrays in the constructor of
the bean class, or in initializer expressions when you declare those instance
variables.

Please reopen this bug report if you have a specific example that does not work
for you.  It would be best to quote a code snippet that fails, so we can be sure
we are investigating exactly the behavior you are seeing.

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