Issue 48091 - Office Bean throws InterruptedException when loading document
Summary: Office Bean throws InterruptedException when loading document
Status: CLOSED IRREPRODUCIBLE
Alias: None
Product: App Dev
Classification: Unclassified
Component: api (show other issues)
Version: 3.3.0 or older (OOo)
Hardware: All Windows Server 2003
: P3 Trivial
Target Milestone: ---
Assignee: stephan.wunderlich
QA Contact: issues@api
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-04-25 05:10 UTC by muifull
Modified: 2013-02-24 21:09 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description muifull 2005-04-25 05:10:33 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?
Comment 1 stephan.wunderlich 2005-05-04 12:59:17 UTC
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 ?
Comment 2 muifull 2005-05-05 03:46:48 UTC
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!
Comment 3 stephan.wunderlich 2005-05-24 12:56:36 UTC
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 ?
Comment 4 stephan.wunderlich 2005-05-25 08:55:13 UTC
The beansample ran all day and night and still works as expected => I reset the
resolution to worksforme
Comment 5 muifull 2005-05-30 02:13:05 UTC
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.
Comment 6 stephan.wunderlich 2005-07-12 08:45:41 UTC
closing