Apache OpenOffice (AOO) Bugzilla – Issue 41917
disposed exception with Desktop.terminate()
Last modified: 2013-02-24 21:07:31 UTC
The attached test produces a disposed exception when Desktop.terminate() is called. This only happens on Linux platform and with Kernel 2.6/KDE. The same test on Kernel 2.4.2/KDE works. To reproduce unzip the attached package, go to kernel26/complex/desktop and call 'dmake' 'dmake run OFFICE=</path/to/your/office/program>'
Created attachment 22134 [details] testcase
As you already mentioned ... this task is very hard to reproduce. But it seems that this exception is not thrown by Desktop::terminate() itself. A possible scenario: a) Desktop::terminate() terminates the office (which is done synchronously of course ... because this method must return a state for success). b) Termination of the office will close all open uno bridges ... c) May the uno proxy of the java client side produces this exception. Because the bridge was already disposed. For the moment this task cant be reproduced. So I will send it back to you. May be it's a good idea to print out the stacktrace for this exception on java side (make it a part of the test itself) ... so we can may be found the real problem later, if the bug occures again.
.
retarget: not reproducible.
closed.