9 Replies Latest reply: Apr 23, 2012 3:31 AM by daniel RSS

    JavaFX Scene Builder hangs on startup (after previously working OK) - OS X

    user582856
      After having some trouble with some files and changing to the latest JavaFX SDK 2.2 b04 I can no longer start Scene Builder.

      Launching via the GUI hangs with the Scene Builder on the menu bar but I never see the main window.

      If I launch from the command line, I get the following:

      Glass detected outstanding Java exception at -[GlassApplication applicationDidBecomeActive:]:src/com/sun/mat/ui/GlassApplication.m:280
      Exception in thread "JavaFX Application Thread" java.lang.ExceptionInInitializerError
           at com.oracle.javafx.authoring.persist.LoadFxml.<clinit>(LoadFxml.java:46)
           at com.oracle.javafx.authoring.Project.forFxml(Project.java:521)
           at com.oracle.javafx.authoring.Project.create(Project.java:488)
           at com.oracle.javafx.authoring.Project.create(Project.java:477)
           at com.oracle.javafx.authoring.DesignerTool.newProject(DesignerTool.java:221)
           at com.oracle.javafx.authoring.DesignerTool.commonInit(DesignerTool.java:341)
           at com.oracle.javafx.authoring.DesignerTool.init(DesignerTool.java:287)
           at com.oracle.javafx.authoring.MacSceneBuilderLauncher$1.handleDidBecomeActiveAction(MacSceneBuilderLauncher.java:40)
           at com.sun.glass.ui.Application.notifyDidBecomeActive(Application.java:163)
      Caused by: java.lang.IllegalArgumentException: URL must not be empty
           at javafx.scene.image.Image.validateUrl(Image.java:911)
           at javafx.scene.image.Image.<init>(Image.java:579)
           at com.sun.javafx.fxml.builder.JavaFXImageBuilder.build(JavaFXImageBuilder.java:27)
           at com.sun.javafx.fxml.builder.JavaFXImageBuilder.build(JavaFXImageBuilder.java:17)
           at com.oracle.javafx.authoring.persist.SaveFxml.<clinit>(SaveFxml.java:434)
           ... 9 more


      Java: java version "1.6.0_31"
      Java(TM) SE Runtime Environment (build 1.6.0_31-b04-415-11M3635)
      Java HotSpot(TM) 64-Bit Server VM (build 20.6-b01-415, mixed mode)


      I am wondering about the reference to the empty URL. Are there some settings in a file which can be removed?

      TIA,
      Carl