Jump to content
LaunchBox Community Forums

Need Advice on LaunchBox Error Message


Niko78

Recommended Posts

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

Untitled.jpg

Link to comment
Share on other sites

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

Untitled.jpg

Are you using any plugins?

Link to comment
Share on other sites

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).

Link to comment
Share on other sites

@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. :)

  • Like 1
Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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.

  • Like 2
Link to comment
Share on other sites

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.

  • Like 1
Link to comment
Share on other sites

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?

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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.

  • Like 1
Link to comment
Share on other sites

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?

Link to comment
Share on other sites

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.

  • Like 1
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...