You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by bu...@apache.org on 2002/06/01 19:12:32 UTC

DO NOT REPLY [Bug 9549] - "No getter method for property xxx of bean yyyy" while the bean HAS the method

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=9549>.
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=9549

"No getter method for property xxx of bean yyyy" while the bean HAS the method





------- Additional Comments From stu_us@yahoo.com  2002-06-01 17:12 -------
Could you post your ActionForm as well?  I've seen this symptom before, and 
each time it had to do with the getter and setter signatures.  In one case, the 
setter's parameter was not of the same type as the getter.  This violates the 
JavaBean naming convention's definition of a "property", and reflection-based 
utils like BeanUtils don't work properly with it.  Not a bug in BeanUtils 
though.

In another case, I had a FormBean with a bunch of properties of type String.  
One property though, was of type "Object".  The Object property wasn't 
recognized, and changing it to a String fixed the symptoms.  This one may 
indeed be a bug.

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>