[Libreoffice] [GSOC] Wizards, Java to Python report #2

Xisco Faulí anistenis at gmail.com
Tue May 17 00:21:13 PDT 2011


AFAICS this line causes troubles: xResource =
smgr.createInstance("com.sun.star.resource.VclStringResourceLoader") .
When I try to use any XInvocation method on it, i get a Segmentation Fault
error ( I have the OS in german so the current message is
Speicherzugriffsfehler. I don't speak much german so I guess Segmentation
Fault is the right translation ).
Anyway, when I run the MRI againt this line I get:


URP_Bridge : disposed
(tid=3) Unexpected connection closure


Well, I've tried several things but I've been able to make it run. I guess
I'm missing something.


Greetings.

2011/5/17 Xisco Faulí <anistenis at gmail.com>

> AFAICS this line causes troubles: xResource =
> smgr.createInstance("com.sun.star.resource.VclStringResourceLoader") .
> When I try to use any XInvocation method on it, i get a Segmentation Fault
> error ( I have the OS in german so the current message
> is Speicherzugriffsfehler. I don't speak much german so I guess Segmentation
> Fault is the right translation ).
> Anyway, when I run the MRI againt this line I get:
>
>  URP_Bridge : disposed
> (tid=3) Unexpected connection closure
>
> Well, I've tried several things but I've been able to make it run. I guess
> I'm missing something.
>
> Greetings.
>
>
> 2011/5/16 Alexander Thurgood <alex.thurgood at gmail.com>
>
>> Le 16/05/11 10:19, Xisco Faulí a écrit :
>>
>> Hi Xisco,
>>
>> >
>> > The only thing I haven't been able to convert is the method
>> > initResources in common/resource.java :
>> >
>> http://opengrok.libreoffice.org/xref/components/wizards/com/sun/star/wizards/common/Resource.java#111
>> >
>> > I can't find any information in the api about VclStringResourceLoader.
>> > any idea ?
>> >
>>
>> Trawling through previous API discussions in the OOo lists came up with
>> these :
>>
>>
>> http://openoffice.2283327.n4.nabble.com/XResourceBundle-Loader-td2929318.html
>>
>>
>> http://openoffice.2283327.n4.nabble.com/XResourceBundle-Loader-td2929318.html
>>
>>
>> http://openoffice.org.sourcearchive.com/documentation/1.1.3/Tools_8java-source.html
>>
>> But you're right, there doesn't seem to be very much information around
>> about how to use it...maybe using Bernard Marcelly's XRay/MRI
>> introspection tool might reveal what's available ?
>>
>>
>> http://extensions.services.openoffice.org/en/project/MRI
>>
>>
>>
>>
>> Alex
>>
>> _______________________________________________
>> LibreOffice mailing list
>> LibreOffice at lists.freedesktop.org
>> http://lists.freedesktop.org/mailman/listinfo/libreoffice
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20110517/bcfb43cd/attachment.htm>


More information about the LibreOffice mailing list