This is the error message: in line 99 (insertString)
Exception in thread "main" com.sun.star.lang.DisposedException
at com.sun.star.lib.uno.environments.remote.JobQueue.removeJob(JobQueue.java:214)
at com.sun.star.lib.uno.environments.remote.JobQueue.enter(JobQueue.java:334)
at com.sun.star.lib.uno.environments.remote.JobQueue.enter(JobQueue.java:307)
at com.sun.star.lib.uno.environments.remote.JavaThreadPool.enter(JavaThreadPool.java:91)
at
com.sun.star.lib.uno.bridges.java_remote.java_remote_bridge.sendRequest(java_remote_bridge.java:640)
at
com.sun.star.lib.uno.bridges.java_remote.ProxyFactory$Handler.request(ProxyFactory.java:150)
at
com.sun.star.lib.uno.bridges.java_remote.ProxyFactory$Handler.invoke(ProxyFactory.java:132)
at com.sun.proxy.$Proxy6.insertString(Unknown Source)
at Calendario.SWriter.main(SWriter.java:99)
Caused by: java.io.EOFException
at java.io.DataInputStream.readInt(DataInputStream.java:392)
at com.sun.star.lib.uno.protocols.urp.urp.readBlock(urp.java:359)
at com.sun.star.lib.uno.protocols.urp.urp.readMessage(urp.java:96)
at
com.sun.star.lib.uno.bridges.java_remote.java_remote_bridge$MessageDispatcher.run(java_remote_bridge.java:109)
slds
----------------------------------------------------------------------------------------------------------
----- Mensaje original -----
De: "Miklos Vajna" <vmiklos@collabora.co.uk>
Para: "Adriam Delgado Rivero" <adrivero@uci.cu>
CC: libreoffice@lists.freedesktop.org
Enviados: Lunes, 9 de Diciembre 2013 2:56:47
Asunto: Re: Example in Java
On Fri, Dec 06, 2013 at 04:21:16PM -0500, Adriam Delgado Rivero <adrivero@uci.cu> wrote:
I'm watching the example http://api.libreoffice.org/examples/java/Text/SWriter.java , and
insertString method does not work. This happens only with libreoffice 4. Works on libreoffice
3.6, anyone knows passes, took almost a month with this.
Hi,
What do you mean by "does not work" exactly? What is the error message
you get?
Miklos
________________________________________________________________________________________________
III Escuela Internacional de Invierno en la UCI del 17 al 28 de febrero del 2014. Ver www.uci.cu
Context
Privacy Policy |
Impressum (Legal Info) |
Copyright information: Unless otherwise specified, all text and images
on this website are licensed under the
Creative Commons Attribution-Share Alike 3.0 License.
This does not include the source code of LibreOffice, which is
licensed under the Mozilla Public License (
MPLv2).
"LibreOffice" and "The Document Foundation" are
registered trademarks of their corresponding registered owners or are
in actual use as trademarks in one or more countries. Their respective
logos and icons are also subject to international copyright laws. Use
thereof is explained in our
trademark policy.