Frequently I cannot reopen an fxml file by the Scene builder.
This is the error message:
Any idea how to fix it?
This is the error message:
When I compare the file (using Winmerge) with a previous one that can be opened it is hard to see something offending (but the files are different since they are different version).java.lang.ClassCastException: java.net.URL cannot be cast to java.lang.String
at com.oracle.javafx.authoring.watch.ProjectWatcher.toFileList(ProjectWatcher.java:745)
at com.oracle.javafx.authoring.watch.ProjectWatcher.access$600(ProjectWatcher.java:40)
at com.oracle.javafx.authoring.watch.ProjectWatcher$StyleSheetsHandler.retrieveSource(ProjectWatcher.java:350)
at com.oracle.javafx.authoring.watch.ProjectWatcher.retrievePropertyFiles(ProjectWatcher.java:385)
at com.oracle.javafx.authoring.watch.ProjectWatcher.visitElement(ProjectWatcher.java:631)
at com.oracle.javafx.authoring.watch.ProjectWatcher.init(ProjectWatcher.java:446)
at com.oracle.javafx.authoring.watch.ProjectWatcher.<init>(ProjectWatcher.java:434)
at com.oracle.javafx.authoring.Project.<init>(Project.java:586)
at com.oracle.javafx.authoring.Project.finish(Project.java:923)
at com.oracle.javafx.authoring.Project.forFxml(Project.java:839)
at com.oracle.javafx.authoring.Project.forFxml(Project.java:807)
at com.oracle.javafx.authoring.DesignerTool.loadFXMLLayout(DesignerTool.java:197)
at com.oracle.javafx.authoring.DesignerTool.loadFXMLLayout(DesignerTool.java:185)
at com.oracle.javafx.authoring.DesignerTool.commonInit(DesignerTool.java:513)
at com.oracle.javafx.authoring.DesignerTool.init(DesignerTool.java:457)
at com.oracle.javafx.authoring.SceneBuilderLauncher$RunningWithJMXInstance.launch(SceneBuilderLauncher.java:71)
at com.oracle.javafx.authoring.Main.start(Main.java:72)
at com.sun.javafx.application.LauncherImpl$5.run(LauncherImpl.java:319)
at com.sun.javafx.application.PlatformImpl$5.run(PlatformImpl.java:216)
at com.sun.javafx.application.PlatformImpl$4$1.run(PlatformImpl.java:179)
at com.sun.javafx.application.PlatformImpl$4$1.run(PlatformImpl.java:176)
at java.security.AccessController.doPrivileged(Native Method)
at com.sun.javafx.application.PlatformImpl$4.run(PlatformImpl.java:176)
at com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:76)
at com.sun.glass.ui.win.WinApplication._runLoop(Native Method)
at com.sun.glass.ui.win.WinApplication.access$100(WinApplication.java:17)
at com.sun.glass.ui.win.WinApplication$3$1.run(WinApplication.java:67)
at java.lang.Thread.run(Thread.java:724)
Any idea how to fix it?
Attachments
Last edited: