Issue 15323 - Writer hangs when I close it immediately after opening
Summary: Writer hangs when I close it immediately after opening
Status: CLOSED IRREPRODUCIBLE
Alias: None
Product: App Dev
Classification: Unclassified
Component: api (show other issues)
Version: 3.3.0 or older (OOo)
Hardware: PC Windows XP
: P3 Trivial
Target Milestone: ---
Assignee: thomas.lange
QA Contact: issues@api
URL:
Keywords: oooqa
Depends on:
Blocks:
 
Reported: 2003-06-05 11:11 UTC by Unknown
Modified: 2013-02-24 21:06 UTC (History)
1 user (show)

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


Attachments
JDeveloper Project with 3 classes (15.58 KB, application/octet-stream)
2003-06-10 11:06 UTC, Unknown
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description Unknown 2003-06-05 11:11:33 UTC
I am writing a program to take control over OOo. In this program I start 
Writer, connect to it and can open new documents, load and store, add text and 
so on.
The problem which occurs is the following:
I start Office from my program and connect to it, then I open a document. As 
far all is fine. But when I close Writer immediately after opening then 
sometimes I receive an error message but sometimes Office hangs without a 
mesage and has to shut down by the Windows task manager. 
I use a delay to be able to close Writer before opening the document I want to 
have.
Comment 1 ooo 2003-06-05 12:42:23 UTC
implementation issue
Comment 2 thomas.lange 2003-06-05 12:48:50 UTC
Please provide the (macro) code.
Comment 3 Unknown 2003-06-10 11:06:23 UTC
Created attachment 6767 [details]
JDeveloper Project with 3 classes
Comment 4 Unknown 2003-06-10 11:06:53 UTC
Today I updated to the new SDK 1.1 beta 2.
Now, when I start my program (see attachement) and shut down office 
within 1 or 2 seconds I get an exception message, that´s ok. When I 
exit office within 3 or 4 seconds (there is a delay of 5 seconds 
between starting and creating a new document) my program restarts 
office and creates the new document, that´s ok too.
Altogether it works better with the new SDK.

But when I shut down office <b>immediately</b> my program hangs. In 
contrast to the report I written last week I don´t have to shut down 
the office process in the Windoiws Task Manager - only my program 
hangs.

To cause this problem, use my program which is attached. It is a 
shortened version of my original program but it is able to cause the 
error. Please notice to exit <b>immediately</b> office after starting 
or the bug won´t appear maybe you will need some tries.
Comment 5 stephan.wunderlich 2003-09-08 13:38:23 UTC
Couldn't rebuild the described behaviour in the following 3 scenarios
in OOo1.1RC3:

1. I started the attached program without interaction => works without
problems.

2. I startetd the program and as soon as the first writer doc appeared
I closed it => no problem occured

3. I changed the main method so that the started process is destroyed
directly after DocumentManager.create(); => the expected
DisposedException appeared
Comment 6 ace_dent 2008-05-17 21:01:19 UTC
The Issue you raised has been marked as 'Resolved' and not updated within the
last 1 year+. I am therefore setting this issue to 'Verified' as the first step
towards Closing it. If you feel this is incorrect, please re-open the issue and
add any comments.

Many thanks,
Andrew
 
Cleaning-up and Closing old Issues
~ The Grand Bug Squash, pre v3 ~
http://marketing.openoffice.org/3.0/announcementbeta.html
Comment 7 ace_dent 2008-05-17 23:03:06 UTC
As per previous posting: Verified -> Closed.
A Closed Issue is a Happy Issue (TM).

Regards,
Andrew