Searching LocalDB fails

Issue #6887 resolved
Heiko Hartmann created an issue

After clicking on ‘Search Local Database’ in the game Metadata:

Object reference not set to an instance of an object.

App: LaunchBox
Version: 12.9
Type: System.NullReferenceException
Site: System.String (System.Object)
Source: Unbroken.LaunchBox

at (Object )
at PropertyMessage.ConcatReadablePool(Object , PropertyMessage )
at Unbroken.LaunchBox.Search.LocalDbSearchResult.get_Platform()
at Unbroken.LaunchBox.Windows.Desktop.ViewModels.AddEditGameMetadataPageViewModel.DbSearchResult..ctor(AddEditGameMetadataPageViewModel metadataPage, SearchResult result)
at Unbroken.LaunchBox.Windows.Desktop.ViewModels.AddEditGameMetadataPageViewModel.TestMetaObserver(List1 last) at InstancePolicy.DestroyInterfaceMock(Object , List1 last, InstancePolicy )
at Unbroken.LaunchBox.Windows.Desktop.ViewModels.AddEditGameMetadataPageViewModel.<>c__DisplayClass282_0.IncludeMetaSpecification()
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.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, DispatcherPriority priority)
at Unbroken.LaunchBox.Windows.Threading.RevertTypeStatus(Object , Object , DispatcherPriority )
at Unbroken.LaunchBox.Windows.Threading.Invoke(Action callback, DispatcherPriority priority)
at Unbroken.LaunchBox.Windows.Desktop.ViewModels.AddEditGameMetadataPageViewModel.CreateInterfaceEvent(Object , DispatcherPriority )
at Unbroken.LaunchBox.Windows.Desktop.ViewModels.AddEditGameMetadataPageViewModel.InitMetaObserver()
at Unbroken.LaunchBox.Windows.Threading.<>c__DisplayClass0_0.CheckDistributedCreator()
at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location where exception was thrown ---
at System.Threading.ThreadHelper.ThreadStart()

Recent Log:

10:04:07 Exception

Afterwards LaunchBox shuts down and restarts.
Note: This happens after the last game database update.

Comments (5)

  1. Christian

    Can you go to Tools > Download > Force Download LaunchBox Games Database (wording may be slightly different) then try it again and let me know if you have any issues after that?

  2. Log in to comment