To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=76231
                 Issue #|76231
                 Summary|Dialog organizer crashs when accessing the dialog cont
                        |ained in the form of the bugdoc database
               Component|framework
                 Version|OOo 2.2
                Platform|All
                     URL|
              OS/Version|All
                  Status|NEW
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|DEFECT
                Priority|P3
            Subcomponent|ui
             Assigned to|ab
             Reported by|fs





------- Additional comments from [EMAIL PROTECTED] Tue Apr 10 13:21:56 +0000 
2007 -------
- 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.

---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to