Apache OpenOffice (AOO) Bugzilla – Issue 128097
crash when select menu item Tools/Macros/Run Macro
Last modified: 2019-05-27 15:25:02 UTC
Created attachment 86666 [details] Partial crash dump Open Calc with empty worksheet. Click Tools/Macros/Run Macro... This pops up dialog box saying: To open "soffice" you need to install the legacy Java SE 6 runtime. Click OK, and get "OpenOffice quit unexpectedly". (partial crash dump attached) This happens every time.
Could you be more precise and provide which MacOS version is used?
It should be in the crash dump
(In reply to sebb from comment #0) > Created attachment 86666 [details] > Partial crash dump > > Open Calc with empty worksheet. > > Click Tools/Macros/Run Macro... > > This pops up dialog box saying: > > To open "soffice" you need to install the > legacy Java SE 6 runtime. > > Click OK, and get "OpenOffice quit unexpectedly". > (partial crash dump attached) > > This happens every time. Did you try to install Java 6 as described in the Release Notes: https://cwiki.apache.org/confluence/display/OOOUSERS/AOO+4.1.6+Release+Notes#AOO4.1.6ReleaseNotes-FormacOSusers (Don't ask me why this is necessary ;-) )
No, I did not. Note that I can run macros from the organiser, so I don't understand why this menu item should require Java 6, and even if it is required, the program should not crash - it should report an error and continue as if the option had not been selected.
(In reply to sebb from comment #4) > No, I did not. Then you should just try it. ;-) > > Note that I can run macros from the organiser, so I don't understand why > this menu item should require Java 6, and even if it is required, the > program should not crash - it should report an error and continue as if the > option had not been selected. Acknowledged!
(In reply to sebb from comment #2) > It should be in the crash dump Well, provide this information directly here avoid us to download a file This Mac OS X 10.13.6 is not longer supported See: https://www.openoffice.org/dev_docs/source/sys_reqs_aoo41.html
I see you got 10.13.6 from the (partial, small) crash dump. Note that this is later than OS X 10.7 (Lion) or higher. I am running High Sierra currently, which is supported according to https://www.openoffice.org/dev_docs/source/sys_reqs_aoo41.html so I am re-opening the bug.
(In reply to sebb from comment #7) > I am running High Sierra currently Note that I set this version instead of "MacOS all" Could you provide screenshots: 1) when error occurs 2) dialog box in Tools > Options > OpenOffice > Java
Created attachment 86688 [details] Legacy Java 6 message
Created attachment 86689 [details] Quit message (a few seconds later)
I don't have the following menu item: Tools > Options
(In reply to sebb from comment #11) > I don't have the following menu item: > > Tools > Options https://forum.openoffice.org/en/forum/viewtopic.php?f=74&t=89283&hilit=tools+options+macos
Created attachment 86690 [details] Java settings
See issue 128074 Downgrade the JRE to 1.8.x
That should not be necessary. My point is that a crash is a bug, regardless of the setting of the JRE.
In fact I don't get a crash if I select Java 9.0.1. If I deselect Java, I then get a prompt asking If I wish to enable a JRE now. If I select NO, I can still invoke macros successfully. The problem appears to be how the code handles the case where Java is selected, but no specific JRE is selected. This is what seems to cause the crash.