[Update: sorry, cross posted]
in the FXML (it's trying to set the labelFor to the String "opacitySlider" as it is).
You probably also need fx:id attributes instead of id attributes. The former will inject values into the controller, matching the variable names. The latter will set the CSS id of the node.