-
Bug
-
Resolution: Fixed
-
P3
-
8
-
None
-
windows7 + JavaFx8
Opening a particular fxml I've a NPE:
java.io.IOException: javafx.fxml.LoadException:
client/ui/dataset/DataSetUi.fxml:140
at com.oracle.javafx.scenebuilder.kit.fxom.FXOMLoader.load(FXOMLoader.java:92)
at com.oracle.javafx.scenebuilder.kit.fxom.FXOMDocument.<init>(FXOMDocument.java:80)
at com.oracle.javafx.scenebuilder.kit.editor.EditorController.updateFxomDocument(EditorController.java:2373)
at com.oracle.javafx.scenebuilder.kit.editor.EditorController.setFxmlTextAndLocation(EditorController.java:626)
at com.oracle.javafx.scenebuilder.app.DocumentWindowController.loadFromFile(DocumentWindowController.java:388)
at com.oracle.javafx.scenebuilder.app.SceneBuilderApp.performOpenFiles(SceneBuilderApp.java:531)
at com.oracle.javafx.scenebuilder.app.SceneBuilderApp.handleOpenFilesAction(SceneBuilderApp.java:399)
at com.oracle.javafx.scenebuilder.app.SceneBuilderApp.handleLaunch(SceneBuilderApp.java:385)
at com.oracle.javafx.scenebuilder.app.AppPlatform.requestStartGeneric(AppPlatform.java:139)
at com.oracle.javafx.scenebuilder.app.AppPlatform.requestStart(AppPlatform.java:106)
at com.oracle.javafx.scenebuilder.app.SceneBuilderApp.start(SceneBuilderApp.java:319)
at com.sun.javafx.application.LauncherImpl$8.run(LauncherImpl.java:837)
at com.sun.javafx.application.PlatformImpl$7.run(PlatformImpl.java:335)
at com.sun.javafx.application.PlatformImpl$6$1.run(PlatformImpl.java:301)
at com.sun.javafx.application.PlatformImpl$6$1.run(PlatformImpl.java:298)
at java.security.AccessController.doPrivileged(Native Method)
at com.sun.javafx.application.PlatformImpl$6.run(PlatformImpl.java:298)
at com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:95)
at com.sun.glass.ui.win.WinApplication._runLoop(Native Method)
at com.sun.glass.ui.win.WinApplication.access$300(WinApplication.java:39)
at com.sun.glass.ui.win.WinApplication$4$1.run(WinApplication.java:112)
at java.lang.Thread.run(Thread.java:744)
Caused by: javafx.fxml.LoadException:
/C:/Users/Utente/Documents/workspaceServer/ecallFull/javafx/src/main/resources/it/pianetatecno/ecall/client/ui/dataset/DataSetUi.fxml:140
at javafx.fxml.FXMLLoader.constructLoadException(FXMLLoader.java:2617)
at javafx.fxml.FXMLLoader.loadImpl(FXMLLoader.java:2595)
at javafx.fxml.FXMLLoader.load(FXMLLoader.java:2425)
at com.oracle.javafx.scenebuilder.kit.fxom.FXOMLoader.load(FXOMLoader.java:89)
... 21 more
Caused by: java.lang.NullPointerException
at com.sun.javafx.fxml.expression.Expression$15.evaluate(Expression.java:1623)
at com.sun.javafx.fxml.expression.ExpressionValue.getValue(ExpressionValue.java:196)
at com.sun.javafx.binding.ExpressionHelper.addListener(ExpressionHelper.java:53)
at javafx.beans.value.ObservableValueBase.addListener(ObservableValueBase.java:55)
at com.sun.javafx.fxml.expression.ExpressionValue.addListener(ExpressionValue.java:205)
at javafx.beans.binding.BooleanBinding.bind(BooleanBinding.java:107)
at javafx.beans.property.BooleanPropertyBase$1.<init>(BooleanPropertyBase.java:167)
at javafx.beans.property.BooleanPropertyBase.bind(BooleanPropertyBase.java:164)
at javafx.fxml.FXMLLoader$Element.processPropertyAttribute(FXMLLoader.java:314)
at javafx.fxml.FXMLLoader$Element.processInstancePropertyAttributes(FXMLLoader.java:231)
at javafx.fxml.FXMLLoader$ValueElement.processEndElement(FXMLLoader.java:761)
at javafx.fxml.FXMLLoader.processEndElement(FXMLLoader.java:2839)
at javafx.fxml.FXMLLoader.loadImpl(FXMLLoader.java:2532)
... 23 more
See attached FXML (DataSetUi.fxml).
java.io.IOException: javafx.fxml.LoadException:
client/ui/dataset/DataSetUi.fxml:140
at com.oracle.javafx.scenebuilder.kit.fxom.FXOMLoader.load(FXOMLoader.java:92)
at com.oracle.javafx.scenebuilder.kit.fxom.FXOMDocument.<init>(FXOMDocument.java:80)
at com.oracle.javafx.scenebuilder.kit.editor.EditorController.updateFxomDocument(EditorController.java:2373)
at com.oracle.javafx.scenebuilder.kit.editor.EditorController.setFxmlTextAndLocation(EditorController.java:626)
at com.oracle.javafx.scenebuilder.app.DocumentWindowController.loadFromFile(DocumentWindowController.java:388)
at com.oracle.javafx.scenebuilder.app.SceneBuilderApp.performOpenFiles(SceneBuilderApp.java:531)
at com.oracle.javafx.scenebuilder.app.SceneBuilderApp.handleOpenFilesAction(SceneBuilderApp.java:399)
at com.oracle.javafx.scenebuilder.app.SceneBuilderApp.handleLaunch(SceneBuilderApp.java:385)
at com.oracle.javafx.scenebuilder.app.AppPlatform.requestStartGeneric(AppPlatform.java:139)
at com.oracle.javafx.scenebuilder.app.AppPlatform.requestStart(AppPlatform.java:106)
at com.oracle.javafx.scenebuilder.app.SceneBuilderApp.start(SceneBuilderApp.java:319)
at com.sun.javafx.application.LauncherImpl$8.run(LauncherImpl.java:837)
at com.sun.javafx.application.PlatformImpl$7.run(PlatformImpl.java:335)
at com.sun.javafx.application.PlatformImpl$6$1.run(PlatformImpl.java:301)
at com.sun.javafx.application.PlatformImpl$6$1.run(PlatformImpl.java:298)
at java.security.AccessController.doPrivileged(Native Method)
at com.sun.javafx.application.PlatformImpl$6.run(PlatformImpl.java:298)
at com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:95)
at com.sun.glass.ui.win.WinApplication._runLoop(Native Method)
at com.sun.glass.ui.win.WinApplication.access$300(WinApplication.java:39)
at com.sun.glass.ui.win.WinApplication$4$1.run(WinApplication.java:112)
at java.lang.Thread.run(Thread.java:744)
Caused by: javafx.fxml.LoadException:
/C:/Users/Utente/Documents/workspaceServer/ecallFull/javafx/src/main/resources/it/pianetatecno/ecall/client/ui/dataset/DataSetUi.fxml:140
at javafx.fxml.FXMLLoader.constructLoadException(FXMLLoader.java:2617)
at javafx.fxml.FXMLLoader.loadImpl(FXMLLoader.java:2595)
at javafx.fxml.FXMLLoader.load(FXMLLoader.java:2425)
at com.oracle.javafx.scenebuilder.kit.fxom.FXOMLoader.load(FXOMLoader.java:89)
... 21 more
Caused by: java.lang.NullPointerException
at com.sun.javafx.fxml.expression.Expression$15.evaluate(Expression.java:1623)
at com.sun.javafx.fxml.expression.ExpressionValue.getValue(ExpressionValue.java:196)
at com.sun.javafx.binding.ExpressionHelper.addListener(ExpressionHelper.java:53)
at javafx.beans.value.ObservableValueBase.addListener(ObservableValueBase.java:55)
at com.sun.javafx.fxml.expression.ExpressionValue.addListener(ExpressionValue.java:205)
at javafx.beans.binding.BooleanBinding.bind(BooleanBinding.java:107)
at javafx.beans.property.BooleanPropertyBase$1.<init>(BooleanPropertyBase.java:167)
at javafx.beans.property.BooleanPropertyBase.bind(BooleanPropertyBase.java:164)
at javafx.fxml.FXMLLoader$Element.processPropertyAttribute(FXMLLoader.java:314)
at javafx.fxml.FXMLLoader$Element.processInstancePropertyAttributes(FXMLLoader.java:231)
at javafx.fxml.FXMLLoader$ValueElement.processEndElement(FXMLLoader.java:761)
at javafx.fxml.FXMLLoader.processEndElement(FXMLLoader.java:2839)
at javafx.fxml.FXMLLoader.loadImpl(FXMLLoader.java:2532)
... 23 more
See attached FXML (DataSetUi.fxml).
- is blocked by
-
JDK-8095609 FXMLLoader throws NPE when parsing some binding expression in static mode
- Resolved