> try {
> setter.invoke(bean, new Object[] { value });
[quoted text clipped - 8 lines]
> java.lang.IllegalArgumentException: object is not an instance of
> declaring class ...
It looks to me that the problem lies in not providing the correct arguments
to the invoke method, this is what is throwing the exception. Without the
code for invoke() it is not possible to know, but I guess invoke is
expecting different objects in the Object[]
--
Mike W
Thomas Hawtin - 15 Nov 2005 13:40 GMT
>>try {
>>setter.invoke(bean, new Object[] { value });
[quoted text clipped - 13 lines]
> code for invoke() it is not possible to know, but I guess invoke is
> expecting different objects in the Object[]
Or bean is not a util.Transformation.
Tom Hawtin

Signature
Unemployed English Java programmer
http://jroller.com/page/tackline/
Tomba - 15 Nov 2005 13:45 GMT
>>> try {
>>> setter.invoke(bean, new Object[] { value });
[quoted text clipped - 18 lines]
>
> Tom Hawtin
Tested with some more output, and indeed bean is not a Transformation.
Made an error there. Thanks Tom