Skip to content
This repository was archived by the owner on Jun 23, 2023. It is now read-only.
This repository was archived by the owner on Jun 23, 2023. It is now read-only.

/admin scan grids throws error #90

@tbankstemp

Description

@tbankstemp

Essentials version: 1.13.6.93
Extender version: 1.131.7.293
I know you said grid scanning is mostly fixed, so, just a bug report :)

Same errors thrown with "/admin scan grids" and "/admin scan grids noownership" or any other scan grids options.

Thanks for all your hard work Rex!!!!

2016-04-26 08:12:05.7119|Info|Chat - Server: Scanning for ships with options: 2016-04-26 08:12:07.4873|Info|scan grid |System.AggregateException: One or more errors occurred. ---> System.InvalidOperationException: Collection was modified; enumeration operation may not execute. at System.Collections.Generic.HashSet1.Enumerator.MoveNext()
at System.Linq.Enumerable.Any[TSource](IEnumerable1 source, Func2 predicate)
at EssentialsPlugin.Utility.GridGroup.<>c__DisplayClass20_1.b__0()
at System.Threading.Tasks.Task.Execute()
--- End of inner exception stack trace ---
at System.Threading.Tasks.Task.WaitAll(Task[] tasks, Int32 millisecondsTimeout, CancellationToken cancellationToken)
at EssentialsPlugin.Utility.GridGroup.GetGroups(HashSet1 entities, GridLinkTypeEnum linkType) at EssentialsPlugin.Utility.CubeGrids.ScanGrids(UInt64 userId, String[] words) at EssentialsPlugin.ChatHandlers.AdminScan.HandleAdminScanGrids.HandleCommand(UInt64 userId, String[] words) ---> (Inner Exception #0) System.InvalidOperationException: Collection was modified; enumeration operation may not execute. at System.Collections.Generic.HashSet1.Enumerator.MoveNext()
at System.Linq.Enumerable.Any[TSource](IEnumerable1 source, Func2 predicate)
at EssentialsPlugin.Utility.GridGroup.<>c__DisplayClass20_1.b__0()
at System.Threading.Tasks.Task.Execute()<---

---> (Inner Exception #1) System.InvalidOperationException: Collection was modified; enumeration operation may not execute.
at System.Collections.Generic.HashSet1.Enumerator.MoveNext() at System.Linq.Enumerable.Any[TSource](IEnumerable1 source, Func`2 predicate)
at EssentialsPlugin.Utility.GridGroup.<>c__DisplayClass20_1.b__0()
at System.Threading.Tasks.Task.Execute()<---

---> (Inner Exception #2) System.InvalidOperationException: Collection was modified; enumeration operation may not execute.
at System.Collections.Generic.HashSet1.Enumerator.MoveNext() at System.Linq.Enumerable.Any[TSource](IEnumerable1 source, Func`2 predicate)
at EssentialsPlugin.Utility.GridGroup.<>c__DisplayClass20_1.b__0()
at System.Threading.Tasks.Task.Execute()<---

---> (Inner Exception #3) System.InvalidOperationException: Collection was modified; enumeration operation may not execute.
at System.Collections.Generic.HashSet1.Enumerator.MoveNext() at System.Linq.Enumerable.Any[TSource](IEnumerable1 source, Func`2 predicate)
at EssentialsPlugin.Utility.GridGroup.<>c__DisplayClass20_1.b__0()
at System.Threading.Tasks.Task.Execute()<---

---> (Inner Exception #4) System.InvalidOperationException: Collection was modified; enumeration operation may not execute.
at System.Collections.Generic.HashSet1.Enumerator.MoveNext() at System.Linq.Enumerable.Any[TSource](IEnumerable1 source, Func`2 predicate)
at EssentialsPlugin.Utility.GridGroup.<>c__DisplayClass20_1.b__0()
at System.Threading.Tasks.Task.Execute()<---

---> (Inner Exception #5) System.InvalidOperationException: Collection was modified; enumeration operation may not execute.
at System.Collections.Generic.HashSet1.Enumerator.MoveNext() at System.Linq.Enumerable.Any[TSource](IEnumerable1 source, Func`2 predicate)
at EssentialsPlugin.Utility.GridGroup.<>c__DisplayClass20_1.b__0()
at System.Threading.Tasks.Task.Execute()<---

---> (Inner Exception #6) System.InvalidOperationException: Collection was modified; enumeration operation may not execute.
at System.Collections.Generic.HashSet1.Enumerator.MoveNext() at System.Linq.Enumerable.Any[TSource](IEnumerable1 source, Func`2 predicate)
at EssentialsPlugin.Utility.GridGroup.<>c__DisplayClass20_1.b__0()
at System.Threading.Tasks.Task.Execute()<---

---> (Inner Exception #7) System.InvalidOperationException: Collection was modified; enumeration operation may not execute.
at System.Collections.Generic.HashSet1.Enumerator.MoveNext() at System.Linq.Enumerable.Any[TSource](IEnumerable1 source, Func`2 predicate)
at EssentialsPlugin.Utility.GridGroup.<>c__DisplayClass20_1.b__0()
at System.Threading.Tasks.Task.Execute()<---

---> (Inner Exception #8) System.InvalidOperationException: Collection was modified; enumeration operation may not execute.
at System.Collections.Generic.HashSet1.Enumerator.MoveNext() at System.Linq.Enumerable.Any[TSource](IEnumerable1 source, Func`2 predicate)
at EssentialsPlugin.Utility.GridGroup.<>c__DisplayClass20_1.b__0()
at System.Threading.Tasks.Task.Execute()<---

---> (Inner Exception #9) System.InvalidOperationException: Collection was modified; enumeration operation may not execute.
at System.Collections.Generic.HashSet1.Enumerator.MoveNext() at System.Linq.Enumerable.Any[TSource](IEnumerable1 source, Func`2 predicate)
at EssentialsPlugin.Utility.GridGroup.<>c__DisplayClass20_1.b__0()
at System.Threading.Tasks.Task.Execute()<---

---> (Inner Exception #10) System.InvalidOperationException: Collection was modified; enumeration operation may not execute.
at System.Collections.Generic.HashSet1.Enumerator.MoveNext() at System.Linq.Enumerable.Any[TSource](IEnumerable1 source, Func`2 predicate)
at EssentialsPlugin.Utility.GridGroup.<>c__DisplayClass20_1.b__0()
at System.Threading.Tasks.Task.Execute()<---

---> (Inner Exception #11) System.InvalidOperationException: Collection was modified; enumeration operation may not execute.
at System.Collections.Generic.HashSet1.Enumerator.MoveNext() at System.Linq.Enumerable.Any[TSource](IEnumerable1 source, Func`2 predicate)
at EssentialsPlugin.Utility.GridGroup.<>c__DisplayClass20_1.b__0()
at System.Threading.Tasks.Task.Execute()<---

---> (Inner Exception #12) System.InvalidOperationException: Collection was modified; enumeration operation may not execute.
at System.Collections.Generic.HashSet1.Enumerator.MoveNext() at System.Linq.Enumerable.Any[TSource](IEnumerable1 source, Func`2 predicate)
at EssentialsPlugin.Utility.GridGroup.<>c__DisplayClass20_1.b__0()
at System.Threading.Tasks.Task.Execute()<---

---> (Inner Exception #13) System.InvalidOperationException: Collection was modified; enumeration operation may not execute.
at System.Collections.Generic.HashSet1.Enumerator.MoveNext() at System.Linq.Enumerable.Any[TSource](IEnumerable1 source, Func`2 predicate)
at EssentialsPlugin.Utility.GridGroup.<>c__DisplayClass20_1.b__0()
at System.Threading.Tasks.Task.Execute()<---

---> (Inner Exception #14) System.InvalidOperationException: Collection was modified; enumeration operation may not execute.
at System.Collections.Generic.HashSet1.Enumerator.MoveNext() at System.Linq.Enumerable.Any[TSource](IEnumerable1 source, Func`2 predicate)
at EssentialsPlugin.Utility.GridGroup.<>c__DisplayClass20_1.b__0()
at System.Threading.Tasks.Task.Execute()<---

---> (Inner Exception #15) System.InvalidOperationException: Collection was modified; enumeration operation may not execute.
at System.Collections.Generic.HashSet1.Enumerator.MoveNext() at System.Linq.Enumerable.Any[TSource](IEnumerable1 source, Func`2 predicate)
at EssentialsPlugin.Utility.GridGroup.<>c__DisplayClass20_1.b__0()
at System.Threading.Tasks.Task.Execute()<---

---> (Inner Exception #16) System.InvalidOperationException: Collection was modified; enumeration operation may not execute.
at System.Collections.Generic.HashSet1.Enumerator.MoveNext() at System.Linq.Enumerable.Any[TSource](IEnumerable1 source, Func`2 predicate)
at EssentialsPlugin.Utility.GridGroup.<>c__DisplayClass20_1.b__0()
at System.Threading.Tasks.Task.Execute()<---

---> (Inner Exception #17) System.InvalidOperationException: Collection was modified; enumeration operation may not execute.
at System.Collections.Generic.HashSet1.Enumerator.MoveNext() at System.Linq.Enumerable.Any[TSource](IEnumerable1 source, Func`2 predicate)
at EssentialsPlugin.Utility.GridGroup.<>c__DisplayClass20_1.b__0()
at System.Threading.Tasks.Task.Execute()<---

---> (Inner Exception #18) System.InvalidOperationException: Collection was modified; enumeration operation may not execute.
at System.Collections.Generic.HashSet1.Enumerator.MoveNext() at System.Linq.Enumerable.Any[TSource](IEnumerable1 source, Func`2 predicate)
at EssentialsPlugin.Utility.GridGroup.<>c__DisplayClass20_1.b__0()
at System.Threading.Tasks.Task.Execute()<---

---> (Inner Exception #19) System.InvalidOperationException: Collection was modified; enumeration operation may not execute.
at System.Collections.Generic.HashSet1.Enumerator.MoveNext() at System.Linq.Enumerable.Any[TSource](IEnumerable1 source, Func`2 predicate)
at EssentialsPlugin.Utility.GridGroup.<>c__DisplayClass20_1.b__0()
at System.Threading.Tasks.Task.Execute()<---

---> (Inner Exception #20) System.InvalidOperationException: Collection was modified; enumeration operation may not execute.
at System.Collections.Generic.HashSet1.Enumerator.MoveNext() at System.Linq.Enumerable.Any[TSource](IEnumerable1 source, Func`2 predicate)
at EssentialsPlugin.Utility.GridGroup.<>c__DisplayClass20_1.b__0()
at System.Threading.Tasks.Task.Execute()<---

---> (Inner Exception #21) System.InvalidOperationException: Collection was modified; enumeration operation may not execute.
at System.Collections.Generic.HashSet1.Enumerator.MoveNext() at System.Linq.Enumerable.Any[TSource](IEnumerable1 source, Func`2 predicate)
at EssentialsPlugin.Utility.GridGroup.<>c__DisplayClass20_1.b__0()
at System.Threading.Tasks.Task.Execute()<---

---> (Inner Exception #22) System.InvalidOperationException: Collection was modified; enumeration operation may not execute.
at System.Collections.Generic.HashSet1.Enumerator.MoveNext() at System.Linq.Enumerable.Any[TSource](IEnumerable1 source, Func`2 predicate)
at EssentialsPlugin.Utility.GridGroup.<>c__DisplayClass20_1.b__0()
at System.Threading.Tasks.Task.Execute()<---

---> (Inner Exception #23) System.InvalidOperationException: Collection was modified; enumeration operation may not execute.
at System.Collections.Generic.HashSet1.Enumerator.MoveNext() at System.Linq.Enumerable.Any[TSource](IEnumerable1 source, Func`2 predicate)
at EssentialsPlugin.Utility.GridGroup.<>c__DisplayClass20_1.b__0()
at System.Threading.Tasks.Task.Execute()<---

---> (Inner Exception #24) System.InvalidOperationException: Collection was modified; enumeration operation may not execute.
at System.Collections.Generic.HashSet1.Enumerator.MoveNext() at System.Linq.Enumerable.Any[TSource](IEnumerable1 source, Func`2 predicate)
at EssentialsPlugin.Utility.GridGroup.<>c__DisplayClass20_1.b__0()
at System.Threading.Tasks.Task.Execute()<---

---> (Inner Exception #25) System.InvalidOperationException: Collection was modified; enumeration operation may not execute.
at System.Collections.Generic.HashSet1.Enumerator.MoveNext() at System.Linq.Enumerable.Any[TSource](IEnumerable1 source, Func`2 predicate)
at EssentialsPlugin.Utility.GridGroup.<>c__DisplayClass20_1.b__0()
at System.Threading.Tasks.Task.Execute()<---

---> (Inner Exception #26) System.InvalidOperationException: Collection was modified; enumeration operation may not execute.
at System.Collections.Generic.HashSet1.Enumerator.MoveNext() at System.Linq.Enumerable.Any[TSource](IEnumerable1 source, Func`2 predicate)
at EssentialsPlugin.Utility.GridGroup.<>c__DisplayClass20_1.b__0()
at System.Threading.Tasks.Task.Execute()<---

---> (Inner Exception #27) System.InvalidOperationException: Collection was modified; enumeration operation may not execute.
at System.Collections.Generic.HashSet1.Enumerator.MoveNext() at System.Linq.Enumerable.Any[TSource](IEnumerable1 source, Func`2 predicate)
at EssentialsPlugin.Utility.GridGroup.<>c__DisplayClass20_1.b__0()
at System.Threading.Tasks.Task.Execute()<---

---> (Inner Exception #28) System.InvalidOperationException: Collection was modified; enumeration operation may not execute.
at System.Collections.Generic.HashSet1.Enumerator.MoveNext() at System.Linq.Enumerable.Any[TSource](IEnumerable1 source, Func`2 predicate)
at EssentialsPlugin.Utility.GridGroup.<>c__DisplayClass20_1.b__0()
at System.Threading.Tasks.Task.Execute()<---

---> (Inner Exception #29) System.InvalidOperationException: Collection was modified; enumeration operation may not execute.
at System.Collections.Generic.HashSet1.Enumerator.MoveNext() at System.Linq.Enumerable.Any[TSource](IEnumerable1 source, Func`2 predicate)
at EssentialsPlugin.Utility.GridGroup.<>c__DisplayClass20_1.b__0()
at System.Threading.Tasks.Task.Execute()<---

Collection was modified; enumeration operation may not execute. System.InvalidOperationException Boolean MoveNext() at System.Collections.Generic.HashSet1.Enumerator.MoveNext() at System.Linq.Enumerable.Any[TSource](IEnumerable1 source, Func2 predicate) at EssentialsPlugin.Utility.GridGroup.<>c__DisplayClass20_1.<GetGroups>b__0() at System.Threading.Tasks.Task.Execute()

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions