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
Originally reported by: Jose Pereda (Bitbucket: JPereda, GitHub: JPereda)
When including an FXML file, a check is done to verify if it is using the Gluon libraries. At this point FXMLObject::sceneGraphObject is null, and the check FXMLObject::isGluon fails with a NPE.
#!java
java.lang.NullPointerException
at com.oracle.javafx.scenebuilder.kit.fxom.FXOMObject.isGluon(FXOMObject.java:739)
at com.oracle.javafx.scenebuilder.kit.alert.WarnThemeAlert.showAlertIfRequired(WarnThemeAlert.java:74)
at com.oracle.javafx.scenebuilder.kit.editor.job.atomic.AddPropertyValueJob.redo(AddPropertyValueJob.java:102)
at com.oracle.javafx.scenebuilder.kit.editor.job.atomic.AddPropertyValueJob.execute(AddPropertyValueJob.java:77)
at com.oracle.javafx.scenebuilder.kit.editor.job.BatchDocumentJob.execute(BatchDocumentJob.java:73)
at com.oracle.javafx.scenebuilder.kit.editor.job.BatchSelectionJob.execute(BatchSelectionJob.java:66)
at com.oracle.javafx.scenebuilder.kit.editor.job.BatchDocumentJob.execute(BatchDocumentJob.java:73)
at com.oracle.javafx.scenebuilder.kit.editor.job.BatchSelectionJob.execute(BatchSelectionJob.java:66)
at com.oracle.javafx.scenebuilder.kit.editor.job.reference.UpdateReferencesJob.execute(UpdateReferencesJob.java:78)
at com.oracle.javafx.scenebuilder.kit.editor.JobManager.executeJob(JobManager.java:193)
at com.oracle.javafx.scenebuilder.kit.editor.JobManager.push(JobManager.java:82)
at com.oracle.javafx.scenebuilder.kit.editor.EditorController.performIncludeFxml(EditorController.java:1702)
at com.oracle.javafx.scenebuilder.app.DocumentWindowController.performIncludeFxml(DocumentWindowController.java:1697)
at com.oracle.javafx.scenebuilder.app.DocumentWindowController.performEditAction(DocumentWindowController.java:903)
at com.oracle.javafx.scenebuilder.app.menubar.MenuBarController$DocumentEditActionController.perform(MenuBarController.java:1715)
at com.oracle.javafx.scenebuilder.app.menubar.MenuBarController.handleOnActionMenu(MenuBarController.java:1207)
at com.oracle.javafx.scenebuilder.app.menubar.MenuBarController.lambda$new$3(MenuBarController.java:1201)
Checking if sceneGraphObject is not null solves the issue.
Originally reported by: Jose Pereda (Bitbucket: JPereda, GitHub: JPereda)
When including an FXML file, a check is done to verify if it is using the Gluon libraries. At this point
FXMLObject::sceneGraphObject
is null, and the checkFXMLObject::isGluon
fails with a NPE.Checking if
sceneGraphObject
is not null solves the issue.The text was updated successfully, but these errors were encountered: