jceddy / DailyArenaDeckAdvisor

A Deck Advisor companion App for Magic Arena.
GNU General Public License v3.0
18 stars 7 forks source link

Unhandled Exception in loadTask (Format_PropertyChanged - Main Application) #237

Closed jceddy closed 3 years ago

jceddy commented 3 years ago

An unhandled exception was detected.

Exception:

System.AggregateException: One or more errors occurred. ---> System.Collections.Generic.KeyNotFoundException: KeyNotFoundException while Processing Candidates based on Color: cardToReplace=Murkwater Pathway, _colorsByLand= Aether Hub: Ancient Ziggurat: Animal Sanctuary: Arch of Orazca: Azorius Guildgate: WU Barren Moor: B Base Camp: Blast Zone: Blood Crypt: BR Bloodfell Caves: BR Blooming Marsh: BG Blossoming Sands: WG Bojuka Bog: B Bonders' Enclave: Boros Guildgate: WR Botanical Sanctum: UG Branchloft Pathway: WG Breeding Pool: UG Brightclimb Pathway: WB Buried Ruin: Cabal Stronghold: B Canyon Slough: BR Cascading Cataracts: Castle Ardenvale: W Castle Embereth: R Castle Garenbrig: G Castle Locthwain: B Castle Vantress: U Cinder Barrens: BR Clearwater Pathway: UB Clifftop Retreat: WR Command Tower: Concealed Courtyard: WB Cragcrown Pathway: RG Crawling Barrens: Cryptic Caves: Crypt of the Eternals: UBR Desert of the Fervent: R Desert of the Glorified: B Desert of the Indomitable: G Desert of the Mindful: U Desert of the True: W Detection Tower: Dimir Guildgate: UB Dismal Backwater: UB Dragonskull Summit: BR Drowned Catacomb: UB Dwarven Mine: R Emergence Zone: Evolving Wilds: Fabled Passage: Fetid Pools: UB Field of Ruin: Forest: G Forgotten Cave: R Forsaken Sanctuary: WB Foul Orchard: BG Gateway Plaza: Ghost Quarter: Gingerbread Cabin: G Glacial Fortress: WU Godless Shrine: WB Golgari Guildgate: BG Gruul Guildgate: RG Guildmages' Forum: Hallowed Fountain: WU Hashep Oasis: G Highland Lake: UR Hinterland Harbor: UG Idyllic Grange: W Ifnir Deadlands: B Indatha Triome: WBG Inspiring Vantage: WR Interplanar Beacon: Inventors' Fair: Ipnu Rivulet: U Irrigated Farmland: WU Island: U Isolated Chapel: WB Izzet Guildgate: UR Jungle Hollow: BG Karn's Bastion: Ketria Triome: URG Labyrinth of Skophos: Lonely Sandbar: U Lotus Field: Maze's End: Meandering River: WU Memorial to Folly: B Memorial to Genius: U Memorial to Glory: W Memorial to Unity: G Memorial to War: R Mirrodin's Core: Mobilized District: Mountain: R Mystic Sanctuary: U Needleverge Pathway: WR Orzhov Guildgate: WB Overgrown Tomb: BG Phyrexian Tower: B Plains: W Plaza of Harmony: Radiant Fountain: Rakdos Guildgate: BR Ramunap Ruins: R Raugrin Triome: WUR Reliquary Tower: Riptide Laboratory: U Riverglide Pathway: UR Rootbound Crag: RG Rugged Highlands: RG Rupture Spire: Sacred Foundry: WR Savai Triome: WBR Scattered Groves: WG Scavenger Grounds: Scoured Barrens: WB Secluded Steppe: W Selesnya Guildgate: WG Shefet Dunes: W Sheltered Thicket: RG Simic Guildgate: UG Spirebluff Canal: UR Spire of Industry: Steam Vents: UR Stomping Ground: RG Stone Quarry: WR Submerged Boneyard: UB Sulfur Falls: UR Sunpetal Grove: WG Sunscorched Desert: Swamp: B Swiftwater Cliffs: UR Temple Garden: WG Temple of Abandon: RG Temple of Deceit: UB Temple of Enlightenment: WU Temple of Epiphany: UR Temple of Malady: BG Temple of Malice: BR Temple of Mystery: UG Temple of Plenty: WG Temple of Silence: WB Temple of Triumph: WR Terramorphic Expanse: Thornwood Falls: UG Thriving Bluff: R Thriving Grove: G Thriving Heath: W Thriving Isle: U Thriving Moor: B Throne of Makindi: Timber Gorge: RG Tournament Grounds: WBR Tranquil Cove: WU Tranquil Expanse: WG Tranquil Thicket: G Unclaimed Territory: Unknown Shores: Watery Grave: UB Wind-Scarred Crag: WR Witch's Cottage: B Woodland Cemetery: BG Woodland Stream: UG Zagoth Triome: UBG Zhalfirin Void: candidates= Tranquil Cove Scoured Barrens Dismal Backwater Swiftwater Cliffs Bloodfell Caves Jungle Hollow Rugged Highlands Wind-Scarred Crag Blossoming Sands Thornwood Falls Evolving Wilds Temple of Epiphany Temple of Triumph Radiant Fountain Temple of Enlightenment Temple of Mystery Fabled Passage Thriving Bluff Thriving Isle Thriving Heath Thriving Grove Thriving Moor Buried Ruin Animal Sanctuary Riptide Laboratory Temple of Abandon Temple of Malice Temple of Plenty Temple of Silence Temple of Malady Castle Vantress Rupture Spire Needleverge Pathway Throne of Makindi Crawling Barrens Base Camp Brightclimb Pathway Clearwater Pathway Field of Ruin Tournament Grounds Riverglide Pathway Castle Garenbrig Cragcrown Pathway Unknown Shores Branchloft Pathway ---> System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary. at System.ThrowHelper.ThrowKeyNotFoundException() at System.Collections.Generic.Dictionary2.get_Item(TKey key) at DailyArena.DeckAdvisor.MainWindow.<>c__DisplayClass92_1.<GenerateReplacements>b__7(<>f__AnonymousType02 x) at System.Linq.Enumerable.WhereEnumerableIterator1.MoveNext() at System.Linq.Buffer1..ctor(IEnumerable1 source) at System.Linq.OrderedEnumerable1.d1.MoveNext() at DailyArena.DeckAdvisor.MainWindow.GenerateReplacements(Archetype archetype, Dictionary2 mainDeckToCollect, Dictionary2 sideboardToCollect, Dictionary2 commandZoneToCollect, Dictionary2 playerInventory, IDictionary2 cardsByName, IDictionary2 cardsById, DeckFilters filters) --- End of inner exception stack trace --- at DailyArena.DeckAdvisor.MainWindow.GenerateReplacements(Archetype archetype, Dictionary2 mainDeckToCollect, Dictionary2 sideboardToCollect, Dictionary2 commandZoneToCollect, Dictionary2 playerInventory, IDictionary2 cardsByName, IDictionary2 cardsById, DeckFilters filters) at DailyArena.DeckAdvisor.MainWindow.ReloadAndCrunchAllData() at System.Threading.Tasks.Task.Execute() --- End of inner exception stack trace --- ---> (Inner Exception #0) System.Collections.Generic.KeyNotFoundException: KeyNotFoundException while Processing Candidates based on Color: cardToReplace=Murkwater Pathway, _colorsByLand= Aether Hub: Ancient Ziggurat: Animal Sanctuary: Arch of Orazca: Azorius Guildgate: WU Barren Moor: B Base Camp: Blast Zone: Blood Crypt: BR Bloodfell Caves: BR Blooming Marsh: BG Blossoming Sands: WG Bojuka Bog: B Bonders' Enclave: Boros Guildgate: WR Botanical Sanctum: UG Branchloft Pathway: WG Breeding Pool: UG Brightclimb Pathway: WB Buried Ruin: Cabal Stronghold: B Canyon Slough: BR Cascading Cataracts: Castle Ardenvale: W Castle Embereth: R Castle Garenbrig: G Castle Locthwain: B Castle Vantress: U Cinder Barrens: BR Clearwater Pathway: UB Clifftop Retreat: WR Command Tower: Concealed Courtyard: WB Cragcrown Pathway: RG Crawling Barrens: Cryptic Caves: Crypt of the Eternals: UBR Desert of the Fervent: R Desert of the Glorified: B Desert of the Indomitable: G Desert of the Mindful: U Desert of the True: W Detection Tower: Dimir Guildgate: UB Dismal Backwater: UB Dragonskull Summit: BR Drowned Catacomb: UB Dwarven Mine: R Emergence Zone: Evolving Wilds: Fabled Passage: Fetid Pools: UB Field of Ruin: Forest: G Forgotten Cave: R Forsaken Sanctuary: WB Foul Orchard: BG Gateway Plaza: Ghost Quarter: Gingerbread Cabin: G Glacial Fortress: WU Godless Shrine: WB Golgari Guildgate: BG Gruul Guildgate: RG Guildmages' Forum: Hallowed Fountain: WU Hashep Oasis: G Highland Lake: UR Hinterland Harbor: UG Idyllic Grange: W Ifnir Deadlands: B Indatha Triome: WBG Inspiring Vantage: WR Interplanar Beacon: Inventors' Fair: Ipnu Rivulet: U Irrigated Farmland: WU Island: U Isolated Chapel: WB Izzet Guildgate: UR Jungle Hollow: BG Karn's Bastion: Ketria Triome: URG Labyrinth of Skophos: Lonely Sandbar: U Lotus Field: Maze's End: Meandering River: WU Memorial to Folly: B Memorial to Genius: U Memorial to Glory: W Memorial to Unity: G Memorial to War: R Mirrodin's Core: Mobilized District: Mountain: R Mystic Sanctuary: U Needleverge Pathway: WR Orzhov Guildgate: WB Overgrown Tomb: BG Phyrexian Tower: B Plains: W Plaza of Harmony: Radiant Fountain: Rakdos Guildgate: BR Ramunap Ruins: R Raugrin Triome: WUR Reliquary Tower: Riptide Laboratory: U Riverglide Pathway: UR Rootbound Crag: RG Rugged Highlands: RG Rupture Spire: Sacred Foundry: WR Savai Triome: WBR Scattered Groves: WG Scavenger Grounds: Scoured Barrens: WB Secluded Steppe: W Selesnya Guildgate: WG Shefet Dunes: W Sheltered Thicket: RG Simic Guildgate: UG Spirebluff Canal: UR Spire of Industry: Steam Vents: UR Stomping Ground: RG Stone Quarry: WR Submerged Boneyard: UB Sulfur Falls: UR Sunpetal Grove: WG Sunscorched Desert: Swamp: B Swiftwater Cliffs: UR Temple Garden: WG Temple of Abandon: RG Temple of Deceit: UB Temple of Enlightenment: WU Temple of Epiphany: UR Temple of Malady: BG Temple of Malice: BR Temple of Mystery: UG Temple of Plenty: WG Temple of Silence: WB Temple of Triumph: WR Terramorphic Expanse: Thornwood Falls: UG Thriving Bluff: R Thriving Grove: G Thriving Heath: W Thriving Isle: U Thriving Moor: B Throne of Makindi: Timber Gorge: RG Tournament Grounds: WBR Tranquil Cove: WU Tranquil Expanse: WG Tranquil Thicket: G Unclaimed Territory: Unknown Shores: Watery Grave: UB Wind-Scarred Crag: WR Witch's Cottage: B Woodland Cemetery: BG Woodland Stream: UG Zagoth Triome: UBG Zhalfirin Void: candidates= Tranquil Cove Scoured Barrens Dismal Backwater Swiftwater Cliffs Bloodfell Caves Jungle Hollow Rugged Highlands Wind-Scarred Crag Blossoming Sands Thornwood Falls Evolving Wilds Temple of Epiphany Temple of Triumph Radiant Fountain Temple of Enlightenment Temple of Mystery Fabled Passage Thriving Bluff Thriving Isle Thriving Heath Thriving Grove Thriving Moor Buried Ruin Animal Sanctuary Riptide Laboratory Temple of Abandon Temple of Malice Temple of Plenty Temple of Silence Temple of Malady Castle Vantress Rupture Spire Needleverge Pathway Throne of Makindi Crawling Barrens Base Camp Brightclimb Pathway Clearwater Pathway Field of Ruin Tournament Grounds Riverglide Pathway Castle Garenbrig Cragcrown Pathway Unknown Shores Branchloft Pathway ---> System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary. at System.ThrowHelper.ThrowKeyNotFoundException() at System.Collections.Generic.Dictionary`2.get_Item(TKey key) at DailyArena.DeckAdvisor.MainWindow.<>cDisplayClass92_1.b7(<>fAnonymousType02 x) at System.Linq.Enumerable.WhereEnumerableIterator1.MoveNext() at System.Linq.Buffer1..ctor(IEnumerable1 source) at System.Linq.OrderedEnumerable1.<GetEnumerator>d__1.MoveNext() at DailyArena.DeckAdvisor.MainWindow.GenerateReplacements(Archetype archetype, Dictionary2 mainDeckToCollect, Dictionary2 sideboardToCollect, Dictionary2 commandZoneToCollect, Dictionary2 playerInventory, IDictionary2 cardsByName, IDictionary2 cardsById, DeckFilters filters) --- End of inner exception stack trace --- at DailyArena.DeckAdvisor.MainWindow.GenerateReplacements(Archetype archetype, Dictionary2 mainDeckToCollect, Dictionary2 sideboardToCollect, Dictionary2 commandZoneToCollect, Dictionary2 playerInventory, IDictionary2 cardsByName, IDictionary`2 cardsById, DeckFilters filters) at DailyArena.DeckAdvisor.MainWindow.ReloadAndCrunchAllData() at System.Threading.Tasks.Task.Execute()<---

%log2020123018.txt%

%Player.log%