System.AggregateException: One or more errors occurred. ---> System.ArgumentException: An item with the same key has already been added.
at System.ThrowHelper.ThrowArgumentException(ExceptionResource resource)
at System.Collections.Generic.Dictionary2.Insert(TKey key, TValue value, Boolean add) at DailyArena.Common.Core.Database.Card.CheckSetNameMappings() at DailyArena.Common.Core.Database.Card.CreateCard(Int32 arenaId, String name, String setName, String collectorNumber, String rarity, String colors, Int32 rank, String type, String cost, Int32 cmc, String scryfallId) at DailyArena.Common.Core.Database.CardDatabase.LoadCardDatabase() at DailyArena.Common.Core.Database.CardDatabase.Initialize(Boolean useProtectedData) at DailyArena.DeckAdvisor.MainWindow.<Window_Loaded>b__102_0() in C:\Users\jcedd\source\repos\DailyArenaDeckAdvisor\DailyArenaDeckAdvisor\MainWindow.xaml.cs:line 3003 at System.Threading.Tasks.Task.Execute() --- End of inner exception stack trace --- ---> (Inner Exception #0) System.ArgumentException: An item with the same key has already been added. at System.ThrowHelper.ThrowArgumentException(ExceptionResource resource) at System.Collections.Generic.Dictionary2.Insert(TKey key, TValue value, Boolean add)
at DailyArena.Common.Core.Database.Card.CheckSetNameMappings()
at DailyArena.Common.Core.Database.Card.CreateCard(Int32 arenaId, String name, String setName, String collectorNumber, String rarity, String colors, Int32 rank, String type, String cost, Int32 cmc, String scryfallId)
at DailyArena.Common.Core.Database.CardDatabase.LoadCardDatabase()
at DailyArena.Common.Core.Database.CardDatabase.Initialize(Boolean useProtectedData)
at DailyArena.DeckAdvisor.MainWindow.b__102_0() in C:\Users\jcedd\source\repos\DailyArenaDeckAdvisor\DailyArenaDeckAdvisor\MainWindow.xaml.cs:line 3003
at System.Threading.Tasks.Task.Execute()<---
An unhandled exception was detected.
Exception:
System.AggregateException: One or more errors occurred. ---> System.ArgumentException: An item with the same key has already been added. at System.ThrowHelper.ThrowArgumentException(ExceptionResource resource) at System.Collections.Generic.Dictionaryb__102_0() in C:\Users\jcedd\source\repos\DailyArenaDeckAdvisor\DailyArenaDeckAdvisor\MainWindow.xaml.cs:line 3003
at System.Threading.Tasks.Task.Execute()<---
2.Insert(TKey key, TValue value, Boolean add) at DailyArena.Common.Core.Database.Card.CheckSetNameMappings() at DailyArena.Common.Core.Database.Card.CreateCard(Int32 arenaId, String name, String setName, String collectorNumber, String rarity, String colors, Int32 rank, String type, String cost, Int32 cmc, String scryfallId) at DailyArena.Common.Core.Database.CardDatabase.LoadCardDatabase() at DailyArena.Common.Core.Database.CardDatabase.Initialize(Boolean useProtectedData) at DailyArena.DeckAdvisor.MainWindow.<Window_Loaded>b__102_0() in C:\Users\jcedd\source\repos\DailyArenaDeckAdvisor\DailyArenaDeckAdvisor\MainWindow.xaml.cs:line 3003 at System.Threading.Tasks.Task.Execute() --- End of inner exception stack trace --- ---> (Inner Exception #0) System.ArgumentException: An item with the same key has already been added. at System.ThrowHelper.ThrowArgumentException(ExceptionResource resource) at System.Collections.Generic.Dictionary
2.Insert(TKey key, TValue value, Boolean add) at DailyArena.Common.Core.Database.Card.CheckSetNameMappings() at DailyArena.Common.Core.Database.Card.CreateCard(Int32 arenaId, String name, String setName, String collectorNumber, String rarity, String colors, Int32 rank, String type, String cost, Int32 cmc, String scryfallId) at DailyArena.Common.Core.Database.CardDatabase.LoadCardDatabase() at DailyArena.Common.Core.Database.CardDatabase.Initialize(Boolean useProtectedData) at DailyArena.DeckAdvisor.MainWindow.log2022070214.txt
Player.log