Details

    • Type: Bug
    • Status: Closed
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: fx2.0
    • Fix Version/s: fx2.0
    • Component/s: javafx
    • Environment:

      Windows XP using b41

      Description

      The mediaView.setOnError() is not called and the following is the output:

      OUTPUT>time: 16107.39229 ms
      OUTPUT>time: 16216.507936 ms
      OUTPUT>time: 16308.979591 ms
      OUTPUT>time: 16666.122448 ms
      ERROR>Exception in runnable
      ERROR>java.lang.ClassCastException: javafx.beans.property.ReadOnlyObjectWrapper$
      ReadOnlyPropertyImpl cannot be cast to javafx.beans.property.ObjectProperty
      OUTPUT>player: media is corrupted
      ERROR> at javafx.scene.media.MediaView$MediaErrorInvalidationListener.invalidat
      ed(MediaView.java:52)
      ERROR> at com.sun.javafx.binding.ExpressionHelper$SingleInvalidation.fireValueC
      hangedEvent(ExpressionHelper.java:137)
      ERROR> at com.sun.javafx.binding.ExpressionHelper.fireValueChangedEvent(Express
      ionHelper.java:61)
      ERROR> at javafx.beans.property.ReadOnlyObjectWrapper$ReadOnlyPropertyImpl.fire
      ValueChangedEvent(ReadOnlyObjectWrapper.java:151)
      ERROR> at javafx.beans.property.ReadOnlyObjectWrapper.fireValueChangedEvent(Rea
      dOnlyObjectWrapper.java:117)
      ERROR> at javafx.beans.property.ObjectPropertyBase.markInvalid(ObjectPropertyBa
      se.java:86)
      ERROR> at javafx.beans.property.ObjectPropertyBase.set(ObjectPropertyBase.java:
      119)
      ERROR> at javafx.scene.media.MediaPlayer.setError(MediaPlayer.java:370)
      ERROR> at javafx.scene.media.MediaPlayer.access$3000(MediaPlayer.java:81)
      ERROR> at javafx.scene.media.MediaPlayer$13.run(MediaPlayer.java:1408)
      ERROR> at com.sun.javafx.application.PlatformImpl$3.run(PlatformImpl.java:108)
      ERROR> at com.sun.glass.ui.win.WinApplication._runLoop(Native Method)
      ERROR> at com.sun.glass.ui.win.WinApplication.access$100(WinApplication.java:29
      )
      ERROR> at com.sun.glass.ui.win.WinApplication$1$1.run(WinApplication.java:49)
      ERROR> at java.lang.Thread.run(Thread.java:722)
      OUTPUT>time: 0.0 ms

        Attachments

          Activity

            People

            • Assignee:
              bpb Brian Burkhalter
              Reporter:
              sjchan Steven Chan (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Imported: