Issue 48369 - OOoBean: documents cannot be loaded after stopOOoConnection
Summary: OOoBean: documents cannot be loaded after stopOOoConnection
Status: ACCEPTED
Alias: None
Product: App Dev
Classification: Unclassified
Component: api (show other issues)
Version: 3.3.0 or older (OOo)
Hardware: All All
: P3 Trivial
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords:
: 66242 (view as issue list)
Depends on:
Blocks:
 
Reported: 2005-04-28 14:08 UTC by joachim.lingner
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 joachim.lingner 2005-04-28 14:08:13 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.
Comment 1 Mathias_Bauer 2005-05-24 08:28:56 UTC
Too much issues for 2.0.1
Comment 2 joachim.lingner 2006-05-18 16:58:42 UTC
.
Comment 3 joachim.lingner 2006-06-30 09:36:38 UTC
*** Issue 66242 has been marked as a duplicate of this issue. ***
Comment 4 joachim.lingner 2006-06-30 09:39:02 UTC
retargeted to 2.x
Comment 5 jmarton 2007-08-22 00:53:38 UTC
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)
Comment 6 joachim.lingner 2007-08-27 12:49:26 UTC
Thanks for this information.
Comment 7 joachim.lingner 2007-12-07 16:02:31 UTC
.
Comment 8 tkr 2007-12-10 08:23:40 UTC
accepted
Comment 9 tkr 2007-12-14 09:01:14 UTC
retarget to 3.0
Comment 10 tkr 2008-05-20 14:39:02 UTC
retarget to OOo Later