Apache OpenOffice (AOO) Bugzilla – Issue 48091
Office Bean throws InterruptedException when loading document
Last modified: 2013-02-24 21:09:47 UTC
Dear Sir, We are now writing Java application which use Writer through OOoBean. We often receive an InterruptedException when loading a new Writer document. Afterwards, the OOoBean is blanked and no new document is created. Here is the related error log: com.sun.star.uno.RuntimeException: com.sun.star.lib.uno.environments.remote.JobQueue.removeJob - unexpected:java.lang.InterruptedException at com.sun.star.lib.uno.environments.remote.JobQueue.removeJob (JobQueue.java:292) at com.sun.star.lib.uno.environments.remote.JobQueue.enter (JobQueue.java:399) at com.sun.star.lib.uno.environments.remote.JobQueue.enter (JobQueue.java:372) at com.sun.star.lib.uno.environments.remote.JavaThreadPool.enter (JavaThreadPool.java:132) at com.sun.star.lib.uno.bridges.java_remote.java_remote_bridge.sendRequest (java_remote_bridge.java:902) at com.sun.star.lib.uno.bridges.java_remote.java_remote_bridge.sendRequest (java_remote_bridge.java:851) at com.sun.star.lib.uno.bridges.java_remote.ProxyFactory$Handler.request (ProxyFactory.java:177) at com.sun.star.lib.uno.bridges.java_remote.ProxyFactory$Handler.invoke (ProxyFactory.java:163) at $Proxy15.loadComponentFromURL(Unknown Source) at com.sun.star.comp.beans.OOoBean.loadFromURL(OOoBean.java:651) Could you please explain what the problem is and how to solve it?
sw->muifull: I used the OfficeBean as it can be found in the sdk from http://download.openoffice.org/680/sdk.html and couldn't reproduce the occurence of an InterruptedException ... anything special to do ?
Thanks for the response. The problem only happens occasionally and not all the time. No regular pattern to when it happens. Everytime I just seat in front of the computer, waiting for it to start-up without interference. Would it be related to the applications running in background? Do you have any ideas about the cause of this problem? Any possible reasons? Thank you for great help!
sw->muifull: can't reproduce the behaviour with the bean-sample I mentioned ... is your program an extension of the sample in the src680-SDK ? ... can you provide a "stripped" version of your program that makes the behaviour reproducible ?
The beansample ran all day and night and still works as expected => I reset the resolution to worksforme
Thanks for taking care to the issue. I just downloaded everything again and played around. It appears that the problem doesn't likely to happen again. But as I said, it happens occasionally so I couldn't ensure it has been solved. If I encounter the same problem again, I will contact you immediately. Thanks once again to all of you.
closing