Issue 1424 - Unrocoverable Application Crash while openning a SXW Documents.
Summary: Unrocoverable Application Crash while openning a SXW Documents.
Status: CLOSED FIXED
Alias: None
Product: Writer
Classification: Application
Component: code (show other issues)
Version: 627
Hardware: PC Windows 2000
: P2 Trivial (vote)
Target Milestone: ---
Assignee: stefan.baltzer
QA Contact: issues@sw
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-08-06 08:26 UTC by Unknown
Modified: 2003-09-08 16:56 UTC (History)
1 user (show)

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


Attachments
Latest Saved Document that crash Version 627 and 633 (149.31 KB, application/octet-stream)
2001-08-06 08:27 UTC, Unknown
no flags Details
Latest Backup Document that also crash with Version 627 and 633 (140.13 KB, application/octet-stream)
2001-08-06 08:40 UTC, Unknown
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description Unknown 2001-08-06 08:26:04 UTC
The OO627 run on Win2000 with all critical updates and JAVA 1.3.1. 
The Document crash the application unexpectedly in Version 627 and more elegantly on Version633.

The document was taken from a Word 98 Document. Then Saved into the Writer 6.0 Format (as requested when closing the application).
The document was easily editable in it's new format .SXW many revision of the document were done during that day (Open/Mod/Save/Close) 
without any problems.
The last modification in the document was the import of two JPG Images and manipulation of the viewing size.
When File was tried to be reopen both version 627 and 633 could perform the job.
Even the Backup could not be used which may indicate that the problem was created earlier than the insertion of the two image file.


As the document is an important one I will Look into the code for a recovery mechanism in theses case to gather the most data back as 
possible.

Is it possible to attach both Backup and Latest File ?

BG
Comment 1 Unknown 2001-08-06 08:27:26 UTC
Created attachment 440 [details]
Latest Saved Document that crash Version 627 and 633
Comment 2 Unknown 2001-08-06 08:40:37 UTC
Created attachment 441 [details]
Latest Backup Document that also crash with Version 627 and 633
Comment 3 mtg 2001-08-06 16:37:20 UTC
An exception is thrown when SwXShape tries to set the 
property 'AnchorPageNo'. Internal bug id for this is #90098#.

Bernard: the fix will be in the next OO build - 638 - I hope, but 
you might be waiting some time for this. If you want to get access
to your document now, you can unzip the .sxw file and edit the
content.xml stream. If you comment out the 3 lines with the
text:anchor-page-number attribute, then you will be able to load
and save your document. To comment something out in XML put
<!-- before it and --> after it.

If you can't or don't want to dit his, I could attach my version in
which I did exactly that as an attachment to this bug.
Comment 4 openoffice 2001-08-06 16:48:24 UTC
Actually, I think it's sufficient to to set the anchor-page-number 
attribute from "0" to "1". This way, the document can be loaded but 
you don't loose the graphics.
Comment 5 stefan.baltzer 2001-08-16 12:39:46 UTC
Reassigned to Daniel.
Comment 6 openoffice 2001-08-20 13:52:19 UTC
Uuh, I goofed with committing the fix into the codebase; sorry guys!
On a SRC638n (current CVS top-level), the documents load fine. (Some 
of the graphics seem jumbled, though.)

Apparently, the original problem was in the WinWord import, and when 
re-loading the original file, the problem shouldn't occur any longer. 
The second (follow-on) problem was that OOo refuses to load documents 
with graphics anchored to page 0. This is now fixed, too.

dvo->BG: Did you get your document back?

dvo->sba: It should work on any build 638n or later.
Comment 7 openoffice 2001-08-20 13:52:56 UTC
Fixed on 638n (or later)
Comment 8 thorsten.ziehm 2003-05-20 16:17:00 UTC
This task is fixed or worked in OOo 1.1 beta2.
Comment 9 thorsten.ziehm 2003-05-20 16:34:19 UTC
closed ...