Null reference error after updating meta data

Issue #8559 resolved
James Camilleri created an issue

When I edit the meta data on a game and search the LocalDB, LaunchBox offers to download a newer version of the metadata. After it has finished, the search crashes LaunchBox:

Object reference not set to an instance of an object.

App: LaunchBox
Version: 13.11
Theme: Default
Type: System.NullReferenceException
Site: System.DateTime (System.Object)
Source: Unbroken.LaunchBox

at (Object )
at AlgoObserver.UpdatePreparedPage(Object , AlgoObserver )
at Unbroken.LaunchBox.Search.LocalDbSearchResult.get_ReleaseDate()
at Unbroken.LaunchBox.Windows.Desktop.ViewModels.AddEditGameMetadataPageViewModel.DbSearchResult.SearchPreparedDispatcher(Object )
at Unbroken.LaunchBox.Windows.Desktop.ViewModels.AddEditGameMetadataPageViewModel.DbSearchResult..ctor(AddEditGameMetadataPageViewModel metadataPage, SearchResult result)
at Unbroken.LaunchBox.Windows.Desktop.ViewModels.AddEditGameMetadataPageViewModel.TestCompositeSingleton(List1 first) at AttrMap.InsertCommonInterpreter(Object , List1 first, AttrMap )
at Unbroken.LaunchBox.Windows.Desktop.ViewModels.AddEditGameMetadataPageViewModel.<>c__DisplayClass282_0.CountCompositeStruct()
at System.Windows.Threading.DispatcherOperation.InvokeDelegateCore()
at System.Windows.Threading.DispatcherOperation.InvokeImpl()
--- End of stack trace from previous location ---
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.PushReflectiveRepository(Object , Object , DispatcherPriority )
at Unbroken.LaunchBox.Windows.Threading.Invoke(Action callback, DispatcherPriority priority)
at Unbroken.LaunchBox.Windows.Desktop.ViewModels.AddEditGameMetadataPageViewModel.ViewCompositeSingleton(Int32 offset_res)
at TestsMap.InsertCommonInterpreter(Object , Int32 offset_res, TestsMap )
at Unbroken.LaunchBox.Windows.Desktop.ViewModels.AddEditGameMetadataPageViewModel.<>c__DisplayClass281_0.SetCompositeStruct()
at Unbroken.LaunchBox.Windows.Threading.<>c__DisplayClass0_0.StopJmsExpression(Object )
at Unbroken.LaunchBox.Windows.Threading.<>c__DisplayClass0_0.CancelMetaModel()
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:

22:06:19 Exception

Comments (3)

  1. brian

    Can you check on whether the following also crashes for you:

    Tools > Download > Force Update Games Database Metadata…

  2. Log in to comment