xrexis / procurement

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

Client loads (Done!) then errors #313

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago

What version of Procurement are you using? On what operating system?
1.7.2 on Windows 7 64-bit
What steps will reproduce the problem?
1.Start Client
2.Client complete loads and states Done!
3.Error made again

What is the expected output? What do you see instead?
For the client to function once the database is loaded.

Please provide any additional information below.

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 issue reported on code.google.com by mbelm...@gmail.com on 22 Aug 2014 at 7:55

GoogleCodeExporter commented 9 years ago
I'm merging this with Issue 303, since it is the same issue. Please take a look 
at my reply to that issue as it is applicable.

Original comment by stickymaddness on 22 Aug 2014 at 8:36