xrexis / procurement

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

since changing template procurement wont get past the loading stash data part #208

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What is the expected output? expected it load as usual What do you see instead? 
since changing a template it won't finish loading data at start up

What version of the product are you using? On what operating system? windows 8

Please provide any additional information below.
System.ArgumentNullException: String reference not set to an instance of a 
String.
Parameter name: s
   at System.Text.Encoding.GetBytes(String s)
   at POEApi.Infrastructure.Extensions.GetHash(String input)
   at POEApi.Transport.CachedTransport.GetImage(String url)
   at POEApi.Model.POEModel.getImageWithEvents(String name, String url)
   at POEApi.Model.POEModel.GetImages(Stash stash)
   at Procurement.ViewModel.LoginWindowViewModel.loadStash(Character character)
   at Procurement.ViewModel.LoginWindowViewModel.<Login>b__1()
   at System.Threading.Tasks.Task.Execute()System.Net.WebException: The remote name could not be resolved: 'www.pathofexile.com'
   at System.Net.HttpWebRequest.GetResponse()
   at POEApi.Transport.HttpTransport.Authenticate(String email, SecureString password, Boolean useSessionID)
   at POEApi.Model.POEModel.Authenticate(String email, SecureString password, Boolean offline, Boolean useSessionID)
   at Procurement.ViewModel.LoginWindowViewModel.<Login>b__1()
   at System.Threading.Tasks.Task.Execute()System.InvalidOperationException: Sequence contains no matching element
   at System.Linq.Enumerable.First[TSource](IEnumerable`1 source, Func`2 predicate)
   at POEApi.Model.ProxyMapper.GetOrbType(String name)ProxyMapper.GetOrbType Failed! ItemType = Vaal OrbSystem.Exception: ProxyMapper.GetOrbType Failed! ItemType = Vaal Orb
   at POEApi.Model.ProxyMapper.GetOrbType(String name)
   at POEApi.Model.Currency..ctor(Item item)
   at POEApi.Model.ItemFactory.Get(Item item)ItemFactory unable to instanciate type : Vaal OrbSystem.Exception: ItemFactory unable to instanciate type : Vaal Orb
   at POEApi.Model.ItemFactory.Get(Item item)
   at System.Linq.Enumerable.WhereSelectListIterator`2.MoveNext()
   at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
   at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
   at POEApi.Model.Stash..ctor(Stash proxy)
   at POEApi.Model.POEModel.GetStash(Int32 index, String league, Boolean forceRefresh)
   at POEApi.Model.POEModel.getAllTabs(String league, Stash stash)
   at POEApi.Model.POEModel.GetStash(String league)
   at Procurement.ViewModel.LoginWindowViewModel.loadStash(Character character)
   at Procurement.ViewModel.LoginWindowViewModel.<Login>b__1()
   at System.Threading.Tasks.Task.Execute()System.InvalidOperationException: Sequence contains no matching element
   at System.Linq.Enumerable.First[TSource](IEnumerable`1 source, Func`2 predicate)
   at POEApi.Model.ProxyMapper.GetOrbType(String name)ProxyMapper.GetOrbType Failed! ItemType = Vaal OrbSystem.Exception: ProxyMapper.GetOrbType Failed! ItemType = Vaal Orb
   at POEApi.Model.ProxyMapper.GetOrbType(String name)
   at POEApi.Model.Currency..ctor(Item item)
   at POEApi.Model.ItemFactory.Get(Item item)ItemFactory unable to instanciate type : Vaal OrbSystem.Exception: ItemFactory unable to instanciate type : Vaal Orb
   at POEApi.Model.ItemFactory.Get(Item item)
   at System.Linq.Enumerable.WhereSelectListIterator`2.MoveNext()
   at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
   at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
   at POEApi.Model.Stash..ctor(Stash proxy)
   at POEApi.Model.POEModel.GetStash(Int32 index, String league, Boolean forceRefresh)
   at POEApi.Model.POEModel.getAllTabs(String league, Stash stash)
   at POEApi.Model.POEModel.GetStash(String league)
   at Procurement.ViewModel.LoginWindowViewModel.loadStash(Character character)
   at Procurement.ViewModel.LoginWindowViewModel.<Login>b__1()
   at System.Threading.Tasks.Task.Execute()System.InvalidOperationException: Sequence contains no matching element
   at System.Linq.Enumerable.First[TSource](IEnumerable`1 source, Func`2 predicate)
   at POEApi.Model.ProxyMapper.GetOrbType(String name)ProxyMapper.GetOrbType Failed! ItemType = Vaal OrbSystem.Exception: ProxyMapper.GetOrbType Failed! ItemType = Vaal Orb
   at POEApi.Model.ProxyMapper.GetOrbType(String name)
   at POEApi.Model.Currency..ctor(Item item)
   at POEApi.Model.ItemFactory.Get(Item item)ItemFactory unable to instanciate type : Vaal OrbSystem.Exception: ItemFactory unable to instanciate type : Vaal Orb
   at POEApi.Model.ItemFactory.Get(Item item)
   at System.Linq.Enumerable.WhereSelectListIterator`2.MoveNext()
   at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
   at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
   at POEApi.Model.Stash..ctor(Stash proxy)
   at POEApi.Model.POEModel.GetStash(Int32 index, String league, Boolean forceRefresh)
   at POEApi.Model.POEModel.getAllTabs(String league, Stash stash)
   at POEApi.Model.POEModel.GetStash(String league)
   at Procurement.ViewModel.LoginWindowViewModel.loadStash(Character character)
   at Procurement.ViewModel.LoginWindowViewModel.<Login>b__1()
   at System.Threading.Tasks.Task.Execute()Application Version: Procurement 1.2.1CurrentCulture: en-AU
CurrentUICulture: en-US
System.Windows.Markup.XamlParseException: The invocation of the constructor on 
type 'Procurement.Controls.ForumExport' that matches the specified binding 
constraints threw an exception. ---> System.ArgumentOutOfRangeException: Length 
cannot be less than zero.
Parameter name: length
   at System.String.InternalSubStringWithChecks(Int32 startIndex, Int32 length, Boolean fAlwaysCopy)
   at Procurement.ViewModel.ForumExportVisitors.StashVisitor.Visit(IEnumerable`1 items, String current)
   at Procurement.ViewModel.ForumExportViewModel.getFinal(IEnumerable`1 items)
   at Procurement.ViewModel.ForumExportViewModel.set_CurrentTemplate(String value)
   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.ViewModel.ScreenController.<initScreens>b__0()
   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.2.1CurrentCulture: en-AU
CurrentUICulture: en-US
System.Windows.Markup.XamlParseException: The invocation of the constructor on 
type 'Procurement.Controls.ForumExport' that matches the specified binding 
constraints threw an exception. ---> System.ArgumentOutOfRangeException: Length 
cannot be less than zero.
Parameter name: length
   at System.String.InternalSubStringWithChecks(Int32 startIndex, Int32 length, Boolean fAlwaysCopy)
   at Procurement.ViewModel.ForumExportVisitors.StashVisitor.Visit(IEnumerable`1 items, String current)
   at Procurement.ViewModel.ForumExportViewModel.getFinal(IEnumerable`1 items)
   at Procurement.ViewModel.ForumExportViewModel.set_CurrentTemplate(String value)
   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.ViewModel.ScreenController.<initScreens>b__0()
   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.2.1CurrentCulture: en-AU
CurrentUICulture: en-US
System.Windows.Markup.XamlParseException: The invocation of the constructor on 
type 'Procurement.Controls.ForumExport' that matches the specified binding 
constraints threw an exception. ---> System.ArgumentOutOfRangeException: Length 
cannot be less than zero.
Parameter name: length
   at System.String.InternalSubStringWithChecks(Int32 startIndex, Int32 length, Boolean fAlwaysCopy)
   at Procurement.ViewModel.ForumExportVisitors.StashVisitor.Visit(IEnumerable`1 items, String current)
   at Procurement.ViewModel.ForumExportViewModel.getFinal(IEnumerable`1 items)
   at Procurement.ViewModel.ForumExportViewModel.set_CurrentTemplate(String value)
   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.ViewModel.ScreenController.<initScreens>b__0()
   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.2.1CurrentCulture: en-AU
CurrentUICulture: en-US
System.Windows.Markup.XamlParseException: The invocation of the constructor on 
type 'Procurement.Controls.ForumExport' that matches the specified binding 
constraints threw an exception. ---> System.ArgumentOutOfRangeException: Length 
cannot be less than zero.
Parameter name: length
   at System.String.InternalSubStringWithChecks(Int32 startIndex, Int32 length, Boolean fAlwaysCopy)
   at Procurement.ViewModel.ForumExportVisitors.StashVisitor.Visit(IEnumerable`1 items, String current)
   at Procurement.ViewModel.ForumExportViewModel.getFinal(IEnumerable`1 items)
   at Procurement.ViewModel.ForumExportViewModel.set_CurrentTemplate(String value)
   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.ViewModel.ScreenController.<initScreens>b__0()
   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 kryten...@gmail.com on 15 Mar 2014 at 1:56

GoogleCodeExporter commented 9 years ago
Update to Procurement 1.2.1

Original comment by stickymaddness on 19 Mar 2014 at 8:09