You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Scene Builder Kit is not modular (see #240 ), and adding it to another JavaFX project only works for non-modular projects.
For modular projects, it produces this exception:
Exception in Application constructor
java.lang.reflect.InvocationTargetException
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:118)
...
at java.base/sun.launcher.LauncherHelper$FXHelper.main(LauncherHelper.java:1164)
Caused by: java.lang.RuntimeException: Unable to construct Application instance: class com.gluonhq.embeddeddemo.HelloApplication
at javafx.graphics@23/com.sun.javafx.application.LauncherImpl.launchApplication1(LauncherImpl.java:883)
at javafx.graphics@23/com.sun.javafx.application.LauncherImpl.lambda$launchApplication$2(LauncherImpl.java:196)
at java.base/java.lang.Thread.run(Thread.java:1575)
Caused by: java.lang.reflect.InvocationTargetException
at java.base/jdk.internal.reflect.DirectConstructorHandleAccessor.newInstance(DirectConstructorHandleAccessor.java:74)
at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:501)
...
at javafx.graphics@23/com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:95)
Caused by: java.lang.ExceptionInInitializerError
at [email protected]/com.oracle.javafx.scenebuilder.kit.editor.EditorController.<init>(EditorController.java:267)
at [email protected]/com.gluonhq.embeddeddemo.HelloApplication.<init>(HelloApplication.java:87)
at java.base/jdk.internal.reflect.DirectConstructorHandleAccessor.newInstance(DirectConstructorHandleAccessor.java:62)
... 8 more
Caused by: java.lang.UnsupportedOperationException: ResourceBundle.Control not supported in named modules
at java.base/java.util.ResourceBundle.checkNamedModule(ResourceBundle.java:1538)
at java.base/java.util.ResourceBundle.getBundle(ResourceBundle.java:902)
at [email protected]/com.oracle.javafx.scenebuilder.kit.i18n.I18N.getBundle(I18N.java:58)
at [email protected]/com.oracle.javafx.scenebuilder.kit.i18n.I18N.getString(I18N.java:47)
at [email protected]/com.oracle.javafx.scenebuilder.kit.library.BuiltinLibrary.<clinit>(BuiltinLibrary.java:73)
... 11 more
Expected Behavior
Scene Builder (kit and app) should be modular, and ResourceBundle.Control should be removed in favour of the modular resource provider approach.
The text was updated successfully, but these errors were encountered:
Scene Builder Kit is not modular (see #240 ), and adding it to another JavaFX project only works for non-modular projects.
For modular projects, it produces this exception:
Expected Behavior
Scene Builder (kit and app) should be modular, and ResourceBundle.Control should be removed in favour of the modular resource provider approach.
The text was updated successfully, but these errors were encountered: