Jump to content
LaunchBox Community Forums

Launchbox Version 11.17 crashing with updated metadata.xml


Go to solution Solved by iconoclasmlb2,

Recommended Posts

Since January of this year, I've been experiencing an issue with "Launchbox Version 11.17 crashing whenever I add and tag a new game *after* downloading a database update (metadata.xml).

When I restore an old metadata.xml (from December 2023) of a backup, everything works fine again. The problem is reproducible directly; If I install Version 11.17 on another PC, activate the license, and I can add games. All good. But as soon as I perform the database update, Launchbox immediately throws the error message whenever a new game is tagged and crashes.

 

This is the error message:

 

Object reference not set to an instance of an object.

 

App:     LaunchBox

Version: 11.17

Type:    System.NullReferenceException

Site:    System.String (System.Object)

Source:  Unbroken.LaunchBox

 

   at (Object )

   at IteratorDic.SetDrivenParameter(Object , IteratorDic )

   at Unbroken.LaunchBox.Search.LocalDbSearchResult.get_Platform()

   at Unbroken.LaunchBox.Windows.Desktop.ViewModels.AddEditGameMetadataPageViewModel.DbSearchResult.CallSupportedStrategy(Object )

   at Unbroken.LaunchBox.Windows.Desktop.ViewModels.AddEditGameMetadataPageViewModel.DbSearchResult..ctor(AddEditGameMetadataPageViewModel metadataPage, SearchResult result)

   at Unbroken.LaunchBox.Windows.Desktop.ViewModels.AddEditGameMetadataPageViewModel.ComputePreparedDescriptor(List`1 item)

   at DecoratorInitializer.PostTransactionOrder(Object , List`1 item, DecoratorInitializer )

   at Unbroken.LaunchBox.Windows.Desktop.ViewModels.AddEditGameMetadataPageViewModel.<>c__DisplayClass279_0.ExcludePreparedMock()

   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 Unbroken.LaunchBox.Windows.Threading.Invoke(Action callback, DispatcherPriority priority)

   at Unbroken.LaunchBox.Windows.Desktop.ViewModels.AddEditGameMetadataPageViewModel.ViewPreparedDescriptor()

   at Unbroken.LaunchBox.Windows.Threading.<>c__DisplayClass0_0.LogoutInterfaceAuthentication()

   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)

--- End of stack trace from previous location where exception was thrown ---

   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()

 

Recent Log:

 

   09:58:20 Exception

 

Note: The current version of Launchbox does not have this issue. Apparently, there has been a change in the structure of the metadata.xml file.

 

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