Fatal error when resource cannot be resolved
Werner Lehmann
lehmann at media-interactive.de
Mon Aug 20 03:26:21 PDT 2012
Hi,
recently I have localized my FX code. I noticed that the FXMLLoader
would throw an exception if it cannot resolve a resource key. As a
consequence, the FXML is not loaded and the JFXPanel does not show in
the GUI. More NPE can be expected because the object graph is now null.
This seems a bit drastic. Maybe it is better to show the unresolved key
instead in the GUI? With some logging in place I would probably just log
this as a warning.
Werner
More information about the openjfx-dev
mailing list