I'm creating my binary file using JPackage but I don't signed the binary.
can this be the problem.

why a simple line like this

FXMLLoader fxmlLoader =new FXMLLoader(GUIManager.class.getResource( fxml + 
Constants.FXML));

return null if it works on WIndows and Linux?

Thanks
Davide





Il 20/10/2020 15:54, Dirk Lemmermann ha scritto:
I worked with JavaFX on MacOS since 2013 and except for issues related to font 
rendering I never got the impression that MacOS is the black sheep. I also 
happen to know that many of the developers that are working on JavaFX use MacOS.

Dirk

On Oct 20, 2020, at 12:28 PM, Davide Perini <perini.dav...@dpsoftware.org> 
wrote:

Hi all,
this code works well on both Windows and Linux running Java 15 on JavaFX 15.

FXMLLoader fxmlLoader =new FXMLLoader(GUIManager.class.getResource( fxml + 
Constants.FXML)); return fxmlLoader.load();


It doesn't work on Macos returning a nullpointer exception.

Any idea? Why Macos is always the black sheep?

Thanks
Davide

Reply via email to