on both Fedora 37 and 38 beta GNOME/Wayland, e.g. "Tools - Macro - Organize Macros - BeanShell... - Application Macros - Calc - CopyRange.bsh - Edit" fails with
Exception in thread "AWT-EventQueue-0" java.awt.HeadlessException:
No X11 DISPLAY variable was set, but this program performed an operation which requires it.
at java.desktop/java.awt.GraphicsEnvironment.checkHeadless(GraphicsEnvironment.java:208)
at java.desktop/java.awt.Window.<init>(Window.java:548)
at java.desktop/java.awt.Frame.<init>(Frame.java:423)
at java.desktop/javax.swing.JFrame.<init>(JFrame.java:224)
at com.sun.star.script.framework.provider.beanshell.ScriptEditorForBeanShell.initUI(ScriptEditorForBeanShell.java:273)
at com.sun.star.script.framework.provider.beanshell.ScriptEditorForBeanShell.<init>(ScriptEditorForBeanShell.java:259)
at com.sun.star.script.framework.provider.beanshell.ScriptEditorForBeanShell.<init>(ScriptEditorForBeanShell.java:52)
at com.sun.star.script.framework.provider.beanshell.ScriptEditorForBeanShell$1.run(ScriptEditorForBeanShell.java:211)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:313)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
on stderr rather than opening a "BeanShell Debug Window: CopyRange.bsh" editor window.
At least with the latest
on both Fedora 37 and 38 beta GNOME/Wayland, e.g. "Tools - Macro - Organize Macros - BeanShell... - Application Macros - Calc - CopyRange.bsh - Edit" fails with
on
stderr
rather than opening a "BeanShell Debug Window: CopyRange.bsh" editor window.