{"action":"created","issue":{"url":"https://api.github.com/repos/EmmittJ/PoESkillTree/issues/182","labels_url":"https://api.github.com/repos/EmmittJ/PoESkillTree/issues/182/labels{/name}","comments_url":"https://api.github.com/repos/EmmittJ/PoESkillTree/issues/182/comments","events_url":"https://api.github.com/repos/EmmittJ/PoESkillTree/issues/182/events","html_url":"https://github.com/EmmittJ/PoESkillTree/issues/182","id":95905076,"number":182,"title":"2.2.1 crash","user":{"login":"lekne","id":13403002,"avatar_url":"https://avatars.githubusercontent.com/u/13403002?v=3","gravatar_id":"","url":"https://api.github.com/users/lekne","html_url":"https://github.com/lekne","followers_url":"https://api.github.com/users/lekne/followers","following_url":"https://api.github.com/users/lekne/following{/other_user}","gists_url":"https://api.github.com/users/lekne/gists{/gist_id}","starred_url":"https://api.github.com/users/lekne/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lekne/subscriptions","organizations_url":"https://api.github.com/users/lekne/orgs","repos_url":"https://api.github.com/users/lekne/repos","events_url":"https://api.github.com/users/lekne/events{/privacy}","received_events_url":"https://api.github.com/users/lekne/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":10,"created_at":"2015-07-19T10:38:12Z","updated_at":"2015-07-20T01:50:19Z","closed_at":null,"body":"When I try to run, it crashes. The debug.txt is as below:\r\n\r\nThe error time: 19.07.2015 13:19\r\nException: System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.\r\nParameter name: index\r\n   at System.ThrowHelper.ThrowArgumentOutOfRangeException()\r\n   at POESKillTree.SkillTreeFiles.SkillTree.<set_Chartype>b__16(KeyValuePair`2 nd) in c:\\GitHub\\PoESkillTree_Source\\WPFSKillTree\\SkillTreeFiles\\SkillTree.cs:line 486\r\n   at System.Linq.Enumerable.First[TSource](IEnumerable`1 source, Func`2 predicate)\r\n   at POESKillTree.SkillTreeFiles.SkillTree.set_Chartype(Int32 value) in c:\\GitHub\\PoESkillTree_Source\\WPFSKillTree\\SkillTreeFiles\\SkillTree.cs:line 485\r\n   at POESKillTree.Views.MainWindow.Window_Loaded(Object sender, RoutedEventArgs e) in c:\\GitHub\\PoESkillTree_Source\\WPFSKillTree\\Views\\MainWindow.xaml.cs:line 162\r\n   at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)\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.RaiseEvent(RoutedEventArgs e)\r\n   at System.Windows.BroadcastEventHelper.BroadcastEvent(DependencyObject root, RoutedEvent routedEvent)\r\n   at System.Windows.BroadcastEventHelper.BroadcastLoadedEvent(Object root)\r\n   at MS.Internal.LoadedOrUnloadedOperation.DoWork()\r\n   at System.Windows.Media.MediaContext.FireLoadedPendingCallbacks()\r\n   at System.Windows.Media.MediaContext.FireInvokeOnRenderCallbacks()\r\n   at System.Windows.Media.MediaContext.RenderMessageHandlerCore(Object resizedCompositionTarget)\r\n   at System.Windows.Media.MediaContext.RenderMessageHandler(Object resizedCompositionTarget)\r\n   at System.Windows.Media.MediaContext.Resize(ICompositionTarget resizedCompositionTarget)\r\n   at System.Windows.Interop.HwndTarget.OnResize()\r\n   at System.Windows.Interop.HwndTarget.HandleMessage(WindowMessage msg, IntPtr wparam, IntPtr lparam)\r\n   at System.Windows.Interop.HwndSource.HwndTargetFilterMessage(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)\r\nThe error time: 19.07.2015 13:26\r\nException: System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.\r\nParameter name: index\r\n   at System.ThrowHelper.ThrowArgumentOutOfRangeException()\r\n   at POESKillTree.SkillTreeFiles.SkillTree.<set_Chartype>b__16(KeyValuePair`2 nd) in c:\\GitHub\\PoESkillTree_Source\\WPFSKillTree\\SkillTreeFiles\\SkillTree.cs:line 486\r\n   at System.Linq.Enumerable.First[TSource](IEnumerable`1 source, Func`2 predicate)\r\n   at POESKillTree.SkillTreeFiles.SkillTree.set_Chartype(Int32 value) in c:\\GitHub\\PoESkillTree_Source\\WPFSKillTree\\SkillTreeFiles\\SkillTree.cs:line 485\r\n   at POESKillTree.Views.MainWindow.Window_Loaded(Object sender, RoutedEventArgs e) in c:\\GitHub\\PoESkillTree_Source\\WPFSKillTree\\Views\\MainWindow.xaml.cs:line 162\r\n   at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)\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.RaiseEvent(RoutedEventArgs e)\r\n   at System.Windows.BroadcastEventHelper.BroadcastEvent(DependencyObject root, RoutedEvent routedEvent)\r\n   at System.Windows.BroadcastEventHelper.BroadcastLoadedEvent(Object root)\r\n   at MS.Internal.LoadedOrUnloadedOperation.DoWork()\r\n   at System.Windows.Media.MediaContext.FireLoadedPendingCallbacks()\r\n   at System.Windows.Media.MediaContext.FireInvokeOnRenderCallbacks()\r\n   at System.Windows.Media.MediaContext.RenderMessageHandlerCore(Object resizedCompositionTarget)\r\n   at System.Windows.Media.MediaContext.RenderMessageHandler(Object resizedCompositionTarget)\r\n   at System.Windows.Media.MediaContext.Resize(ICompositionTarget resizedCompositionTarget)\r\n   at System.Windows.Interop.HwndTarget.OnResize()\r\n   at System.Windows.Interop.HwndTarget.HandleMessage(WindowMessage msg, IntPtr wparam, IntPtr lparam)\r\n   at System.Windows.Interop.HwndSource.HwndTargetFilterMessage(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)\r\n"},"comment":{"url":"https://api.github.com/repos/EmmittJ/PoESkillTree/issues/comments/122727598","html_url":"https://github.com/EmmittJ/PoESkillTree/issues/182#issuecomment-122727598","issue_url":"https://api.github.com/repos/EmmittJ/PoESkillTree/issues/182","id":122727598,"user":{"login":"EmmittJ","id":7478125,"avatar_url":"https://avatars.githubusercontent.com/u/7478125?v=3","gravatar_id":"","url":"https://api.github.com/users/EmmittJ","html_url":"https://github.com/EmmittJ","followers_url":"https://api.github.com/users/EmmittJ/followers","following_url":"https://api.github.com/users/EmmittJ/following{/other_user}","gists_url":"https://api.github.com/users/EmmittJ/gists{/gist_id}","starred_url":"https://api.github.com/users/EmmittJ/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EmmittJ/subscriptions","organizations_url":"https://api.github.com/users/EmmittJ/orgs","repos_url":"https://api.github.com/users/EmmittJ/repos","events_url":"https://api.github.com/users/EmmittJ/events{/privacy}","received_events_url":"https://api.github.com/users/EmmittJ/received_events","type":"User","site_admin":false},"created_at":"2015-07-20T01:50:19Z","updated_at":"2015-07-20T01:50:19Z","body":"I am not sure if this is actually solved. "}}