Open MeMyselfI opened 3 months ago
First, it works on Windows.
But it isn't working on my Mac, probably it's an internal problem of Mac OS X (tested with several Java implementations and versions).
[INFO] --- javafx:0.0.8:run (default-cli) @ pushy-console --- Apr. 05, 2024 2:22:29 PM com.sun.glass.ui.mac.MacApplication lambda$waitForReactivation$6 WARNUNG: Timeout while waiting for app reactivation 2024-04-05 14:22:29.910 java[6617:290219] WARNING: Secure coding is not enabled for restorable state! Enable secure coding by implementing NSApplicationDelegate.applicationSupportsSecureRestorableState: and returning YES. 2024-04-05 14:22:31.001 java[6617:290219] *** Assertion failure in -[_NSTrackingAreaAKViewHelper removeTrackingRect:], _NSTrackingAreaAKManager.m:1804 *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: '0x0 is an invalid NSTrackingRectTag. Common possible reasons for this are: 1. already removed this trackingRectTag, 2. Truncated the NSTrackingRectTag to 32bit at some point.' *** First throw call stack: ( 0 CoreFoundation 0x00007ff801e137e6 __exceptionPreprocess + 242 1 libobjc.A.dylib 0x00007ff801903e9d objc_exception_throw + 48 2 Foundation 0x00007ff802e12fe6 -[NSCalendarDate initWithCoder:] + 0 3 AppKit 0x00007ff805bf39bc -[_NSTrackingAreaAKViewHelper removeTrackingRect:] + 199 4 libglass.dylib 0x000000010bea7449 Java_com_sun_glass_ui_mac_MacApplication__1getMacKey + 3593 5 libglass.dylib 0x000000010beac038 Java_com_sun_glass_ui_mac_MacApplication__1getMacKey + 23032 6 AppKit 0x00007ff8054466ee -[NSView setFrame:] + 347 7 libglass.dylib 0x000000010beac095 Java_com_sun_glass_ui_mac_MacApplication__1getMacKey + 23125 8 AppKit 0x00007ff805456722 -[NSView resizeWithOldSuperviewSize:] + 827 9 AppKit 0x00007ff805455fc3 -[NSView resizeSubviewsWithOldSize:] + 503 10 AppKit 0x00007ff80543673b -[NSView setFrameSize:] + 1461 11 AppKit 0x00007ff8054466ee -[NSView setFrame:] + 347 12 AppKit 0x00007ff805456722 -[NSView resizeWithOldSuperviewSize:] + 827 13 AppKit 0x00007ff805455fc3 -[NSView resizeSubviewsWithOldSize:] + 503 14 AppKit 0x00007ff80543673b -[NSView setFrameSize:] + 1461 15 AppKit 0x00007ff805454a20 -[NSThemeFrame setFrameSize:] + 466 16 AppKit 0x00007ff805454126 -[NSWindow _oldPlaceWindow:fromServer:] + 811 17 AppKit 0x00007ff805452ff3 -[NSWindow _setFrameCommon:display:fromServer:] + 3033 18 libglass.dylib 0x000000010be9f27f getImage + 6799 19 libglass.dylib 0x000000010be9ecec getImage + 5372 20 libglass.dylib 0x000000010be9ef59 getImage + 5993 21 libglass.dylib 0x000000010beb62ce Java_com_sun_glass_ui_mac_MacWindow__1setBounds2 + 446 22 ??? 0x000000011dfd0980 0x0 + 4798089600 23 ??? 0x000000011dfcc362 0x0 + 4798071650 24 ??? 0x000000011dfcc362 0x0 + 4798071650 25 ??? 0x000000011dfcc362 0x0 + 4798071650 26 ??? 0x000000011dfcc7ee 0x0 + 4798072814 ) libc++abi: terminating due to uncaught exception of type NSException [ERROR] Command execution failed. org.apache.commons.exec.ExecuteException: Process exited with an error: 134 (Exit value: 134) at org.apache.commons.exec.DefaultExecutor.executeInternal (DefaultExecutor.java:404) at org.apache.commons.exec.DefaultExecutor.execute (DefaultExecutor.java:166) at org.openjfx.JavaFXBaseMojo.executeCommandLine (JavaFXBaseMojo.java:567) at org.openjfx.JavaFXBaseMojo.executeCommandLine (JavaFXBaseMojo.java:434) at org.openjfx.JavaFXRunMojo.execute (JavaFXRunMojo.java:105) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:126) at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute2 (MojoExecutor.java:328) at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute (MojoExecutor.java:316)
I set the JavaFX version to 21 in the pom.xml and it works now.
First, it works on Windows.
But it isn't working on my Mac, probably it's an internal problem of Mac OS X (tested with several Java implementations and versions).