Hi,
I'm using MethodUtils.invokeMethod(Object myObject,
String methodName, Object[] parameters) to do some
reflection in my application and I got the following
problem:
I got a null point exception when passing as
parameters a table with a null value inside like this:
[, , null, avionCargoFret, , ]
The following code inside beanutils send me the
exception when it does getClass the null element of
the table:
Class parameterTypes [] = new Class[arguments];
for (int i = 0; i < arguments; i++) {
parameterTypes[i] = args[i].getClass();
}
Is this a misuse of the MethodUtils.invokeMethod?
Is this a known limitation of the implementation?
Is this a bug?
Is there any solution out there?
Thanks by advance.
Eric
=====
Eric BELLARD
[EMAIL PROTECTED]
mobile: 0614952791
__________________________________
Do you Yahoo!?
Yahoo! Small Business $15K Web Design Giveaway
http://promotions.yahoo.com/design_giveaway/
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]