Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8094841

Exception during deletion of ImageView

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P3 P3
    • 8
    • 8
    • javafx
    • None

      I have no strict sequence of steps to reproduce but I've got it sometimes while removing ImageView without setting up the URL


      you'll got following exception:
      Exception in thread "JavaFX Application Thread" java.lang.IllegalStateException: Bug in FXOMRefresher
      at com.oracle.javafx.scenebuilder.kit.fxom.FXOMRefresher.refresh(FXOMRefresher.java:57)
      at com.oracle.javafx.scenebuilder.kit.fxom.FXOMDocument.refreshSceneGraph(FXOMDocument.java:208)
      at com.oracle.javafx.scenebuilder.kit.fxom.FXOMDocument.endUpdate(FXOMDocument.java:195)
      at com.oracle.javafx.scenebuilder.kit.fxom.FXOMDocument.setFxomRoot(FXOMDocument.java:122)
      at com.oracle.javafx.scenebuilder.kit.metadata.util.ClipboardDecoder.makeFxomDocumentFromImageURL(ClipboardDecoder.java:188)
      at com.oracle.javafx.scenebuilder.kit.metadata.util.ClipboardDecoder.makeFxomDocumentFromImageURL(ClipboardDecoder.java:153)
      at com.oracle.javafx.scenebuilder.kit.metadata.util.ClipboardDecoder.decode(ClipboardDecoder.java:111)
      at com.oracle.javafx.scenebuilder.kit.editor.job.PasteJob.buildSubJobs(PasteJob.java:152)
      at com.oracle.javafx.scenebuilder.kit.editor.job.PasteJob.<init>(PasteJob.java:58)
      at com.oracle.javafx.scenebuilder.kit.editor.EditorController.canPerformEditAction(EditorController.java:882)
      at com.oracle.javafx.scenebuilder.app.menubar.MenuBarController$EditActionController.canPerform(MenuBarController.java:1003)
      at com.oracle.javafx.scenebuilder.app.menubar.MenuBarController.handleOnMenuValidation(MenuBarController.java:699)
      at com.oracle.javafx.scenebuilder.app.menubar.MenuBarController.access$200(MenuBarController.java:79)
      at com.oracle.javafx.scenebuilder.app.menubar.MenuBarController$8.handle(MenuBarController.java:689)
      at com.sun.javafx.event.CompositeEventHandler.dispatchBubblingEvent(CompositeEventHandler.java:86)
      at com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(EventHandlerManager.java:238)
      at com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(EventHandlerManager.java:191)
      at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:58)
      at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114)
      at com.sun.javafx.event.EventUtil.fireEventImpl(EventUtil.java:74)
      at com.sun.javafx.event.EventUtil.fireEvent(EventUtil.java:49)
      at javafx.event.Event.fireEvent(Event.java:203)
      at com.sun.javafx.scene.control.skin.MenuButtonSkinBase$5.run(MenuButtonSkinBase.java:310)
      at com.sun.javafx.scene.KeyboardShortcutsHandler.processAccelerators(KeyboardShortcutsHandler.java:350)
      at com.sun.javafx.scene.KeyboardShortcutsHandler.dispatchBubblingEvent(KeyboardShortcutsHandler.java:168)
      at com.sun.javafx.event.CompositeEventDispatcher.dispatchBubblingEvent(CompositeEventDispatcher.java:59)
      at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:58)
      at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114)
      at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56)
      at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114)
      at com.sun.javafx.event.EventUtil.fireEventImpl(EventUtil.java:74)
      at com.sun.javafx.event.EventUtil.fireEvent(EventUtil.java:54)
      at javafx.event.Event.fireEvent(Event.java:203)
      at javafx.scene.Scene$KeyHandler.process(Scene.java:3862)
      at javafx.scene.Scene$KeyHandler.access$2100(Scene.java:3809)
      at javafx.scene.Scene.impl_processKeyEvent(Scene.java:1993)
      at javafx.scene.Scene$ScenePeerListener.keyEvent(Scene.java:2450)
      at com.sun.javafx.tk.quantum.GlassViewEventHandler$KeyEventNotification.run(GlassViewEventHandler.java:170)
      at com.sun.javafx.tk.quantum.GlassViewEventHandler$KeyEventNotification.run(GlassViewEventHandler.java:123)
      at java.security.AccessController.doPrivileged(Native Method)
      at com.sun.javafx.tk.quantum.GlassViewEventHandler.handleKeyEvent(GlassViewEventHandler.java:197)
      at com.sun.glass.ui.View.handleKeyEvent(View.java:517)
      at com.sun.glass.ui.View.notifyKey(View.java:927)
      at com.sun.glass.ui.win.WinApplication._runLoop(Native Method)
      at com.sun.glass.ui.win.WinApplication.access$300(WinApplication.java:39)
      at com.sun.glass.ui.win.WinApplication$4$1.run(WinApplication.java:112)
      at java.lang.Thread.run(Thread.java:744)
      Caused by: java.io.IOException: javafx.fxml.LoadException:
      unknown path:9

      at com.oracle.javafx.scenebuilder.kit.fxom.FXOMLoader.load(FXOMLoader.java:84)
      at com.oracle.javafx.scenebuilder.kit.fxom.FXOMDocument.<init>(FXOMDocument.java:71)
      at com.oracle.javafx.scenebuilder.kit.fxom.FXOMRefresher.refresh(FXOMRefresher.java:54)
      ... 46 more
      Caused by: javafx.fxml.LoadException:
      unknown path:9

      at javafx.fxml.FXMLLoader.constructLoadException(FXMLLoader.java:2589)
      at javafx.fxml.FXMLLoader.loadImpl(FXMLLoader.java:2567)
      at javafx.fxml.FXMLLoader.load(FXMLLoader.java:2397)
      at com.oracle.javafx.scenebuilder.kit.fxom.FXOMLoader.load(FXOMLoader.java:81)
      ... 48 more
      Caused by: java.lang.IllegalArgumentException: URL must not be empty
      at javafx.scene.image.Image.validateUrl(Image.java:1073)
      at javafx.scene.image.Image.<init>(Image.java:671)
      at com.sun.javafx.fxml.builder.JavaFXImageBuilder.build(JavaFXImageBuilder.java:47)
      at com.sun.javafx.fxml.builder.JavaFXImageBuilder.build(JavaFXImageBuilder.java:37)
      at javafx.fxml.FXMLLoader$ValueElement.processEndElement(FXMLLoader.java:752)
      at javafx.fxml.FXMLLoader.processEndElement(FXMLLoader.java:2811)
      at javafx.fxml.FXMLLoader.loadImpl(FXMLLoader.java:2504)
      ... 50 more
      Beep... :(

            eleponn Eric Le Ponner
            dkozorez Dmitry Kozorez (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: