Issue 40582 - crash upon shutting down OOo, after executing a Java script via a form control
Summary: crash upon shutting down OOo, after executing a Java script via a form control
Status: CLOSED DUPLICATE of issue 42740
Alias: None
Product: App Dev
Classification: Unclassified
Component: scripting (show other issues)
Version: 3.3.0 or older (OOo)
Hardware: All Windows XP
: P3 Trivial
Target Milestone: ---
Assignee: thomas.benisch
QA Contact: Unknown
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-01-13 14:02 UTC by Frank Schönheit
Modified: 2013-02-24 21:01 UTC (History)
1 user (show)

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


Attachments
document to reproduce the bug case (6.52 KB, application/vnd.oasis.opendocument.text)
2005-01-13 14:03 UTC, Frank Schönheit
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description Frank Schönheit 2005-01-13 14:02:20 UTC
- extract the "mouseelector.zip" attached to issue 36009
(http://www.openoffice.org/nonav/issues/showattachment.cgi/21450/mouseselector.zip)
into your office installation, location share/Scripts/Java
- open a new text document
- insert a push button form control
- in it's context menu, choose "Control..."
- in the property browser which opened then, on the tab page "Events", assign
  the mouseselector/ script to the "Mouse button pressed" event of the control
- switch off the form design mode of the document
- click the button
=> the script is run, and a Java dialog opens
- cancel the dialog
- exit OpenOffice.org
=> crash

Note: I only saw the crash when running the process within the debugger: If ran
outside the debugger, the crash was not noticable, since no crash reporter
opened, and so the crash could not really be distinguished from a normal shutdown.
Comment 1 Frank Schönheit 2005-01-13 14:03:37 UTC
Created attachment 21459 [details]
document to reproduce the bug case
Comment 2 Frank Schönheit 2005-01-13 14:04:48 UTC
the attached document allows for easier reproduction: Just open it, click the
button, and shutdown OOo.
(before all of this, install the mouseselector script package as described
above, of course)
Comment 3 tomaisoc 2005-01-28 17:36:16 UTC
I've done some experimentation and it seems that any Java macro that opens
a Swing window will cause this crash when running Office in the debugger on
Windows.
Comment 4 Mathias_Bauer 2005-03-01 17:26:57 UTC
Thomas, please check if this is a duplicate to the general crash of SWK on exit
we already know,
Comment 5 thomas.benisch 2005-03-02 12:04:41 UTC
this task was fixed with #i42740# => duplicate

*** This issue has been marked as a duplicate of 42740 ***
Comment 6 thomas.benisch 2005-03-02 12:06:20 UTC
closed