openoffice-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Larry Evans <cppljev...@suddenlink.net>
Subject Re: calc BeanShell script save gives "error saving script" window.
Date Mon, 04 Mar 2013 13:59:57 GMT
On 03/03/13 17:50, Ariel Constenla-Haile wrote:
> 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/

>From the code downloaded from:

 
http://people.apache.org/~arielch/packages/r1372282-glibc-2.5/linux_x86-64/Apache_OpenOffice_incubating_3.4.1_Linux_x86-64_install-arc_en-US.tar.gz

as instructed (I thought) from your post of 03 Mar 2013 12:59:00 GMT:

 
http://mail-archives.apache.org/mod_mbox/openoffice-users/201303.mbox/%3C20130303125900.GB29551%40localhost%3E

I can see no basis3.5:

 
~/download/OpenOffice/r1372282/Apache_OpenOffice_incubating_3.4.1_Linux_x86-64_install-arc_en-US
$ find openoffice.org -name basis\*
   openoffice.org/basis3.4
 
~/download/OpenOffice/r1372282/Apache_OpenOffice_incubating_3.4.1_Linux_x86-64_install-arc_en-US
$

Instead, I just see basis3.4.  What should I do?
>
> If you know how to attach a debugger, you can debug the problem (the
> sources for BeanShell and the ScriptingFramework are also included).

I've used gdb; however, only with c++ programs.  I don't
remember doing it with java, but I'm not sure :(

Thanks very much for you patience and help Ariel.

kind regards,
Larry



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@openoffice.apache.org
For additional commands, e-mail: users-help@openoffice.apache.org


Mime
View raw message