On 09/08/08 21:09, ashok _ wrote:
I have a java swing application that works as a UNO Client by loading
and connecting to OpenOffice.org Writer...

The openoffice XComponent handle is accessed by the main thread of the
application, and also by other parts of the program whcih update the
UI and run as SwingWorker threads...

I am having random crashes with the following exception being raised :

java.io.EOFException
        at 
com.sun.star.lib.uno.bridges.java_remote.java_remote_bridge$MessageDispatcher.run(java_remote_bridge.java:176)

Does this happen because the OOo XComponent handle is accessed across
thread boundaries ?

Most probably that Java exception is caused by the soffice process crashing, so you would need to have an eye on the soffice process (e.g., attach with a debugger; OOo's crash handling might prevent a core being generated for a process that would otherwise generate one). And yes, multithreaded access to OOo is known to be, erm, adventurous.

-Stephan

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to