This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
When I use NetBeans build with jdk9 support and open for edit an FX project with fxml file the editor shows error "Instances of class cannot be created by FXML loader". This happens only with jdk9 selected as the java platform. When I switch to jdk8 as the java platform the error goes away. Below is the example of fxml that reproduces the issue: <?xml version="1.0" encoding="UTF-8"?> <?import javafx.scene.layout.*?> <?import javafx.geometry.*?> <BorderPane xmlns:fx="http://javafx.com/fxml/1" xmlns="http://javafx.com/javafx/8"> <padding> <Insets bottom="10" left="10" right="10" top="10"/> </padding> </BorderPane> It produces 2 errors: "Instances of javafx.geometry.Insets cannot be created by FXML loader" "Class javafx.geometry.Insets does not support property 'right'" Note that the program compiles and runs fine with jdk9. So it's an editor issue.