gluonhq / substrate

Create native Java(FX) apps for desktop, mobile and embedded
GNU General Public License v2.0
372 stars 51 forks source link

[macOS] Assertion failure in -[_NSTrackingAreaAKViewHelper removeTrackingRect:] #1205

Closed jperedadnr closed 1 year ago

jperedadnr commented 1 year ago

See https://stackoverflow.com/questions/75594032/unexpected-error-running-gluonfx-nativerun-target

With GluonFX plugin version 1.0.16 (and therefore JavaFX static 20-ea+7), `mvn gluonfx:nativerun fails on Ventura 13.2.1:

[SUB] 2023-02-28 16:37:09.494 HelloFX[20909:254369] Starting Gluon VM...
==================== RUN TASK ====================
[SUB] Feb 28, 2023 4:37:09 PM com.sun.javafx.application.PlatformImpl startup
[SUB] WARNING: Unsupported JavaFX configuration: classes were loaded from 'unnamed module @4563e9ab'
[SUB] 2023-02-28 16:37:09.758 HelloFX[20909:254305] *** Assertion failure in -[_NSTrackingAreaAKViewHelper removeTrackingRect:], _NSTrackingAreaAKManager.m:1613
Process run until end failed with result: 139

Using

<javafxStaticSdkVersion>21-ea+5</javafxStaticSdkVersion>

seems to fix it.

Expected Behavior

Current Behavior

Steps to Reproduce

Your Environment