-
Bug
-
Resolution: Cannot Reproduce
-
P4
-
fx1.1
-
Windows
I have a media player added to the media view. On selecting a diff media from a combo box or from a file chooser, I am creating a new 'Media' object and assigning it to MediaPlayer.media. This results in an exception being thrown - Can not assign to bound variable.
Changing the media - I was using it as a workaround since changing media.source did not work.
The above thing used to work fine till 1.0 but it is throwing exception since 1.0.1 and seen in franca as well. Hence it is a regression from 1.0.
I reproduced it on WinXP SP3, WinVista - Franca b08 - jdk6u12.
I have attached a sample test with 2 media. You can add new media to the 'media' folder if the given media are unsupported on your platform. Just launch the app and change the media from the drop-down. You will see the exception on the console.
Changing the media - I was using it as a workaround since changing media.source did not work.
The above thing used to work fine till 1.0 but it is throwing exception since 1.0.1 and seen in franca as well. Hence it is a regression from 1.0.
I reproduced it on WinXP SP3, WinVista - Franca b08 - jdk6u12.
I have attached a sample test with 2 media. You can add new media to the 'media' folder if the given media are unsupported on your platform. Just launch the app and change the media from the drop-down. You will see the exception on the console.