hi, i created a java method:
public Object executeMacro(Object xScript, ArrayList alParams) throws
Exception {
//xScript.invoke(aParams, aOutParamIndex, aOutParam);
Object[] aParams = alParams.toArray();
short[][] aOutParamIndex = new short[0][0];
Object[][] aOutParam = new Object[0][0];
Method invokeMethod =
xScript.getClass().getMethod("invoke",new Class[]
{aParams.getClass(),aOutParamIndex.getClass(),aOutParam.getClass()});
return invokeMethod.invoke(xScript,new Object[] {aParams,
aOutParamIndex, aOutParam});
}
that invoke the macro:
Sub SaySomething( x )
MsgBox x
End Sub
the call works very well the message appears, but, when i click in OK
i get a ArrayIndexOutOfBoundsException that occurs in
java_remote_bridge.java line 237, the package is
com.sun.star.lib.uno.bridges.java_remote, anyone know because i get
this Exception?
or where i can browse the source java_remote_bridge.java and check that myself?
Thanks
Clóvis
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]