-
Bug
-
Resolution: Fixed
-
P3
-
fx2.0
-
Windows XP using b41
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
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