what is causing this error?

Jan 24, 2013 at 7:52 PM

After adding a plugin to the player, it throws the following error. I don’t see anything related to the plugin on the call stack. What could be causing this? Also, the “MediaAssetId” is set for this playlistItem.

Exception InvalidOperationException with no inner exception: This operation requires that MediaAssetId is set.

   at Microsoft.Xbox.Controls.MediaTransport.UploadUsageEventData(UsageEventType usageEventType)

   at Microsoft.Xbox.Controls.MediaTransport.ReportInitialPlayOrFinalStop()

   at Microsoft.Xbox.Controls.MediaTransport.<RegisterMediaElementEvents>b__22(Object s, EventArgs e)

   at Microsoft.SilverlightMediaFramework.Core.SMFPlayer.<OnPlayStateChanged>b__8f(EventHandler`1 i)

   at Microsoft.SilverlightMediaFramework.Utilities.Extensions.Extensions.IfNotNull[TItem](TItem item, Action`1 action)

   at Microsoft.SilverlightMediaFramework.Core.SMFPlayer.OnPlayStateChanged()

   at Microsoft.SilverlightMediaFramework.Core.SMFPlayer.<OnPlayStatePropertyChanged>b__8c(SMFPlayer i)

   at Microsoft.SilverlightMediaFramework.Utilities.Extensions.Extensions.IfNotNull[TItem](TItem item, Action`1 action)

   at Microsoft.SilverlightMediaFramework.Core.SMFPlayer.OnPlayStatePropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)

   at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object newValue, Object oldValue)

   at System.Windows.DependencyObject.SetValueInternal(DependencyProperty dp, Object value, Boolean allowReadOnlySet, Boolean isSetByStyle, Boolean isSetByBuiltInStyle, PropertyInvalidationReason reason)

   at System.Windows.DependencyObject.SetValueInternal(DependencyProperty dp, Object value)

   at System.Windows.DependencyObject.SetValue(DependencyProperty dp, Object value)

   at Microsoft.SilverlightMediaFramework.Core.SMFPlayer.set_PlayState(MediaPluginState value)

   at Microsoft.SilverlightMediaFramework.Core.SMFPlayer.<>c__DisplayClass22f.<MediaPlugin_CurrentStateChanged>b__22e()