• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

LoadException with FXML created with Scene Builder 2.0

 
zidane zizo
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I got a problem that i absolutly cant solve on my own because i have just started using JAVA FX. I get a nasty javafx.fxml.LoadException: , but i have done exactly like a guide (http://docs.oracle.com/javafx/scenebuilder/1/get_started/jsbpub-get_started.htm), but i cant get my Main to run. This is the console:

What does it mean and how can I fix it?
the main class:

I've generated FXML in Scene Builder 2.0:

Issuetracking.jpg
[Thumbnail for Issuetracking.jpg]
 
John Damien Smith
Ranch Hand
Posts: 296
14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You should use SceneBuilder 2 and it's associated getting started guide, rather than the dated SceneBuilder 1 getting started guide.

The error you are getting:

means that you are trying to reference a some object on line 481 of IssueTrackingLiteController.java and that object has not been initialized to some value.
I don't know what that object is, so I couldn't tell you why it is not initialized.
A likely candidates is a mismatch between an fx:id name definition and an @FXML marked variable name in your controller class, which prevented correct initialization of the object (but that is just a guess).
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic