Apache OpenOffice (AOO) Bugzilla – Issue 48369
OOoBean: documents cannot be loaded after stopOOoConnection
Last modified: 2013-02-24 21:09:23 UTC
It should be possible to load documents (OOoBean.loadFromURL) after one has called OOoBean.stopOOoConnection. This was possible prior 680 m95. The regression was caused by #i46778.
Too much issues for 2.0.1
.
*** Issue 66242 has been marked as a duplicate of this issue. ***
retargeted to 2.x
Let's consider the following sequence in OOoBean: OOoBean.loadFromURL(...) [** document is closed using File/Close in the OOoBean] OOoBean.loadFromURL(...) If the closed document (at **) was the last one, the sequence suceeds and the 2nd doc is opened. If there remains documents after closing the doc at ** (eg. in non-OOoBean OOo Frames), the sequence fails: produces a DisposedException with the stack trace quoted below. This can be reproduced using the OOoBeanViewer applet shipped with the sdk using officebean.jar 680m5 build 9073). ---- com.sun.star.lang.DisposedException: TransactionManager... Owner instance already closed. Call was rejected! at com.sun.star.lib.uno.environments.remote.Job.remoteUnoRequestRaisedException(Job.java) at com.sun.star.lib.uno.environments.remote.Job.execute(Job.java) at com.sun.star.lib.uno.environments.remote.JobQueue.enter(JobQueue.java) at com.sun.star.lib.uno.environments.remote.JobQueue.enter(JobQueue.java) at com.sun.star.lib.uno.environments.remote.JavaThreadPool.enter(JavaThreadPool.java) at com.sun.star.lib.uno.bridges.java_remote.java_remote_bridge.sendRequest(java_remote_bridge.java) at com.sun.star.lib.uno.bridges.java_remote.java_remote_bridge.sendRequest(java_remote_bridge.java) at com.sun.star.lib.uno.bridges.java_remote.ProxyFactory$Handler.request(ProxyFactory.java) at com.sun.star.lib.uno.bridges.java_remote.ProxyFactory$Handler.invoke(ProxyFactory.java) at $Proxy22.close(Unknown Source) at com.sun.star.comp.beans.OOoBean.clear(OOoBean.java) at com.sun.star.comp.beans.OOoBean.stopOOoConnection(OOoBean.java) at com.sun.star.comp.beans.OOoBean.loadFromURL(OOoBean.java)
Thanks for this information.
accepted
retarget to 3.0
retarget to OOo Later