Issue 76231 - Dialog organizer crashs when accessing the dialog contained in the form of the bugdoc database
Summary: Dialog organizer crashs when accessing the dialog contained in the form of th...
Status: ACCEPTED
Alias: None
Product: App Dev
Classification: Unclassified
Component: scripting (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:
Depends on:
Blocks:
 
Reported: 2007-04-10 14:21 UTC by Frank Schönheit
Modified: 2017-05-20 11:27 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 Frank Schönheit 2007-04-10 14:21:56 UTC
- open the attached database document
- open the form therein for editing
- Tools / Macros / Organize Dialogs
- expand the "Form1" node in the macro organizer
=> crash

This issue is separated out of issue 76066, which described a bug how to
actually *create* such a corrupted document. Now while with the fix for issue
76066, document corruption is much less likely, but nonetheless the organizer
should not crash when it encounters a document which is (however) flawed.

fs->ab: There's a SAXParseException thrown in
SfxDialogLibraryContainer::importLibraryElement, which is called from
SfxLibraryContainer::loadLibrary. There's two issues here:

First, of course the BasicTreeListBox implementation must catch exceptions
thrown from loadLibrary.

Second, even if it does, one could provoke a crash on Unix systems: loadLibrary
is declared to allow to throw NoSuchElementException, WrappedTargetException,
and RuntimeException. That means that on systems whose compiler respects the
exception declaration (the windows compiler doesn't, GCC does), this will crash,
since the SAXParseException is not allowed to leave.
Comment 1 ab 2007-04-19 12:22:47 UTC
STARTED
Comment 2 Mathias_Bauer 2007-12-04 14:57:35 UTC
basic and scripting issues now should be assigned to component "scripting"
Comment 3 Martin Hollmichel 2007-12-07 12:13:35 UTC
set target to 3.x according to http://wiki.services.openoffice.org/wiki/Target_3x
Comment 4 Marcus 2017-05-20 11:27:42 UTC
Reset assigne to the default "issues@openoffice.apache.org".