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
When loading a component that has Ikonli inside the fxml scenebuilder refuses to load it.
Expected Behavior
Component that have FontIcon inseide fxml to work as normal fxml files
Current Behavior
All the component that have
inside an fxml does not load
Steps to Reproduce
create s imple component with Ikonli and add a FontIcon inside the fxml of the component, then try to load the compiled jar inside scenebuilder.
Your Environment
I don't really know what to say
latest release of scenebuilder
maven
javafx 22-ea+11
Ikonli 12.3.1
Java 22
maven-shade-plugin 3.6.0
Screenshots
Has you can see "ConIkonli was not loaded"
Ikonli is correctly installed don scenebuilder and maven (I use intellij)
Also if I add FontIcon inside the controller and not the fxml it works but it defeats the purpose of having the fxml in the first place.
at javafx.fxml@22/javafx.fxml.FXMLLoader.constructLoadException(Unknown Source)
at javafx.fxml@22/javafx.fxml.FXMLLoader$InstanceDeclarationElement.constructValue(Unknown Source)
at javafx.fxml@22/javafx.fxml.FXMLLoader$ValueElement.processStartElement(Unknown Source)
at javafx.fxml@22/javafx.fxml.FXMLLoader.processStartElement(Unknown Source)
at javafx.fxml@22/javafx.fxml.FXMLLoader.loadImpl(Unknown Source)
at javafx.fxml@22/javafx.fxml.FXMLLoader.load(Unknown Source)
at com.oracle.javafx.scenebuilder.kit.library.util.ExplorerBase.instantiateWithFXMLLoader(ExplorerBase.java:56)
at com.oracle.javafx.scenebuilder.kit.library.util.ExplorerBase.exploreEntry(ExplorerBase.java:111)
at com.oracle.javafx.scenebuilder.kit.library.util.JarExplorer.exploreEntry(JarExplorer.java:83)
at com.oracle.javafx.scenebuilder.kit.library.util.JarExplorer.explore(JarExplorer.java:65)
at com.oracle.javafx.scenebuilder.kit.library.user.LibraryFolderWatcher.exploreAndUpdateLibrary(LibraryFolderWatcher.java:381)
at com.oracle.javafx.scenebuilder.kit.library.user.LibraryFolderWatcher.runDiscovery(LibraryFolderWatcher.java:155)
at com.oracle.javafx.scenebuilder.kit.library.user.LibraryFolderWatcher.run(LibraryFolderWatcher.java:100)
at java.base/java.lang.Thread.run(Unknown Source)
Caused by: java.lang.reflect.InvocationTargetException
at java.base/jdk.internal.reflect.DirectConstructorHandleAccessor.newInstance(Unknown Source)
at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Unknown Source)
at java.base/java.lang.reflect.Constructor.newInstance(Unknown Source)
... 13 more
Caused by: java.lang.RuntimeException: javafx.fxml.LoadException:
file:/C:/Users/sgroo/AppData/Roaming/Scene%20Builder/Library/ScenebuilderWorking-1.0-SNAPSHOT.jar!/org/wip/scenebuildernonfunctional/ConIkonli.fxml
at org.wip.scenebuildernonfunctional.ConIkonli.<init>(ConIkonli.java:19)
... 16 more
at javafx.fxml@22/javafx.fxml.FXMLLoader.constructLoadException(Unknown Source)
at javafx.fxml@22/javafx.fxml.FXMLLoader.importClass(Unknown Source)
at javafx.fxml@22/javafx.fxml.FXMLLoader.processImport(Unknown Source)
at javafx.fxml@22/javafx.fxml.FXMLLoader.processProcessingInstruction(Unknown Source)
at javafx.fxml@22/javafx.fxml.FXMLLoader.loadImpl(Unknown Source)
at javafx.fxml@22/javafx.fxml.FXMLLoader.loadImpl(Unknown Source)
at javafx.fxml@22/javafx.fxml.FXMLLoader.load(Unknown Source)
at org.wip.scenebuildernonfunctional.ConIkonli.<init>(ConIkonli.java:17)
... 16 more
Caused by: java.lang.ClassNotFoundException: org.kordamp.ikonli.javafx.FontIcon
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(Unknown Source)
at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(Unknown Source)
at java.base/java.lang.ClassLoader.loadClass(Unknown Source)
at javafx.fxml@22/javafx.fxml.FXMLLoader.loadTypeForPackage(Unknown Source)
at javafx.fxml@22/javafx.fxml.FXMLLoader.loadType(Unknown Source)
... 23 more
When loading a component that has Ikonli inside the fxml scenebuilder refuses to load it.
Expected Behavior
Component that have FontIcon inseide fxml to work as normal fxml files
Current Behavior
All the component that have
inside an fxml does not load
Steps to Reproduce
create s imple component with Ikonli and add a FontIcon inside the fxml of the component, then try to load the compiled jar inside scenebuilder.
Your Environment
I don't really know what to say
Screenshots
Has you can see "ConIkonli was not loaded"
Ikonli is correctly installed don scenebuilder and maven (I use intellij)
Also if I add FontIcon inside the controller and not the fxml it works but it defeats the purpose of having the fxml in the first place.
Error
Exception for: org/wip/scenebuildernonfunctional/ConIkonli.class
javafx.fxml.LoadException:
unknown path:2
Caused by: java.lang.reflect.InvocationTargetException
at java.base/jdk.internal.reflect.DirectConstructorHandleAccessor.newInstance(Unknown Source)
at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Unknown Source)
at java.base/java.lang.reflect.Constructor.newInstance(Unknown Source)
... 13 more
Caused by: java.lang.RuntimeException: javafx.fxml.LoadException:
file:/C:/Users/sgroo/AppData/Roaming/Scene%20Builder/Library/ScenebuilderWorking-1.0-SNAPSHOT.jar!/org/wip/scenebuildernonfunctional/ConIkonli.fxml
Caused by: javafx.fxml.LoadException:
file:/C:/Users/sgroo/AppData/Roaming/Scene%20Builder/Library/ScenebuilderWorking-1.0-SNAPSHOT.jar!/org/wip/scenebuildernonfunctional/ConIkonli.fxml
Caused by: java.lang.ClassNotFoundException: org.kordamp.ikonli.javafx.FontIcon
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(Unknown Source)
at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(Unknown Source)
at java.base/java.lang.ClassLoader.loadClass(Unknown Source)
at javafx.fxml@22/javafx.fxml.FXMLLoader.loadTypeForPackage(Unknown Source)
at javafx.fxml@22/javafx.fxml.FXMLLoader.loadType(Unknown Source)
... 23 more
Files
Files
The text was updated successfully, but these errors were encountered: