Niko78 Posted December 21, 2018 Share Posted December 21, 2018 Hello. Need some advice. I'm getting this error with LaunchBox: Object reference not set to an instance of an object. App: LaunchBox Version: 9.2 Type: System.NullReferenceException Site: Void (Unbroken.LaunchBox.Desktop.ViewModels.MainViewModel, Unbroken.LaunchBox.Plugins.Data.IGame, Unbroken.LaunchBox.Plugins.Data.IAdditionalApplication, Unbroken.LaunchBox.Plugins.Data.IEmulator, System.String) Source: LaunchBox at (MainViewModel , IGame , IAdditionalApplication , IEmulator , String ) at Unbroken.LaunchBox.Desktop.ViewModels.MainViewModel.PlayGame(IGame g, IAdditionalApplication a, IEmulator e, String commandLine) at (<>c , Object , MouseButtonEventArgs ) at Unbroken.LaunchBox.Desktop.ViewModels.BoxesContentViewModel.<>c.<AttachView>b__19_2(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.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args) at System.Windows.Controls.Control.HandleDoubleClick(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.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: 10:25:04 AM Music.Prepare Start 10:25:04 AM Music.Kill Start 10:25:04 AM Music.Kill Finished 10:25:04 AM Music.NotifyTrackList Start 10:25:04 AM Music.NotifyTrackList Invoke WPF 10:25:13 AM Music.Play Start 10:25:13 AM Music.Kill Start 10:25:13 AM Music.Kill Finished 10:25:13 AM Music.Play Empty Music Path 10:25:13 AM Music.NotifyTrackList Start 10:25:13 AM Music.NotifyTrackList Invoke WPF 10:25:29 AM Music.Play Start 10:25:29 AM Music.Kill Start 10:25:29 AM Music.Kill Finished 10:25:29 AM Music.Play Empty Music Path 10:25:29 AM Music.NotifyTrackList Start 10:25:29 AM Music.NotifyTrackList Invoke WPF 10:25:41 AM Music.Play Start 10:25:41 AM Music.Kill Start 10:25:41 AM Music.Kill Finished 10:25:41 AM Music.Play Empty Music Path 10:25:41 AM Music.NotifyTrackList Start 10:25:41 AM Music.NotifyTrackList Invoke WPF 10:25:42 AM Music.Play Start 10:25:42 AM Music.Kill Start 10:25:42 AM Music.Kill Finished 10:25:42 AM Music.Play Empty Music Path 10:25:42 AM Music.NotifyTrackList Start 10:25:42 AM Music.NotifyTrackList Invoke WPF 10:27:01 AM Music.Pause Start 10:27:01 AM Music.Pause Start 10:27:03 AM Music.Play Start 10:27:03 AM Music.Kill Start 10:27:03 AM Music.Kill Finished 10:27:03 AM Music.Play Empty Music Path 10:27:03 AM Music.NotifyTrackList Start 10:27:03 AM Music.NotifyTrackList Invoke WPF 11:17:01 AM Exception Quote Link to comment Share on other sites More sharing options...
neil9000 Posted December 21, 2018 Share Posted December 21, 2018 6 minutes ago, Niko78 said: Hello. Need some advice. I'm getting this error with LaunchBox: Object reference not set to an instance of an object. App: LaunchBox Version: 9.2 Type: System.NullReferenceException Site: Void (Unbroken.LaunchBox.Desktop.ViewModels.MainViewModel, Unbroken.LaunchBox.Plugins.Data.IGame, Unbroken.LaunchBox.Plugins.Data.IAdditionalApplication, Unbroken.LaunchBox.Plugins.Data.IEmulator, System.String) Source: LaunchBox at (MainViewModel , IGame , IAdditionalApplication , IEmulator , String ) at Unbroken.LaunchBox.Desktop.ViewModels.MainViewModel.PlayGame(IGame g, IAdditionalApplication a, IEmulator e, String commandLine) at (<>c , Object , MouseButtonEventArgs ) at Unbroken.LaunchBox.Desktop.ViewModels.BoxesContentViewModel.<>c.<AttachView>b__19_2(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.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args) at System.Windows.Controls.Control.HandleDoubleClick(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.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: 10:25:04 AM Music.Prepare Start 10:25:04 AM Music.Kill Start 10:25:04 AM Music.Kill Finished 10:25:04 AM Music.NotifyTrackList Start 10:25:04 AM Music.NotifyTrackList Invoke WPF 10:25:13 AM Music.Play Start 10:25:13 AM Music.Kill Start 10:25:13 AM Music.Kill Finished 10:25:13 AM Music.Play Empty Music Path 10:25:13 AM Music.NotifyTrackList Start 10:25:13 AM Music.NotifyTrackList Invoke WPF 10:25:29 AM Music.Play Start 10:25:29 AM Music.Kill Start 10:25:29 AM Music.Kill Finished 10:25:29 AM Music.Play Empty Music Path 10:25:29 AM Music.NotifyTrackList Start 10:25:29 AM Music.NotifyTrackList Invoke WPF 10:25:41 AM Music.Play Start 10:25:41 AM Music.Kill Start 10:25:41 AM Music.Kill Finished 10:25:41 AM Music.Play Empty Music Path 10:25:41 AM Music.NotifyTrackList Start 10:25:41 AM Music.NotifyTrackList Invoke WPF 10:25:42 AM Music.Play Start 10:25:42 AM Music.Kill Start 10:25:42 AM Music.Kill Finished 10:25:42 AM Music.Play Empty Music Path 10:25:42 AM Music.NotifyTrackList Start 10:25:42 AM Music.NotifyTrackList Invoke WPF 10:27:01 AM Music.Pause Start 10:27:01 AM Music.Pause Start 10:27:03 AM Music.Play Start 10:27:03 AM Music.Kill Start 10:27:03 AM Music.Kill Finished 10:27:03 AM Music.Play Empty Music Path 10:27:03 AM Music.NotifyTrackList Start 10:27:03 AM Music.NotifyTrackList Invoke WPF 11:17:01 AM Exception Are you using any plugins? Quote Link to comment Share on other sites More sharing options...
Niko78 Posted December 21, 2018 Author Share Posted December 21, 2018 2 minutes ago, neil9000 said: Are you using any plugins? Hi. No, I'm not using any plug-ins. I also checked the plugin folder too, nothing is in there. This error started right after I installed the update to 9.2 yesterday (not sure if that's related). Quote Link to comment Share on other sites More sharing options...
neil9000 Posted December 21, 2018 Share Posted December 21, 2018 2 minutes ago, Niko78 said: Hi. No, I'm not using any plug-ins. I also checked the plugin folder too, nothing is in there. This error started right after I installed the update to 9.2 yesterday (not sure if that's related). OK ill tag @Jason Carr here and see if it makes any sense to him. Quote Link to comment Share on other sites More sharing options...
Niko78 Posted December 21, 2018 Author Share Posted December 21, 2018 Thank you for your time. Very much appreciated. Quote Link to comment Share on other sites More sharing options...
Jason Carr Posted December 21, 2018 Share Posted December 21, 2018 @Niko78 This does look to be an error related to the new update and the startup screens, though I'm not sure exactly what's happening. You can try turning off startup screens under Tools > Options > Game Startup to see if that fixes the error for the time being. Also, if you'd be willing to zip up and PM me your LaunchBox\Data folder that would help for me to identify the error. 1 Quote Link to comment Share on other sites More sharing options...
neil9000 Posted December 21, 2018 Share Posted December 21, 2018 2 minutes ago, Jason Carr said: @Niko78 This does look to be an error related to the new update and the startup screens, though I'm not sure exactly what's happening. You can try turning off startup screens under Tools > Options > Game Startup to see if that fixes the error for the time being. Also, if you'd be willing to zip up and PM me your LaunchBox\Data folder that would help for me to identify the error. OK good to know, i saw the igame and plugin reference so jumped there. Quote Link to comment Share on other sites More sharing options...
Niko78 Posted December 21, 2018 Author Share Posted December 21, 2018 4 minutes ago, Jason Carr said: @Niko78 This does look to be an error related to the new update and the startup screens, though I'm not sure exactly what's happening. You can try turning off startup screens under Tools > Options > Game Startup to see if that fixes the error for the time being. Also, if you'd be willing to zip up and PM me your LaunchBox\Data folder that would help for me to identify the error. Mr. Carr: Data zip sent. I genuinely appreciate your time. I will try turning off the the Startup Screens and report. 2 Quote Link to comment Share on other sites More sharing options...
Niko78 Posted December 21, 2018 Author Share Posted December 21, 2018 8 minutes ago, Jason Carr said: @Niko78 This does look to be an error related to the new update and the startup screens, though I'm not sure exactly what's happening. You can try turning off startup screens under Tools > Options > Game Startup to see if that fixes the error for the time being. Also, if you'd be willing to zip up and PM me your LaunchBox\Data folder that would help for me to identify the error. I checked the Startup Screen option and it was already unchecked/disabled. There is no ability to turn it on either. I haven't upgraded to BigBox yet, if that matters. 1 Quote Link to comment Share on other sites More sharing options...
Jason Carr Posted December 21, 2018 Share Posted December 21, 2018 2 minutes ago, Niko78 said: I checked the Startup Screen option and it was already unchecked/disabled. There is no ability to turn it on either. I haven't upgraded to BigBox yet, if that matters. I see; okay. I'm testing with your data and I haven't been able to replicate the error yet. Does it happen with every game? What specific games is it happening on? Quote Link to comment Share on other sites More sharing options...
Niko78 Posted December 21, 2018 Author Share Posted December 21, 2018 23 minutes ago, Jason Carr said: I see; okay. I'm testing with your data and I haven't been able to replicate the error yet. Does it happen with every game? What specific games is it happening on? Hello, again. It doesn't seem to be related to any game.. yesterday I was playing King's Quest, and when I close the game the message was just there. Then, again yesterday, I was sitting watching TV and I had LaunchBox open in front of me and the message just popped up at random. Today I was playing Medieval II: Total War and when I closed the game the message was there. The games still work and the import tools too, I believe. I just get this error message (possibly) at random. Quote Link to comment Share on other sites More sharing options...
Jason Carr Posted December 21, 2018 Share Posted December 21, 2018 1 minute ago, Niko78 said: Hello, again. It doesn't seem to be related to any game.. yesterday I was playing King's Quest, and when I close the game the message was just there. Then, again yesterday, I was sitting watching TV and I had LaunchBox open in front of me and the message just popped up at random. Today I was playing Medieval II: Total War and when I closed the game the message was there. The games still work and the import tools too, I believe. I just get this error message (possibly) at random. Ah, I see. Okay, that makes more sense. I'll see what I can figure out. Quote Link to comment Share on other sites More sharing options...
Jason Carr Posted December 21, 2018 Share Posted December 21, 2018 Alright, I think I have this figured out. I'll put out a beta here soon with the fix. Quote Link to comment Share on other sites More sharing options...
Niko78 Posted December 21, 2018 Author Share Posted December 21, 2018 30 minutes ago, Jason Carr said: Alright, I think I have this figured out. I'll put out a beta here soon with the fix. Awesome. I just spent the last hour testing my build. I received the error message; ignored it. I then proceeded to test every single system/emulator, and they all work. I updated the Meta Data with no issue. I also installed a new DOS game and download the pictures for it, tested the game; no problems. 1 Quote Link to comment Share on other sites More sharing options...
Niko78 Posted December 23, 2018 Author Share Posted December 23, 2018 For the last couple days I've had zero problems; now I have another pop-up window reporting an error. Not sure if it's the same error (likely). Quote Link to comment Share on other sites More sharing options...
Jason Carr Posted December 24, 2018 Share Posted December 24, 2018 23 hours ago, Niko78 said: For the last couple days I've had zero problems; now I have another pop-up window reporting an error. Not sure if it's the same error (likely). Yeah, the error is likely to be completely random. I have it fixed already, but I haven't put out the beta that fixes it yet. Quote Link to comment Share on other sites More sharing options...
Niko78 Posted December 27, 2018 Author Share Posted December 27, 2018 On 12/24/2018 at 11:41 AM, Jason Carr said: Yeah, the error is likely to be completely random. I have it fixed already, but I haven't put out the beta that fixes it yet. Thank you, Jason. I'm a patient man, no worries. But out of curiosity, and forgive my ignorance, but how is the fix/beta applied? Quote Link to comment Share on other sites More sharing options...
Retro808 Posted December 27, 2018 Share Posted December 27, 2018 56 minutes ago, Niko78 said: Thank you, Jason. I'm a patient man, no worries. But out of curiosity, and forgive my ignorance, but how is the fix/beta applied? You will need to go into Launchbox >tools>options and in the updates section make sure you check the tick box for Betas. I would also recommend to not have the tick box for download in background checked. It will apply the beta update over your existing set-up. It will not make any changes to your data and imports. If the next beta fixes your issue and you no longer want to text betas just uncheck that box. 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.