Apache OpenOffice (AOO) Bugzilla – Issue 47089
impress crashes with 'com::sun::star::beans::UnknownPropertyException' when loading presentation from version 1.9.79
Last modified: 2005-04-20 08:31:36 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'"
Created attachment 24869 [details] presentation crashing while loading in impress 1.9.91
Reproducible.
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.
Target set.
Accepted.
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.
Please take over.
sj: this issue has been fixed now incws[impress46]
sj: this issue has been fixed in cws[impress46] re-open issue and reassign to wg@openoffice.org
reassign to wg@openoffice.org
reset resolution to FIXED
Verified in CWS.
Tested in master m95. Closed.