Object reference not set to an instance of an object (video related)

Issue #4435 new
Danny Glover created an issue

This happens when changing games quickly in launchbox and tapping on the videos to play them as quick as possible.

Error message:

Object reference not set to an instance of an object.

App:     LaunchBox
Version: 8.5
Type:    System.NullReferenceException
Site:    Void (Unbroken.LaunchBox.Desktop.Next.ViewModels.GameDetailsViewModel, System.Object, System.Windows.Input.MouseButtonEventArgs)
Source:  LaunchBox.Next

   at (GameDetailsViewModel , Object , MouseButtonEventArgs )
   at Unbroken.LaunchBox.Desktop.Next.ViewModels.GameDetailsViewModel.<LoadVideoMusic>b__222_0(Object sender, MouseButtonEventArgs args)
   at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
   at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
   at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
   at System.Windows.UIElement.ReRaiseEventAs(DependencyObject sender, RoutedEventArgs args, RoutedEvent newEvent)
   at System.Windows.UIElement.OnPreviewMouseDownThunk(Object sender, MouseButtonEventArgs e)
   at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
   at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
   at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
   at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
   at System.Windows.UIElement.RaiseTrustedEvent(RoutedEventArgs args)
   at System.Windows.Input.InputManager.ProcessStagingArea()
   at System.Windows.Input.InputManager.ProcessInput(InputEventArgs input)
   at System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport)
   at System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawMouseActions actions, Int32 x, Int32 y, Int32 wheel)
   at System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr hwnd, WindowMessage msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   at System.Windows.Interop.HwndSource.InputFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)

Recent Log:

   6:15:49 PM VlcMediaPlayer.Dispose(bool disposing) EventManager.Detach
   6:15:49 PM VlcMediaPlayer.Dispose(bool disposing) Free
   6:15:49 PM VlcMediaPlayer.Dispose(bool disposing) ReleaseMediaPlayerFunction
   6:15:49 PM Music.Pause Start
   6:15:51 PM Music.Play Start
   18:15:51 Music.Kill Start
   18:15:51 Music.Kill Finished
   18:15:51 Music.Play Empty Music Path
   18:15:51 Music.NotifyTrackList Start
   18:15:51 Music.NotifyTrackList Invoke WPF
   6:15:51 PM VlcMediaPlayer.Dispose(bool disposing) HandleManager.Remove
   6:15:51 PM VlcMediaPlayer.Dispose(bool disposing) EventManager.Detach
   6:15:51 PM VlcMediaPlayer.Dispose(bool disposing) Free
   6:15:51 PM VlcMediaPlayer.Dispose(bool disposing) ReleaseMediaPlayerFunction
   6:15:52 PM Music.Pause Start
   6:15:55 PM Music.Play Start
   18:15:55 Music.Kill Start
   18:15:55 Music.Kill Finished
   18:15:55 Music.Play Empty Music Path
   18:15:55 Music.NotifyTrackList Start
   18:15:55 Music.NotifyTrackList Invoke WPF
   6:15:55 PM VlcMediaPlayer.Dispose(bool disposing) HandleManager.Remove
   6:15:55 PM VlcMediaPlayer.Dispose(bool disposing) EventManager.Detach
   6:15:55 PM VlcMediaPlayer.Dispose(bool disposing) Free
   6:15:55 PM VlcMediaPlayer.Dispose(bool disposing) ReleaseMediaPlayerFunction
   6:15:55 PM Music.Pause Start
   6:15:57 PM Music.Play Start
   18:15:57 Music.Kill Start
   18:15:57 Music.Kill Finished
   18:15:57 Music.Play Empty Music Path
   18:15:57 Music.NotifyTrackList Start
   18:15:57 Music.NotifyTrackList Invoke WPF
   6:15:57 PM VlcMediaPlayer.Dispose(bool disposing) HandleManager.Remove
   6:15:57 PM VlcMediaPlayer.Dispose(bool disposing) EventManager.Detach
   6:15:57 PM VlcMediaPlayer.Dispose(bool disposing) Free
   6:15:57 PM VlcMediaPlayer.Dispose(bool disposing) ReleaseMediaPlayerFunction
   6:15:57 PM Music.Pause Start
   6:15:59 PM Music.Play Start
   18:15:59 Music.Kill Start
   18:15:59 Music.Kill Finished
   18:15:59 Music.Play Empty Music Path
   18:15:59 Music.NotifyTrackList Start
   18:15:59 Music.NotifyTrackList Invoke WPF
   6:15:59 PM VlcMediaPlayer.Dispose(bool disposing) HandleManager.Remove
   6:15:59 PM VlcMediaPlayer.Dispose(bool disposing) EventManager.Detach
   6:15:59 PM VlcMediaPlayer.Dispose(bool disposing) Free
   6:15:59 PM VlcMediaPlayer.Dispose(bool disposing) ReleaseMediaPlayerFunction
   6:15:59 PM Music.Pause Start
   6:16:01 PM Music.Play Start
   18:16:01 Music.Kill Start
   18:16:01 Music.Kill Finished
   18:16:01 Music.Play Empty Music Path
   18:16:01 Music.NotifyTrackList Start
   18:16:01 Music.NotifyTrackList Invoke WPF
   6:16:01 PM VlcMediaPlayer.Dispose(bool disposing) HandleManager.Remove
   6:16:01 PM VlcMediaPlayer.Dispose(bool disposing) EventManager.Detach
   6:16:01 PM VlcMediaPlayer.Dispose(bool disposing) Free
   6:16:01 PM VlcMediaPlayer.Dispose(bool disposing) ReleaseMediaPlayerFunction
   6:16:01 PM Exception

Comments (0)

  1. Log in to comment