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

Error from URI "file:///"

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 7-pool
    • 7u6
    • javafx
    • linux ubuntu 12.04 with java version "1.7.0_04"
      Java(TM) SE Runtime Environment (build 1.7.0_04-b20)
      Java HotSpot(TM) Client VM (build 23.0-b21, mixed mode)

       
      Media media = new Media( "file://home/myfiles/video.mp4");

      display error


      java.lang.NullPointerException
      at java.net.URI$Parser.parse(URI.java:3023)
      at java.net.URI.<init>(URI.java:595)
      at javafx.scene.media.Media.<init>(Media.java:357)
      at OverlayMediaPlayer$PlayerPane.nextMusic(OverlayMediaPlayer.java:583)
      at OverlayMediaPlayer$PlayerPane.access$700(OverlayMediaPlayer.java:203)
      at OverlayMediaPlayer$PlayerPane$11.handle(OverlayMediaPlayer.java:470)
      at OverlayMediaPlayer$PlayerPane$11.handle(OverlayMediaPlayer.java:463)
      at com.sun.javafx.event.CompositeEventHandler.dispatchBubblingEvent(CompositeEventHandler.java:69)
      at com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(EventHandlerManager.java:217)
      at com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(EventHandlerManager.java:170)
      at com.sun.javafx.event.CompositeEventDispatcher.dispatchBubblingEvent(CompositeEventDispatcher.java:38)
      at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:37)
      at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:92)
      at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:35)
      at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:92)
      at com.sun.javafx.event.EventUtil.fireEventImpl(EventUtil.java:53)
      at com.sun.javafx.event.EventUtil.fireEvent(EventUtil.java:33)
      at javafx.event.Event.fireEvent(Event.java:171)
      at javafx.scene.Node.fireEvent(Node.java:6790)
      at javafx.scene.control.ComboBoxBase.valueInvalidated(ComboBoxBase.java:117)
      at javafx.scene.control.ComboBoxBase$1.invalidated(ComboBoxBase.java:142)
      at javafx.beans.property.ObjectPropertyBase.markInvalid(ObjectPropertyBase.java:129)
      at javafx.beans.property.ObjectPropertyBase.set(ObjectPropertyBase.java:163)
      at javafx.scene.control.ComboBoxBase.setValue(ComboBoxBase.java:148)
      at com.sun.javafx.scene.control.skin.ComboBoxListViewSkin.setTextFromTextFieldIntoComboBoxValue(ComboBoxListViewSkin.java:425)
      at com.sun.javafx.scene.control.skin.ComboBoxListViewSkin.access$300(ComboBoxListViewSkin.java:53)
      at com.sun.javafx.scene.control.skin.ComboBoxListViewSkin$4.changed(ComboBoxListViewSkin.java:353)
      at com.sun.javafx.scene.control.skin.ComboBoxListViewSkin$4.changed(ComboBoxListViewSkin.java:334)
      at com.sun.javafx.binding.ExpressionHelper$SingleChange.fireValueChangedEvent(ExpressionHelper.java:196)
      at com.sun.javafx.binding.ExpressionHelper.fireValueChangedEvent(ExpressionHelper.java:100)
      at javafx.beans.property.ReadOnlyBooleanPropertyBase.fireValueChangedEvent(ReadOnlyBooleanPropertyBase.java:91)
      at javafx.scene.Node$FocusedProperty.notifyListeners(Node.java:6152)
      at javafx.scene.Node.setFocused(Node.java:6203)
      at com.sun.javafx.scene.control.FocusableTextField.setFakeFocus(FocusableTextField.java:37)
      at com.sun.javafx.scene.control.skin.ComboBoxListViewSkin.updateFakeFocus(ComboBoxListViewSkin.java:364)
      at com.sun.javafx.scene.control.skin.ComboBoxListViewSkin.access$100(ComboBoxListViewSkin.java:53)
      at com.sun.javafx.scene.control.skin.ComboBoxListViewSkin$2.changed(ComboBoxListViewSkin.java:128)
      at com.sun.javafx.scene.control.skin.ComboBoxListViewSkin$2.changed(ComboBoxListViewSkin.java:126)
      at com.sun.javafx.binding.ExpressionHelper$Generic.fireValueChangedEvent(ExpressionHelper.java:367)
      at com.sun.javafx.binding.ExpressionHelper.fireValueChangedEvent(ExpressionHelper.java:100)
      at javafx.beans.property.ReadOnlyBooleanPropertyBase.fireValueChangedEvent(ReadOnlyBooleanPropertyBase.java:91)
      at javafx.scene.Node$FocusedProperty.notifyListeners(Node.java:6152)
      at javafx.scene.Scene$14.invalidated(Scene.java:1914)
      at javafx.beans.property.ObjectPropertyBase.markInvalid(ObjectPropertyBase.java:129)
      at javafx.beans.property.ObjectPropertyBase.set(ObjectPropertyBase.java:163)
      at javafx.scene.Scene$KeyHandler.setFocusOwner(Scene.java:3435)
      at javafx.scene.Scene$KeyHandler.requestFocus(Scene.java:3485)
      at javafx.scene.Scene$KeyHandler.access$2400(Scene.java:3433)
      at javafx.scene.Scene.requestFocus(Scene.java:1886)
      at javafx.scene.Scene$ScenePulseListener.focusCleanup(Scene.java:2144)
      at javafx.scene.Scene$ScenePulseListener.pulse(Scene.java:2182)
      at com.sun.javafx.tk.Toolkit.firePulse(Toolkit.java:363)
      at com.sun.javafx.tk.quantum.QuantumToolkit.pulse(QuantumToolkit.java:460)
      at com.sun.javafx.tk.quantum.QuantumToolkit$9.run(QuantumToolkit.java:329)
      at com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:76)
      at com.sun.glass.ui.gtk.GtkApplication._runLoop(Native Method)
      at com.sun.glass.ui.gtk.GtkApplication$3$1.run(GtkApplication.java:82)
      at java.lang.Thread.run(Thread.java:722)

            bpb Brian Burkhalter
            tretonisjfx tretonis (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: