I'm getting an exception thrown by bean utils when i submit a form, i think this is related to setting a form property of type hashmap.

The values are set correctly in the jsp, and i'm not validating yet. Are there any issues related to using maps as form properties? I've scoped the form to session as the size of the map is unknown until submission.

here's what i consider a useful part of my stacktrace, if you;ve had this problem before then any insights appeciated.


java.lang.IllegalArgumentException: argument type mismatch
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav a:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor Impl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.apache.commons.beanutils.PropertyUtils.setSimpleProperty(PropertyUti ls.java:1789)
at org.apache.commons.beanutils.PropertyUtils.setNestedProperty(PropertyUti ls.java:1684)
at org.apache.commons.beanutils.PropertyUtils.setProperty(PropertyUtils.jav a:1713)
at org.apache.commons.beanutils.BeanUtils.setProperty(BeanUtils.java:1019)
at org.apache.commons.beanutils.BeanUtils.populate(BeanUtils.java:808)



--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to