Collection was modified; enumeration operation may not execute.

Issue #8813 resolved
Sebastien Tenaillon created an issue

Hello,
I am currently under Windows 11 and Launchbox 13.12.
The issue is appearing everytime Launchbox try to “save games”

Collection was modified; enumeration operation may not execute.

App: LaunchBox
Version: 13.12
Theme: Default
Type: System.InvalidOperationException
Site: Void ThrowInvalidOperationException_InvalidOperation_EnumFailedVersion()
Source: System.Private.CoreLib

at System.Collections.Generic.List1.Enumerator.MoveNextRare() at System.Linq.Enumerable.SelectListIterator2.MoveNext()
at Unbroken.LaunchBox.Windows.Desktop.MenuActions.ImportRomFilesMenuAction.ReadObservableStatus(Object res, IEnumerable1 pred, Object pool, Boolean ignoreresult2) at UtilsGetter.ChangeTraversalStub(RomImportTask res, IEnumerable1 pred, String pool, Boolean ignoreresult2, UtilsGetter )
at Unbroken.LaunchBox.Windows.Desktop.MenuActions.ImportRomFilesMenuAction.StopObservableStatus(Object last)
at WrapperGetter.ChangeTraversalStub(RomImportTask last, WrapperGetter )
at Unbroken.LaunchBox.Windows.Desktop.MenuActions.ImportRomFilesMenuAction.Finish(RomImportTask task, Boolean autoImported)
at ValGetter.ChangeTraversalStub(RomImportTask task, Boolean autoImported, ValGetter )
at Unbroken.LaunchBox.Windows.Desktop.MenuActions.ImportRomFilesMenuAction.RunExternalTask(RomImportTask task)
at ProcRegistry.ChangeTraversalStub(RomImportTask task, ProcRegistry )
at Unbroken.LaunchBox.Windows.Desktop.LaunchBoxAppSpecific.RunRomImport(RomImportTask task)
at FilterSchemaAttribute.CalcIterableRegistry(Object , RomImportTask task, FilterSchemaAttribute )
at Unbroken.LaunchBox.Windows.Monitoring.GameDirectoryMonitor.ConcatTransactionalSetter()
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:

09:48:57 Exception

Comments (1)

  1. Retro808

    Latest beta of LB has a fix for this. You can opt into the beta by turning it on in your Updates section of LB tools. Otherwise, you will need to wait for the next stable version release.

  2. Log in to comment