I know there are several questions out there with the same title but none of them seem to apply.
I have little experience using intellij and scene builder and even less experience developing in JAVAFX.
The problem started when my old computer broke down and I had to buy a new one and download newer versions of both Intellij and Scene Builder.
When I attempt to run my program I get a "location is required" error (after receiving Invocation Target Exceptions and Null pointer errors). What I mean to say this is the latest error I need to resolve.
I have been trying to resolve this problem for 2 months (off and on) and I am frustrated as hell.
I tried a couple of times to uninstall and reinstall Intellij and Scene Builder.
I tried to validate the path I was providing to my Scene Builder screen.
Concerting from:
Parent root = FXMLLoader.load(getClass().getClassLoader().getResource("BlackJackMessage.fxml"));
to an input stream type of load:
File map = new File("C:/users/rbeto/internet_development/BlackJackV3/src/sample/BlackJackGame2.fxml");
InputStream fxmlStream = new FileInputStream(map);
Parent root = loader.load(fxmlStream);
loader.setController("BlackJackController");