Date: prev next · Thread: first prev next last
2013 Archives by date, by thread · List index


On 12/09/2013 02:59 PM, Adriam Delgado Rivero wrote:
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)

I cannot reproduce your problem, at least not when running that test from a recent master SDK on Linux,

  $ cd instdir/sdk
  $ ./setsdkenv_unix

  $ cd examples/java/Text
  $ make
  $ make SWriter.run

So, what is your platform (Linux, Windows, ...), what is your exact LO version, and how exactly do you run the test (from within the LO SDK, like how I did above)?

Stephan

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.