- changed status to resolved
Null reference @ VLC Constructor - Beta BGM implementation
Issue happens when choosing NES/SNES/Genesis games in Big Box
System.NullReferenceException: Object reference not set to an instance of an object. at Meta.Vlc.Vlc..ctor(String[] argv) at () at Meta.Vlc.Wpf.ApiManager.get_DefaultVlc() at (Game , EventHandler ) at Unbroken.LaunchBox.Wpf.Music.Play(Game game, EventHandler musicStopped) at (PlayMusicMenuAction ) at Unbroken.LaunchBox.Wpf.BigBox.MenuActions.PlayMusicMenuAction.OnEnter() at (GamesViewModelBase ) at Unbroken.LaunchBox.Wpf.BigBox.ViewModels.GamesViewModelBase.<selectionChangedTimer_Elapsed>b__129_0() at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state) at System.Threading.ThreadHelper.ThreadStart()
Comments (24)
-
repo owner -
reporter Hey Jason! I am still getting that error for NES and now for the SNES too! I'll do some investigating to see what the issue might be,
-
reporter - changed status to open
-
reporter I Figured out that it deals with music that comes from emumovies, I have noticed that the sections that close are the NES, SNES and the Genesis all which contain music, while the ones that do not, I can play without a problem.
-
reporter - changed title to Error When Choosing NES,SNES,Genesis Game in Big Box
-
Issue
#1920was marked as a duplicate of this issue. -
- changed title to Null reference @ VLC Constructor - Beta BGM implementation
- edited description
-
Issue
#1923was marked as a duplicate of this issue. -
Issue
#1907was marked as a duplicate of this issue. -
Issue
#1901was marked as a duplicate of this issue. -
Issue
#1881was marked as a duplicate of this issue. -
Issue
#1895was marked as a duplicate of this issue. -
reporter Thanks Alex!
-
Issue
#1903was marked as a duplicate of this issue. -
Hi all,
Please update to the latest beta version of LaunchBox. This issue has been resolved on a previous commit, hence it should be gone. Advise if you're still seeing it :).
-
repo owner Thank you guys; I think I actually fixed it this time. ;)
New beta will be out later today. Do let me know if you're still seeing the issue. Thanks again.
-
repo owner - changed status to resolved
-
reporter System.NullReferenceException: Object reference not set to an instance of an object. at Meta.Vlc.Vlc..ctor(String[] argv, Boolean music) at () at Unbroken.LaunchBox.Wpf.Music.get_Vlc() at (Game , EventHandler ) at Unbroken.LaunchBox.Wpf.Music.Play(Game game, EventHandler musicStopped) at (PlayMusicMenuAction ) at Unbroken.LaunchBox.Wpf.BigBox.MenuActions.PlayMusicMenuAction.OnEnter() at (CoverFlowWithDetailsGamesViewModel ) at Unbroken.LaunchBox.Wpf.BigBox.ViewModels.CoverFlowWithDetailsGamesViewModel.<selectionChangedTimer_Elapsed>b__67_0() at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state) at System.Threading.ThreadHelper.ThreadStart()
The Dreaded error message is still present after updating :/
-
repo owner - changed status to open
-
repo owner - changed status to resolved
Thank you for bearing with me on this Elliot; I think I finally have this figured out and the beta should be out shortly. Of course, do let me know if I'm wrong again. ;)
-
reporter Soo...Updated to Beta 10 System.NullReferenceException: Object reference not set to an instance of an object. at (<>c__DisplayClass39_0 ) at Unbroken.LaunchBox.Wpf.Music.<>c__DisplayClass39_0.<MediaOnParsedChanged>b__0() at System.Windows.Threading.DispatcherOperation.InvokeDelegateCore() at System.Windows.Threading.DispatcherOperation.InvokeImpl() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Windows.Threading.DispatcherOperation.Wait(TimeSpan timeout) at System.Windows.Threading.Dispatcher.InvokeImpl(DispatcherOperation operation, CancellationToken cancellationToken, TimeSpan timeout) at System.Windows.Threading.Dispatcher.Invoke(Action callback, DispatcherPriority priority, CancellationToken cancellationToken, TimeSpan timeout) at System.Windows.Threading.Dispatcher.Invoke(Action callback) at Unbroken.LaunchBox.Wpf.Music.MediaOnParsedChanged(Object sender, ObjectEventArgs`1 e) at (VlcMedia , LibVlcEventArgs& , IntPtr ) at Meta.Vlc.VlcMedia.OnParsedChanged(LibVlcEventArgs& arg, IntPtr userData)
I Did figure out though that it is the background musics for games because I deleted the music folde for nes and genesis so those work fine but it is still not for the ones that do have it....And its not a super big deal to me ;) But i dont know about other people
-
reporter - changed status to open
-
repo owner Okay, now I have that issue fixed as well for the next beta. Lol. Thanks Elliot.
-
repo owner - changed status to resolved
- Log in to comment
Thank you Elliot, I believe I have this fixed for beta 8 which should come out later today. :)