Page MenuHomePhabricator

[Migrated] InvalidOperationException Bug: Collection was modified; enumeration operation may not execute.
Open, Stalled, Needs TriagePublic

Description

@EoRdE6 22:01, 6 April 2015 (UTC) wrote:

nThread: BackgroundThread
Exception:

InvalidOperationException

Message:

Collection was modified; enumeration operation may not execute.

Call stack:

at System.ThrowHelper.ThrowInvalidOperationException(ExceptionResource resource)
at System.Collections.Generic.List`1.Enumerator.MoveNextRare()
at System.Collections.Generic.List`1.Enumerator.MoveNext()
at System.Linq.Enumerable.<DistinctIterator>d__7a`1.MoveNext()
at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
at WikiFunctions.Tools.DeduplicateList(List`1 input)
at WikiFunctions.Parse.Parsers.RenameTemplateParameters(String articleText, List`1 RenamedTemplateParameters)
at WikiFunctions.Article.PerformGeneralFixes(Parsers parsers, HideText removeText, ISkipOptions skip, Boolean replaceReferenceTags, Boolean restrictDefaultsortAddition, Boolean noMOSComplianceFixes)
at AutoWikiBrowser.MainForm.ProcessPage(Article theArticle, Boolean mainProcess)
AWBPluginsAWBBasePluginsListMakerPlugins
IFD-Plugin
CFD-Plugin

OS: Microsoft Windows NT 6.1.7601 Service Pack 1
Version: AutoWikiBrowser (5.5.6.0), WikiFunctions (5.5.6.0), revision 10538 (2014-12-23 21:37:52)
.NET: 2.0.50727.5485
Duplicate: Encountered while processing page https://en.wikipedia.org/w/index.php?title=User%3aEoRdE6%2fsandbox&oldid=655252873
Site: https://en.wikipedia.org

Event Timeline

Josve05a created this task.May 15 2015, 8:53 PM
Josve05a raised the priority of this task from to Needs Triage.
Josve05a updated the task description. (Show Details)
Josve05a added a project: AutoWikiBrowser.
Josve05a added subscribers: Josve05a, EoRdE6.
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptMay 15 2015, 8:53 PM
Rjwilmsi changed the task status from Open to Stalled.Jun 23 2015, 4:40 PM
Rjwilmsi added a subscriber: Rjwilmsi.

Seems like some sort of concurrency issue, we need a reproducible test case to understand what's happening.

Rjwilmsi renamed this task from [Migrated] InvalidOperationException Bug to [Migrated] InvalidOperationException Bug: Collection was modified; enumeration operation may not execute..Jun 23 2015, 4:41 PM
Rjwilmsi set Security to None.
Rjwilmsi moved this task from Exceptions (unsorted) to Backlog on the AutoWikiBrowser board.
Rjwilmsi moved this task from Backlog to User input needed on the AutoWikiBrowser board.

Is resolved? If yes close this task.