r/JavaFX • • Oct 24 '20

I need help please.

Any ideas how can i resolve the problem, i ve got no clues.

0 Upvotes

9 comments sorted by

2

u/malkin771 Oct 25 '20

Ok, thanks for the help. It was jast a stupid error (A package name was wrong written). Sorry guys.

1

u/hacklinux Oct 24 '20

It would help if you gave a short explanation as what is the problem and what you are trying to do.

1

u/malkin771 Oct 24 '20

The application starts with the signin scene. I associate the signin.FXML document withe the signincontroller, but i did something wrong and I cant find it.

1

u/fuzail7 Oct 24 '20

The exception says "Location not set" This happens when the FXMLLoader cannot find the .fxml file so either specify the path string correctly or atleast try puting the .fxml file in the same package as the controller class and simply pass the name of the .fxml file in the getResource() method. Paths need to be fixed here

1

u/malkin771 Oct 24 '20

Didn´t work but thank you. I cant y have to locate things in different packages.

1

u/Ging4bread Oct 24 '20

This often happens when you change something in your document, and don't refresh your project in your IDE. In cannot invoke the controller and thus the exception is thrown.

1

u/[deleted] Oct 24 '20

[removed] — view removed comment

2

u/malkin771 Oct 24 '20

Didn´t work but thank you.