Issue 47089 - impress crashes with 'com::sun::star::beans::UnknownPropertyException' when loading presentation from version 1.9.79
Summary: impress crashes with 'com::sun::star::beans::UnknownPropertyException' when l...
Status: CLOSED FIXED
Alias: None
Product: Impress
Classification: Application
Component: open-import (show other issues)
Version: 680m91
Hardware: PC Linux, all
: P2 Trivial (vote)
Target Milestone: OOo 2.0
Assignee: wolframgarten
QA Contact: issues@graphics
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-04-09 18:47 UTC by foethke
Modified: 2005-04-20 08:31 UTC (History)
1 user (show)

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


Attachments
presentation crashing while loading in impress 1.9.91 (2.28 MB, application/vnd.sun.xml.impress)
2005-04-09 18:55 UTC, foethke
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description foethke 2005-04-09 18:47:44 UTC
Impress 1.9.91 crashes when I try to open the attached presentation.
The presentation was last saved with Open Office Impres 2.0 beta (1.9.79) and I
can still load it with this and older versions.

Impress 1.9.91 dies with the message:
"terminate called after throwing an instance of
'com::sun::star:beans::UnknownPropertyException'"
Comment 1 foethke 2005-04-09 18:55:28 UTC
Created attachment 24869 [details]
presentation crashing while loading in impress 1.9.91
Comment 2 wolframgarten 2005-04-11 08:25:10 UTC
Reproducible.
Comment 3 wolframgarten 2005-04-11 08:33:41 UTC
Under Windows the office claims that the file is broken and that it wants to
repair it - without success. Linux crashes when loading.
Reassigned to AF as a stand in for CL. I sign this as a showstopper.
Comment 4 wolframgarten 2005-04-11 09:32:04 UTC
Target set.
Comment 5 groucho266 2005-04-11 10:04:01 UTC
Accepted.
Comment 6 groucho266 2005-04-11 10:28:36 UTC
SdXShape::setPropertyValue() is called with properties unknown to the shape. 
These are passed on to the SvxShape member mpShape.  The resulting
UnknownPropertyException is not caught and aborts the loading (under Linux it
may lead to the crash).

Guarding the setting of the property at the SvxShape member with a try/catch
black fixes the problem for me.  Because I am new to this code I have to
investigate further.
Comment 7 groucho266 2005-04-11 12:59:51 UTC
Please take over.
Comment 8 sven.jacobi 2005-04-11 17:29:14 UTC
sj: this issue has been fixed now incws[impress46]
Comment 9 sven.jacobi 2005-04-12 11:25:16 UTC
sj: this issue has been fixed in cws[impress46]

re-open issue and reassign to wg@openoffice.org
Comment 10 sven.jacobi 2005-04-12 11:25:24 UTC
reassign to wg@openoffice.org
Comment 11 sven.jacobi 2005-04-12 11:25:36 UTC
reset resolution to FIXED
Comment 12 wolframgarten 2005-04-13 09:25:14 UTC
Verified in CWS.
Comment 13 wolframgarten 2005-04-20 08:31:36 UTC
Tested in master m95. Closed.