Can not open FXML after a while

Kalaschni picture Kalaschni · Apr 1, 2014 · Viewed 7.6k times · Source

I have a problem with my JavaFX Scene Builder v2.0-b14.

From time to time, the FXML can't get opened. Even if i remove everything from the FXML except the root.
In the taskbar, it looks like this:
can not open FXML

If i rename the File, i can open the FXML normally.
renamed FXML opens normally

Does anyone know/had this problem, or know where the SceneBuilder caches such things?

greetings,
Kalasch

Answer

ifloop picture ifloop · Aug 26, 2014

Even though this question has been asked long time ago and it already got an accepted answer, I want to contribute my solution to this problem because it differs from the other solutions and in addition is very simple.

This particular problem happened to me just a few mins ago and all I took to solve was:

Windows XP/7

  • Opening the Windows Taskmanager
  • Switch to the applications tab
  • Right click the SceneBuilder (named: yourFileName.fxml)
  • Select 'Maximize'

Windows 8+

  • Opening the Windows Taskmanager
  • Switch to Processes Tab
  • Click the dropbown for JavaFX Scene Builder x.x.exe
  • Find the FXML file that is not opening
  • Right-Click > Press Maximize

Description above works for Windows OS, on other OS the corresponding application managing program should do the same.

That worked for me just perfect. No copying and/or overwriting needed.