sheeno73 / procurement

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

Clicking on Trading causes crash #423

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
1.) Did you first check the wiki for your issue?
2.) Did you check to see if there is already a ticket for your issue?
3.) Have you attached your DebugInfo.log?

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

What steps will reproduce the problem?
1. Clickin on Trading
2.
3.

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

message occurs:
There was an unhandled error - please create a ticket

after that Procurement crashes/closes

Original issue reported on code.google.com by FelixMas...@gmail.com on 18 Sep 2014 at 2:20

GoogleCodeExporter commented 9 years ago
This is happening to me too. DebugInfo.log:

Application Version: Procurement 1.8.4CurrentCulture: en-US
CurrentUICulture: en-US
Operating System: Microsoft Windows NT 6.2.9200.0
System.Windows.Markup.XamlParseException: The invocation of the constructor on 
type 'Procurement.Controls.ForumExport' that matches the specified binding 
constraints threw an exception. ---> 
System.Collections.Generic.KeyNotFoundException: The given key was not present 
in the dictionary.
   at POEApi.Model.Stash.GetItemsByTab(Int32 tabId)
   at Procurement.ViewModel.ForumExportViewModel.<updateText>b__e(Int32 sid)
   at System.Linq.Enumerable.<SelectManyIterator>d__14`2.MoveNext()
   at System.Linq.Buffer`1..ctor(IEnumerable`1 source)
   at System.Linq.OrderedEnumerable`1.<GetEnumerator>d__0.MoveNext()
   at System.Linq.Enumerable.WhereEnumerableIterator`1.MoveNext()
   at Procurement.ViewModel.ForumExportVisitors.VisitorBase.runFilter(IFilter filter, IEnumerable`1 items)
   at Procurement.ViewModel.ForumExportVisitors.VisitorBase.runFilter[T](IEnumerable`1 items)
   at Procurement.ViewModel.ForumExportVisitors.AllGemVisitor.Visit(IEnumerable`1 items, String current)
   at Procurement.ViewModel.ForumExportViewModel.getFinal(IEnumerable`1 items)
   at Procurement.ViewModel.ForumExportViewModel.updateText()
   at Procurement.ViewModel.ForumExportViewModel..ctor()
   at Procurement.Controls.ForumExport..ctor()
   --- End of inner exception stack trace ---
   at System.Windows.Markup.WpfXamlLoader.Load(XamlReader xamlReader, IXamlObjectWriterFactory writerFactory, Boolean skipJournaledProperties, Object rootObject, XamlObjectWriterSettings settings, Uri baseUri)
   at System.Windows.Markup.WpfXamlLoader.LoadBaml(XamlReader xamlReader, Boolean skipJournaledProperties, Object rootObject, XamlAccessLevel accessLevel, Uri baseUri)
   at System.Windows.Markup.XamlReader.LoadBaml(Stream stream, ParserContext parserContext, Object parent, Boolean closeStream)
   at System.Windows.Application.LoadComponent(Object component, Uri resourceLocator)
   at Procurement.View.TradingView..ctor()
   at Procurement.ViewModel.ScreenController.execute(Object obj)
   at System.Windows.Controls.Button.OnClick()
   at System.Windows.Controls.Primitives.ButtonBase.OnMouseLeftButtonUp(MouseButtonEventArgs e)
   at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
   at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
   at System.Windows.UIElement.ReRaiseEventAs(DependencyObject sender, RoutedEventArgs args, RoutedEvent newEvent)
   at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
   at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
   at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
   at System.Windows.UIElement.RaiseTrustedEvent(RoutedEventArgs args)
   at System.Windows.Input.InputManager.ProcessStagingArea()
   at System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport)
   at System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawMouseActions actions, Int32 x, Int32 y, Int32 wheel)
   at System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr hwnd, WindowMessage msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   at System.Windows.Interop.HwndSource.InputFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
   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.8.4CurrentCulture: en-US
CurrentUICulture: en-US
Operating System: Microsoft Windows NT 6.2.9200.0
System.Windows.Markup.XamlParseException: The invocation of the constructor on 
type 'Procurement.Controls.ForumExport' that matches the specified binding 
constraints threw an exception. ---> 
System.Collections.Generic.KeyNotFoundException: The given key was not present 
in the dictionary.
   at POEApi.Model.Stash.GetItemsByTab(Int32 tabId)
   at Procurement.ViewModel.ForumExportViewModel.<updateText>b__e(Int32 sid)
   at System.Linq.Enumerable.<SelectManyIterator>d__14`2.MoveNext()
   at System.Linq.Buffer`1..ctor(IEnumerable`1 source)
   at System.Linq.OrderedEnumerable`1.<GetEnumerator>d__0.MoveNext()
   at System.Linq.Enumerable.WhereEnumerableIterator`1.MoveNext()
   at Procurement.ViewModel.ForumExportVisitors.VisitorBase.runFilter(IFilter filter, IEnumerable`1 items)
   at Procurement.ViewModel.ForumExportVisitors.VisitorBase.runFilter[T](IEnumerable`1 items)
   at Procurement.ViewModel.ForumExportVisitors.AllGemVisitor.Visit(IEnumerable`1 items, String current)
   at Procurement.ViewModel.ForumExportViewModel.getFinal(IEnumerable`1 items)
   at Procurement.ViewModel.ForumExportViewModel.updateText()
   at Procurement.ViewModel.ForumExportViewModel..ctor()
   at Procurement.Controls.ForumExport..ctor()
   --- End of inner exception stack trace ---
   at System.Windows.Markup.WpfXamlLoader.Load(XamlReader xamlReader, IXamlObjectWriterFactory writerFactory, Boolean skipJournaledProperties, Object rootObject, XamlObjectWriterSettings settings, Uri baseUri)
   at System.Windows.Markup.WpfXamlLoader.LoadBaml(XamlReader xamlReader, Boolean skipJournaledProperties, Object rootObject, XamlAccessLevel accessLevel, Uri baseUri)
   at System.Windows.Markup.XamlReader.LoadBaml(Stream stream, ParserContext parserContext, Object parent, Boolean closeStream)
   at System.Windows.Application.LoadComponent(Object component, Uri resourceLocator)
   at Procurement.View.TradingView..ctor()
   at Procurement.ViewModel.ScreenController.execute(Object obj)
   at System.Windows.Controls.Button.OnClick()
   at System.Windows.Controls.Primitives.ButtonBase.OnMouseLeftButtonUp(MouseButtonEventArgs e)
   at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
   at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
   at System.Windows.UIElement.ReRaiseEventAs(DependencyObject sender, RoutedEventArgs args, RoutedEvent newEvent)
   at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
   at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
   at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
   at System.Windows.UIElement.RaiseTrustedEvent(RoutedEventArgs args)
   at System.Windows.Input.InputManager.ProcessStagingArea()
   at System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport)
   at System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawMouseActions actions, Int32 x, Int32 y, Int32 wheel)
   at System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr hwnd, WindowMessage msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   at System.Windows.Interop.HwndSource.InputFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
   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)System.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\procurement\tywholland@gmail.com\characterdata.bin'.
   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
   at System.IO.File.InternalWriteAllBytes(String path, Byte[] bytes, Boolean checkHost)
   at POEApi.Transport.CachedTransport.GetCharacters()
   at POEApi.Model.POEModel.GetCharacters()
   at Procurement.ViewModel.LoginWindowViewModel.<>c__DisplayClass2.<Login>b__1()
   at System.Threading.Tasks.Task.Execute()Application Version: Procurement 1.8.4CurrentCulture: en-US
CurrentUICulture: en-US
Operating System: Microsoft Windows NT 6.2.9200.0
System.Windows.Markup.XamlParseException: The invocation of the constructor on 
type 'Procurement.Controls.ForumExport' that matches the specified binding 
constraints threw an exception. ---> 
System.Collections.Generic.KeyNotFoundException: The given key was not present 
in the dictionary.
   at POEApi.Model.Stash.GetItemsByTab(Int32 tabId)
   at Procurement.ViewModel.ForumExportViewModel.<updateText>b__e(Int32 sid)
   at System.Linq.Enumerable.<SelectManyIterator>d__14`2.MoveNext()
   at System.Linq.Buffer`1..ctor(IEnumerable`1 source)
   at System.Linq.OrderedEnumerable`1.<GetEnumerator>d__0.MoveNext()
   at System.Linq.Enumerable.WhereEnumerableIterator`1.MoveNext()
   at Procurement.ViewModel.ForumExportVisitors.VisitorBase.runFilter(IFilter filter, IEnumerable`1 items)
   at Procurement.ViewModel.ForumExportVisitors.VisitorBase.runFilter[T](IEnumerable`1 items)
   at Procurement.ViewModel.ForumExportVisitors.AllGemVisitor.Visit(IEnumerable`1 items, String current)
   at Procurement.ViewModel.ForumExportViewModel.getFinal(IEnumerable`1 items)
   at Procurement.ViewModel.ForumExportViewModel.updateText()
   at Procurement.ViewModel.ForumExportViewModel..ctor()
   at Procurement.Controls.ForumExport..ctor()
   --- End of inner exception stack trace ---
   at System.Windows.Markup.WpfXamlLoader.Load(XamlReader xamlReader, IXamlObjectWriterFactory writerFactory, Boolean skipJournaledProperties, Object rootObject, XamlObjectWriterSettings settings, Uri baseUri)
   at System.Windows.Markup.WpfXamlLoader.LoadBaml(XamlReader xamlReader, Boolean skipJournaledProperties, Object rootObject, XamlAccessLevel accessLevel, Uri baseUri)
   at System.Windows.Markup.XamlReader.LoadBaml(Stream stream, ParserContext parserContext, Object parent, Boolean closeStream)
   at System.Windows.Application.LoadComponent(Object component, Uri resourceLocator)
   at Procurement.View.TradingView..ctor()
   at Procurement.ViewModel.ScreenController.execute(Object obj)
   at System.Windows.Controls.Button.OnClick()
   at System.Windows.Controls.Primitives.ButtonBase.OnMouseLeftButtonUp(MouseButtonEventArgs e)
   at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
   at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
   at System.Windows.UIElement.ReRaiseEventAs(DependencyObject sender, RoutedEventArgs args, RoutedEvent newEvent)
   at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
   at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
   at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
   at System.Windows.UIElement.RaiseTrustedEvent(RoutedEventArgs args)
   at System.Windows.Input.InputManager.ProcessStagingArea()
   at System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport)
   at System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawMouseActions actions, Int32 x, Int32 y, Int32 wheel)
   at System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr hwnd, WindowMessage msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   at System.Windows.Interop.HwndSource.InputFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
   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.8.4CurrentCulture: en-US
CurrentUICulture: en-US
Operating System: Microsoft Windows NT 6.2.9200.0
System.Windows.Markup.XamlParseException: The invocation of the constructor on 
type 'Procurement.Controls.ForumExport' that matches the specified binding 
constraints threw an exception. ---> 
System.Collections.Generic.KeyNotFoundException: The given key was not present 
in the dictionary.
   at POEApi.Model.Stash.GetItemsByTab(Int32 tabId)
   at Procurement.ViewModel.ForumExportViewModel.<updateText>b__e(Int32 sid)
   at System.Linq.Enumerable.<SelectManyIterator>d__14`2.MoveNext()
   at System.Linq.Buffer`1..ctor(IEnumerable`1 source)
   at System.Linq.OrderedEnumerable`1.<GetEnumerator>d__0.MoveNext()
   at System.Linq.Enumerable.WhereEnumerableIterator`1.MoveNext()
   at Procurement.ViewModel.ForumExportVisitors.VisitorBase.runFilter(IFilter filter, IEnumerable`1 items)
   at Procurement.ViewModel.ForumExportVisitors.VisitorBase.runFilter[T](IEnumerable`1 items)
   at Procurement.ViewModel.ForumExportVisitors.AllGemVisitor.Visit(IEnumerable`1 items, String current)
   at Procurement.ViewModel.ForumExportViewModel.getFinal(IEnumerable`1 items)
   at Procurement.ViewModel.ForumExportViewModel.updateText()
   at Procurement.ViewModel.ForumExportViewModel..ctor()
   at Procurement.Controls.ForumExport..ctor()
   --- End of inner exception stack trace ---
   at System.Windows.Markup.WpfXamlLoader.Load(XamlReader xamlReader, IXamlObjectWriterFactory writerFactory, Boolean skipJournaledProperties, Object rootObject, XamlObjectWriterSettings settings, Uri baseUri)
   at System.Windows.Markup.WpfXamlLoader.LoadBaml(XamlReader xamlReader, Boolean skipJournaledProperties, Object rootObject, XamlAccessLevel accessLevel, Uri baseUri)
   at System.Windows.Markup.XamlReader.LoadBaml(Stream stream, ParserContext parserContext, Object parent, Boolean closeStream)
   at System.Windows.Application.LoadComponent(Object component, Uri resourceLocator)
   at Procurement.View.TradingView..ctor()
   at Procurement.ViewModel.ScreenController.execute(Object obj)
   at System.Windows.Controls.Button.OnClick()
   at System.Windows.Controls.Primitives.ButtonBase.OnMouseLeftButtonUp(MouseButtonEventArgs e)
   at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
   at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
   at System.Windows.UIElement.ReRaiseEventAs(DependencyObject sender, RoutedEventArgs args, RoutedEvent newEvent)
   at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
   at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
   at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
   at System.Windows.UIElement.RaiseTrustedEvent(RoutedEventArgs args)
   at System.Windows.Input.InputManager.ProcessStagingArea()
   at System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport)
   at System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawMouseActions actions, Int32 x, Int32 y, Int32 wheel)
   at System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr hwnd, WindowMessage msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   at System.Windows.Interop.HwndSource.InputFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
   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 tywholl...@gmail.com on 18 Sep 2014 at 4:11

GoogleCodeExporter commented 9 years ago
I've released a testing version, please test and send me the updated 
debuginfo.log if you still have issues.

https://github.com/Stickymaddness/Procurement/releases/tag/1.8.5-dev2

Original comment by stickymaddness on 18 Sep 2014 at 10:35

GoogleCodeExporter commented 9 years ago
I had the same issue as described in the bug report. I've tried the 1.8.5-dev2 
release and it seems to solve the crashing problem. Thanks.

Original comment by hellfire...@hotmail.com on 19 Sep 2014 at 4:43

GoogleCodeExporter commented 9 years ago
After 7 days I suddenly got this bug as well, ur update fixed it.

What the hell was it? How can there suddenly be a bug after 7 days of using it 
multiple times per day?

Original comment by daoc-z...@gmx.at on 19 Sep 2014 at 10:43

GoogleCodeExporter commented 9 years ago
Procurement 1.8.5 has been released, which fixes this issue.

If you have further issues please log a new ticket with a fresh debuginfo.log 
from 1.8.5

Original comment by stickymaddness on 20 Sep 2014 at 9:48