xrexis / procurement

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

unhandled error when starting procurement #314

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
NB: First check the wiki and existing issues!

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.after clicking login it goes through its updates then has the unhandled error 
and shutsdown.
2.
3.

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

Please provide any additional information below.

debuginfofile
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)Application Version: Procurement 1.7.2CurrentCulture: en-US

Original issue reported on code.google.com by animalna...@gmail.com on 22 Aug 2014 at 8:06

GoogleCodeExporter commented 9 years ago
Solved this myself. Right click procurement app and select properties --> 
Compatibility page --> Select run as admin --> OK.  Now open your debuginfo xml 
file and delete all contents and save. Should run correctly.

Original comment by animalna...@gmail.com on 22 Aug 2014 at 8:26

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:37