title: InvocationTargetException when trying to switch scene [JavaFX]
body: <p>Whenever I try switching my scene, I get this error:</p>
  
  
  
  <pre><code>Exception in thread "JavaFX Application Thread" java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
  </code></pre>
  
  <p>Here is the method when I switch the scene:</p>
  
  <pre><code>public void changeScene(String sceneID) throws Exception{
  
      Parent newScene = FXMLLoader.load(getClass().getResource(sceneID));
      Scene scene;
      scene = new Scene(newScene, 800, 600);
  
      window.setScene(scene);
  
      window.show();
  }
  </code></pre>