-
Bug
-
Resolution: Fixed
-
P3
-
8
-
None
If you add a Lighting effect with SB 1.1, you get :
<Lighting>
<bumpInput>
<Shadow />
</bumpInput>
<light>
<javafx.scene.effect.Light.Distant />
</light>
</Lighting>
With SB 2.0, you get :
<Lighting>
<bumpInput>
<Shadow />
</bumpInput>
<light>
<Distant />
</light>
</Lighting>
After adding Lighting effect with 2.0, the button displays a warning in hierarchy (non resolved type).
If you load this FXML with 1.1, you will get same unresolved issue for the Distant Light object.
At this step, you can encounter other issues. For example, if you quit the tool, then start it again and load the previous generated fxml, then invoke the Edit menu, you will get :
java.lang.NullPointerException
at com.oracle.javafx.scenebuilder.kit.fxom.FXOMInstance.<init>(FXOMInstance.java:94)
at com.oracle.javafx.scenebuilder.kit.fxom.FXOMInstance.newInstance(FXOMInstance.java:136)
at com.oracle.javafx.scenebuilder.kit.fxom.FXOMNodes.newObject(FXOMNodes.java:161)
at com.oracle.javafx.scenebuilder.kit.fxom.FXOMPropertyC.newInstance(FXOMPropertyC.java:121)
at com.oracle.javafx.scenebuilder.kit.fxom.FXOMNodes.newProperty(FXOMNodes.java:226)
at com.oracle.javafx.scenebuilder.kit.fxom.FXOMInstance.newInstance(FXOMInstance.java:140)
at com.oracle.javafx.scenebuilder.kit.fxom.FXOMNodes.newObject(FXOMNodes.java:161)
at com.oracle.javafx.scenebuilder.kit.fxom.FXOMPropertyC.newInstance(FXOMPropertyC.java:121)
at com.oracle.javafx.scenebuilder.kit.fxom.FXOMNodes.newProperty(FXOMNodes.java:226)
at com.oracle.javafx.scenebuilder.kit.fxom.FXOMInstance.newInstance(FXOMInstance.java:140)
at com.oracle.javafx.scenebuilder.kit.fxom.FXOMNodes.newObject(FXOMNodes.java:161)
at com.oracle.javafx.scenebuilder.kit.fxom.FXOMNodes.newDocument(FXOMNodes.java:238)
at com.oracle.javafx.scenebuilder.kit.editor.job.DuplicateSelectionJob.makeSubJobs(DuplicateSelectionJob.java:85)
at com.oracle.javafx.scenebuilder.kit.editor.job.v2.CompositeJob.getSubJobs(CompositeJob.java:64)
at com.oracle.javafx.scenebuilder.kit.editor.job.v2.CompositeJob.isExecutable(CompositeJob.java:84)
at com.oracle.javafx.scenebuilder.kit.editor.EditorController.canPerformEditAction(EditorController.java:1172)
at com.oracle.javafx.scenebuilder.app.menubar.MenuBarController$EditActionController.canPerform(MenuBarController.java:1526)
at com.oracle.javafx.scenebuilder.app.menubar.MenuBarController.handleOnMenuValidation(MenuBarController.java:1063)
... 24 more
<Lighting>
<bumpInput>
<Shadow />
</bumpInput>
<light>
<javafx.scene.effect.Light.Distant />
</light>
</Lighting>
With SB 2.0, you get :
<Lighting>
<bumpInput>
<Shadow />
</bumpInput>
<light>
<Distant />
</light>
</Lighting>
After adding Lighting effect with 2.0, the button displays a warning in hierarchy (non resolved type).
If you load this FXML with 1.1, you will get same unresolved issue for the Distant Light object.
At this step, you can encounter other issues. For example, if you quit the tool, then start it again and load the previous generated fxml, then invoke the Edit menu, you will get :
java.lang.NullPointerException
at com.oracle.javafx.scenebuilder.kit.fxom.FXOMInstance.<init>(FXOMInstance.java:94)
at com.oracle.javafx.scenebuilder.kit.fxom.FXOMInstance.newInstance(FXOMInstance.java:136)
at com.oracle.javafx.scenebuilder.kit.fxom.FXOMNodes.newObject(FXOMNodes.java:161)
at com.oracle.javafx.scenebuilder.kit.fxom.FXOMPropertyC.newInstance(FXOMPropertyC.java:121)
at com.oracle.javafx.scenebuilder.kit.fxom.FXOMNodes.newProperty(FXOMNodes.java:226)
at com.oracle.javafx.scenebuilder.kit.fxom.FXOMInstance.newInstance(FXOMInstance.java:140)
at com.oracle.javafx.scenebuilder.kit.fxom.FXOMNodes.newObject(FXOMNodes.java:161)
at com.oracle.javafx.scenebuilder.kit.fxom.FXOMPropertyC.newInstance(FXOMPropertyC.java:121)
at com.oracle.javafx.scenebuilder.kit.fxom.FXOMNodes.newProperty(FXOMNodes.java:226)
at com.oracle.javafx.scenebuilder.kit.fxom.FXOMInstance.newInstance(FXOMInstance.java:140)
at com.oracle.javafx.scenebuilder.kit.fxom.FXOMNodes.newObject(FXOMNodes.java:161)
at com.oracle.javafx.scenebuilder.kit.fxom.FXOMNodes.newDocument(FXOMNodes.java:238)
at com.oracle.javafx.scenebuilder.kit.editor.job.DuplicateSelectionJob.makeSubJobs(DuplicateSelectionJob.java:85)
at com.oracle.javafx.scenebuilder.kit.editor.job.v2.CompositeJob.getSubJobs(CompositeJob.java:64)
at com.oracle.javafx.scenebuilder.kit.editor.job.v2.CompositeJob.isExecutable(CompositeJob.java:84)
at com.oracle.javafx.scenebuilder.kit.editor.EditorController.canPerformEditAction(EditorController.java:1172)
at com.oracle.javafx.scenebuilder.app.menubar.MenuBarController$EditActionController.canPerform(MenuBarController.java:1526)
at com.oracle.javafx.scenebuilder.app.menubar.MenuBarController.handleOnMenuValidation(MenuBarController.java:1063)
... 24 more