Hi,

On Sun, Mar 03, 2013 at 12:09:25PM -0600, Larry Evans wrote:
> // Debug: Invoking method (after massaging values): public static
> java.lang.Object
> com.sun.star.uno.UnoRuntime.queryInterface(java.lang.Class,java.lang.Object)
> with tmpArgs:
> // Debug: tmpArgs[0] = interface com.sun.star.frame.XModel type = class
> java.lang.Class
> java.lang.NullPointerException
>     at bsh.Reflect.invokeOnMethod(Unknown Source)
>     at bsh.Reflect.invokeStaticMethod(Unknown Source)
>     at bsh.Name.invokeMethod(Unknown Source)
>     at bsh.BSHMethodInvocation.eval(Unknown Source)
>     at bsh.BSHPrimaryExpression.eval(Unknown Source)
>     at bsh.BSHPrimaryExpression.eval(Unknown Source)
>     at bsh.BSHAssignment.eval(Unknown Source)
>     at bsh.Interpreter.eval(Unknown Source)
>     at bsh.Interpreter.eval(Unknown Source)
>     at bsh.Interpreter.eval(Unknown Source)
>     at
> com.sun.star.script.framework.provider.beanshell.ScriptImpl.invoke(Unknown
> Source)

"Unknown Source" means sources were compiled without -g, hard to guess
what's happening there. Try these jars compiled with -g:
http://people.apache.org/~arielch/api/scriptingfwkdebug.tar.gz
The JARs in the folder classes should be placed in
openoffice.org/basis3.5/program/classes/

If you know how to attach a debugger, you can debug the problem (the
sources for BeanShell and the ScriptingFramework are also included).


Regards
-- 
Ariel Constenla-Haile
La Plata, Argentina

Attachment: pgpoj3vUvLjC5.pgp
Description: PGP signature

Reply via email to