• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JavaFX nested controllers error : the controller of the include fxml file generate error

 
Houssam Kourdache
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i hase issue with nested controllers in my jaavFX app. I have an fxml named pageOne.fxml file and his controller pageOneController.java,   the file pageOne.fxml is included in Main.fxml file (his controller is MainController.java).
the error is :




MainController


Main.fxml



pageOne.fxml



pageOneController.java

 
Knute Snortum
Bartender
Pie
Posts: 2887
62
Chrome Eclipse IDE Java Postgres Database VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome to the Ranch, Houssam.

When you post code, please be sure to UseCodeTags (that's a link).  I'll do it for you this time.
 
Knute Snortum
Bartender
Pie
Posts: 2887
62
Chrome Eclipse IDE Java Postgres Database VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I don't think you're showing enough of the problem.  I'd like to see the entire stack trace.  Also, I'd like to see how you're loading the FXML files.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic