Почему строка root.getChildren().add(start.load()); выдает исключение InvocationTargetException и как это можно исправить?
public void start(Stage primaryStage) throws IOException {
Main.stage = primaryStage;
FXMLLoader start = new FXMLLoader(getClass().getResource("/src/main/resources/introduction.fxml"));
root.getChildren().add(start.load());
Scene scene = new Scene(root);
stage.setScene(scene);
stage.setTitle("Русские шашки");
stage.getIcons().add(new Image("icon.png"));
stage.setResizable(false);
newGame.setOnAction(event -> Introduction.startGame());
}