{"action":"created","issue":{"url":"https://api.github.com/repos/Stickymaddness/Procurement/issues/565","repository_url":"https://api.github.com/repos/Stickymaddness/Procurement","labels_url":"https://api.github.com/repos/Stickymaddness/Procurement/issues/565/labels{/name}","comments_url":"https://api.github.com/repos/Stickymaddness/Procurement/issues/565/comments","events_url":"https://api.github.com/repos/Stickymaddness/Procurement/issues/565/events","html_url":"https://github.com/Stickymaddness/Procurement/issues/565","id":143290731,"number":565,"title":"Procurement not searching","user":{"login":"DesperadoJay","id":10235308,"avatar_url":"https://avatars.githubusercontent.com/u/10235308?v=3","gravatar_id":"","url":"https://api.github.com/users/DesperadoJay","html_url":"https://github.com/DesperadoJay","followers_url":"https://api.github.com/users/DesperadoJay/followers","following_url":"https://api.github.com/users/DesperadoJay/following{/other_user}","gists_url":"https://api.github.com/users/DesperadoJay/gists{/gist_id}","starred_url":"https://api.github.com/users/DesperadoJay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DesperadoJay/subscriptions","organizations_url":"https://api.github.com/users/DesperadoJay/orgs","repos_url":"https://api.github.com/users/DesperadoJay/repos","events_url":"https://api.github.com/users/DesperadoJay/events{/privacy}","received_events_url":"https://api.github.com/users/DesperadoJay/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-03-24T16:17:31Z","updated_at":"2016-03-25T18:56:53Z","closed_at":null,"body":"May have broken with my buying of currency tab.\r\nHere is the debug text:\r\n\r\n[24-03-2016 11:45] System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary.\r\n   at System.Collections.Generic.Dictionary`2.get_Item(TKey key)\r\n   at Procurement.Controls.StashControl.ForceUpdate()\r\n   at Procurement.ViewModel.StashViewModel.processFilter()\r\n   at Procurement.ViewModel.StashViewModel.SetCategoryFilter(String category, Nullable`1 isChecked)\r\n   at Procurement.View.StashView.CheckBox_Checked(Object sender, RoutedEventArgs e)\r\n   at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)\r\n   at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)\r\n   at System.Windows.Controls.Primitives.ToggleButton.OnIsCheckedChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)\r\n   at System.Windows.DependencyObject.OnPropertyChanged(DependencyPropertyChangedEventArgs e)\r\n   at System.Windows.FrameworkElement.OnPropertyChanged(DependencyPropertyChangedEventArgs e)\r\n   at System.Windows.DependencyObject.NotifyPropertyChange(DependencyPropertyChangedEventArgs args)\r\n   at System.Windows.DependencyObject.UpdateEffectiveValue(EntryIndex entryIndex, DependencyProperty dp, PropertyMetadata metadata, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, Boolean coerceWithDeferredReference, Boolean coerceWithCurrentValue, OperationType operationType)\r\n   at System.Windows.DependencyObject.SetValueCommon(DependencyProperty dp, Object value, PropertyMetadata metadata, Boolean coerceWithDeferredReference, Boolean coerceWithCurrentValue, OperationType operationType, Boolean isInternal)\r\n   at System.Windows.DependencyObject.SetCurrentValueInternal(DependencyProperty dp, Object value)\r\n   at System.Windows.Controls.Primitives.ToggleButton.OnToggle()\r\n   at System.Windows.Controls.Primitives.ToggleButton.OnClick()\r\n   at System.Windows.Controls.Primitives.ButtonBase.OnMouseLeftButtonUp(MouseButtonEventArgs e)\r\n   at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)\r\n   at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)\r\n   at System.Windows.UIElement.ReRaiseEventAs(DependencyObject sender, RoutedEventArgs args, RoutedEvent newEvent)\r\n   at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)\r\n   at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)\r\n   at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)\r\n   at System.Windows.UIElement.RaiseTrustedEvent(RoutedEventArgs args)\r\n   at System.Windows.Input.InputManager.ProcessStagingArea()\r\n   at System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport)\r\n   at System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawMouseActions actions, Int32 x, Int32 y, Int32 wheel)\r\n   at System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr hwnd, WindowMessage msg, IntPtr wParam, IntPtr lParam, Boolean& handled)\r\n   at System.Windows.Interop.HwndSource.InputFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)\r\n   at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)\r\n   at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)\r\n   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)\r\n   at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)"},"comment":{"url":"https://api.github.com/repos/Stickymaddness/Procurement/issues/comments/201425001","html_url":"https://github.com/Stickymaddness/Procurement/issues/565#issuecomment-201425001","issue_url":"https://api.github.com/repos/Stickymaddness/Procurement/issues/565","id":201425001,"user":{"login":"OlympicLarry","id":10212320,"avatar_url":"https://avatars.githubusercontent.com/u/10212320?v=3","gravatar_id":"","url":"https://api.github.com/users/OlympicLarry","html_url":"https://github.com/OlympicLarry","followers_url":"https://api.github.com/users/OlympicLarry/followers","following_url":"https://api.github.com/users/OlympicLarry/following{/other_user}","gists_url":"https://api.github.com/users/OlympicLarry/gists{/gist_id}","starred_url":"https://api.github.com/users/OlympicLarry/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OlympicLarry/subscriptions","organizations_url":"https://api.github.com/users/OlympicLarry/orgs","repos_url":"https://api.github.com/users/OlympicLarry/repos","events_url":"https://api.github.com/users/OlympicLarry/events{/privacy}","received_events_url":"https://api.github.com/users/OlympicLarry/received_events","type":"User","site_admin":false},"created_at":"2016-03-25T18:56:53Z","updated_at":"2016-03-25T18:56:53Z","body":"Temp fix to get search working, look in StashControl.xaml.cs line 41. Put updateResult in a try catch.\r\n\r\n    try\r\n    {\r\n        updateResult(borderByLocation[Tuple.Create<int, int>(item.X, item.Y)], search(item));\r\n    }\r\n    catch {}\r\n\r\n\r\nThis does not fix the underlying issue with the new currency stash, it just lets the search continue."}}