Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unhandled Exception in loadTask (Window_Loaded - Main Application) #270

Open
jceddy opened this issue Jul 2, 2022 · 0 comments
Open

Unhandled Exception in loadTask (Window_Loaded - Main Application) #270

jceddy opened this issue Jul 2, 2022 · 0 comments
Labels
automatic Automatically generated by the application

Comments

@jceddy
Copy link
Owner

jceddy commented Jul 2, 2022

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.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.<Window_Loaded>b__102_0() in C:\Users\jcedd\source\repos\DailyArenaDeckAdvisor\DailyArenaDeckAdvisor\MainWindow.xaml.cs:line 3003
at System.Threading.Tasks.Task.Execute()<---

log2022070214.txt

Player.log

@jceddy jceddy added the automatic Automatically generated by the application label Jul 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
automatic Automatically generated by the application
Projects
None yet
Development

No branches or pull requests

1 participant