LaunchBox crashes after being open for a few seconds.

Issue #7929 resolved
Caleb Funk created an issue

Object reference not set to an instance of an object.

App: LaunchBox
Version: 13.6
Theme: Default
Type: System.NullReferenceException
Site: System.Collections.Generic.HashSet`1[System.Int32] GetAllGameIds()
Source: Unbroken.LaunchBox

at Unbroken.LaunchBox.Search.LocalDb.GetAllGameIds()
at Unbroken.LaunchBox.Windows.Data.GameSuggester.GetSuggestions(Int32 max, Boolean allowSameDbId)
at Unbroken.LaunchBox.Windows.Desktop.ViewModels.GameDetailsViewModel.SetupAbstractBase()
at Unbroken.LaunchBox.Windows.Threading.<>c__DisplayClass0_0.ChangeTraversalConnection(Object )
at Unbroken.LaunchBox.Windows.Threading.<>c__DisplayClass0_0.InvokeCommonFilter()
at System.Threading.Thread.StartHelper.Callback(Object state)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()

Recent Log:

4:50:07 PM Exception

Comments (2)

  1. Christian

    This happens when you metadata.xml file gets corrupted. There are two work arounds:

    Run the installer over the directory again so it puts a good file in there (this will NOT remove your library data).

    or

    In LaunchBox go to Tools > Download and there is an option that reads similar to "Force Games Database Update". Press that and it'll download a new metadata file.

  2. Log in to comment