xrexis / procurement

Automatically exported from code.google.com/p/procurement
0 stars 0 forks source link

System.ArgumentException: An entry with the same key has already been added #364

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
===================================================================
IF YOU ARE CRASHING DURING LOGIN OR WHEN SWITCHING LEAGUES, DOWNLOAD
1.7.3-dev AT:

https://github.com/Stickymaddness/Procurement/releases/tag/1.7.3-dev
===================================================================

NB: First check the wiki and existing issues!

What version of Procurement are you using? On what operating system?

What steps will reproduce the problem?
1. Try loggin in to procurement
2.
3.

What is the expected output? What do you see instead?

Please provide any additional information below.
After loading all stashtabs the program crashes,

this is the debug info:
Application Version: Procurement 1.7.2CurrentCulture: sv-SE
CurrentUICulture: sv-SE
System.ArgumentException: En post med samma nyckel har redan lagts till.
   vid System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)
   vid System.Linq.Enumerable.ToDictionary[TSource,TKey,TElement](IEnumerable`1 source, Func`2 keySelector, Func`2 elementSelector, IEqualityComparer`1 comparer)
   vid Procurement.Controls.StashControl.refresh()
   vid System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
   vid System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
   vid MS.Internal.FrameworkObject.OnLoaded(RoutedEventArgs args)
   vid System.Windows.BroadcastEventHelper.BroadcastEvent(DependencyObject root, RoutedEvent routedEvent)
   vid System.Windows.BroadcastEventHelper.BroadcastLoadedEvent(Object root)
   vid System.Windows.Media.MediaContext.FireLoadedPendingCallbacks()
   vid System.Windows.Media.MediaContext.FireInvokeOnRenderCallbacks()
   vid System.Windows.Media.MediaContext.RenderMessageHandlerCore(Object resizedCompositionTarget)
   vid System.Windows.Media.MediaContext.RenderMessageHandler(Object resizedCompositionTarget)
   vid System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   vid MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)

Original issue reported on code.google.com by christia...@cossystems.com on 23 Aug 2014 at 9:07

GoogleCodeExporter commented 9 years ago
Downloaded 1.7.3-dev , and it started working

Original comment by christia...@cossystems.com on 23 Aug 2014 at 9:14

GoogleCodeExporter commented 9 years ago
I'm also getting this with 1.7.2, same error log also it appears. 

Application Version: Procurement 1.7.2CurrentCulture: en-US
CurrentUICulture: en-US
System.ArgumentException: An item with the same key has already been added.
   at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)
   at System.Linq.Enumerable.ToDictionary[TSource,TKey,TElement](IEnumerable`1 source, Func`2 keySelector, Func`2 elementSelector, IEqualityComparer`1 comparer)
   at Procurement.Controls.StashControl.refresh()
   at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
   at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
   at MS.Internal.FrameworkObject.OnLoaded(RoutedEventArgs args)
   at System.Windows.BroadcastEventHelper.BroadcastEvent(DependencyObject root, RoutedEvent routedEvent)
   at System.Windows.BroadcastEventHelper.BroadcastLoadedEvent(Object root)
   at System.Windows.Media.MediaContext.FireLoadedPendingCallbacks()
   at System.Windows.Media.MediaContext.FireInvokeOnRenderCallbacks()
   at System.Windows.Media.MediaContext.RenderMessageHandlerCore(Object resizedCompositionTarget)
   at System.Windows.Media.MediaContext.RenderMessageHandler(Object resizedCompositionTarget)
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)

Original comment by Sol...@gmail.com on 23 Aug 2014 at 9:52

GoogleCodeExporter commented 9 years ago
@Solost, download 
https://github.com/Stickymaddness/Procurement/releases/tag/1.7.3-dev

Original comment by stickymaddness on 23 Aug 2014 at 9:56