DFTestBean needs to be a public class, otherwise the "write" method in the property's descriptor is null.
Niall ----- Original Message ----- From: "Frank W. Zammetti" <[EMAIL PROTECTED]> Sent: Thursday, September 08, 2005 10:24 PM > I can give a nightly a shot when I get home tonight, no problem. I just > made sure I was using 1.7.0, and I am. > > If you or Thomas, or anyone else, might be inclined, I have a small little > test app: > > http://www.omnytex.com/test.zip > > It's trying to do this dynamic setting, and I have it working just fine up > until the point I call setProperty(), and it seems to do the same thing > whether it's PropertyUtils or BeanUtils (slightly different stack trace, > but it looks like the same root cause). I keep getting: > > java.lang.NoSuchMethodException: Property 'certifications' has no setter > method > > So either there is still a type mismatch happening so it thinks there's no > appropriate setter, or the actual setter name isn't being calculated > properly... I followed through the BeanUtils code, and it looks to be > failing to get an accessible method to call to set the property... looks > like it gets the descriptor, then fails (returning null) for some reason > from the call to getWriteMethod (I'd bet it's the call from there to > MethodUtils.getAccessibleMethod() that's really where it breaks down). > > Just execute go.bat if your on Windows by the way, quick compile and > execute with all environment setup done. > > Ok, time to go home :) --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
