-
-
Notifications
You must be signed in to change notification settings - Fork 51
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Scene Builder cannot load FXML with Ikonli 12.0.0 #124
Comments
Same here! |
Thank you for your report. Are you saying that an FXML like the following no longer works? |
Here's the And here is the I suspect there's some specific issue in SceneBuilder. The given exception occurs when no suitable |
The other thing that could be related to this problem is how private static ServiceLoader<IkonHandler> resolveServiceLoader() {
if (null != IkonHandler.class.getModule().getLayer()) {
return ServiceLoader.load(IkonHandler.class.getModule().getLayer(), IkonHandler.class);
}
return ServiceLoader.load(IkonHandler.class);
} @eugener would you happen to have an idea how SceneBuilder loads new JARs when a |
Well, I can replicate the problem with SceneBuilder 11.0.0 Steps:
Given the error message I can tell Ikonli did not find a suitable |
Well, it turns SecneBuilder is cheeky and loads custom jars into the unnamed module, making the ModuleLayer |
Hey,
thanks for your work on Ikonli!
I just updated from v11.5.0 to v12.0.0. I cannot open any of my existing FXMLs that contain FontIcons with an iconLiteral anymore. That is, when the file contains only an "empty" FontIcon, everything works. When the iconLiteral is defined, i get
Of course, I updated the JARs for Ikonli inside SceneBuilder.
Any idea what might be the problem?
The text was updated successfully, but these errors were encountered: