baccon404 / procurement

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

Error Downloading Stash #226

Closed GoogleCodeExporter closed 8 years ago

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

What version of Procurement are you using? On what operating system?
Procurement 1.3.1 on Windows 7

What steps will reproduce the problem?
1.Clicking Login, waiting for everything to load and getting an error at the 
end.
2.
3.

What is the expected output? 
To see my stash!

What do you see instead?
[Error] Downloading stash, details logged to DebugLog.log, please open a ticket 
at https://code.google.com/p/procurement/issues/list

Please provide any additional information below.

This is the details in the DebugLog.log:

System.Runtime.Serialization.SerializationException: Expecting state 
'Element'.. Encountered 'Text'  with name '', namespace ''. 
   at System.Runtime.Serialization.XmlObjectSerializerReadContext.HandleMemberNotFound(XmlReaderDelegator xmlReader, ExtensionDataObject extensionData, Int32 memberIndex)
   at System.Runtime.Serialization.Json.XmlObjectSerializerReadContextComplexJson.GetJsonMemberIndex(XmlReaderDelegator xmlReader, XmlDictionaryString[] memberNames, Int32 memberIndex, ExtensionDataObject extensionData)
   at ReadRootObjectFromJson(XmlReaderDelegator , XmlObjectSerializerReadContextComplexJson , XmlDictionaryString , XmlDictionaryString[] )
   at System.Runtime.Serialization.Json.JsonClassDataContract.ReadJsonValueCore(XmlReaderDelegator jsonReader, XmlObjectSerializerReadContextComplexJson context)
   at System.Runtime.Serialization.Json.JsonDataContract.ReadJsonValue(XmlReaderDelegator jsonReader, XmlObjectSerializerReadContextComplexJson context)
   at System.Runtime.Serialization.XmlObjectSerializerReadContext.InternalDeserialize(XmlReaderDelegator reader, String name, String ns, Type declaredType, DataContract& dataContract)
   at System.Runtime.Serialization.XmlObjectSerializerReadContext.InternalDeserialize(XmlReaderDelegator xmlReader, Type declaredType, DataContract dataContract, String name, String ns)
   at System.Runtime.Serialization.Json.DataContractJsonSerializer.InternalReadObject(XmlReaderDelegator xmlReader, Boolean verifyObjectName)
   at System.Runtime.Serialization.XmlObjectSerializer.ReadObjectHandleExceptions(XmlReaderDelegator reader, Boolean verifyObjectName, DataContractResolver dataContractResolver)
   at System.Runtime.Serialization.Json.DataContractJsonSerializer.ReadObject(XmlDictionaryReader reader)
   at POEApi.Model.POEModel.GetStash(Int32 index, String league, Boolean forceRefresh)JSON Serialization Failed: base64 bytes:ZmFsc2U=ENDSystem.Exception: Downloading stash, details logged to DebugLog.log, please open a ticket at https://code.google.com/p/procurement/issues/list
   at POEApi.Model.POEModel.logNullStash(Stream stream, String errorPrefix)
   at POEApi.Model.POEModel.GetStash(Int32 index, String league, Boolean forceRefresh)
   at POEApi.Model.POEModel.GetStash(String league)
   at Procurement.ViewModel.LoginWindowViewModel.loadStash(Character character) in C:\Code\Procurement\Procurement\ViewModel\LoginWindowViewModel.cs:line 201
   at Procurement.ViewModel.LoginWindowViewModel.<>c__DisplayClass2.<Login>b__1() in C:\Code\Procurement\Procurement\ViewModel\LoginWindowViewModel.cs:line 157
   at System.Threading.Tasks.Task.Execute()

Original issue reported on code.google.com by edinbete...@gmail.com on 22 Mar 2014 at 1:01

GoogleCodeExporter commented 8 years ago
Well I found out the problem. The program was having trouble downloading the 
stashes of my Cutthroat character. Presumably because the league is over. I 
deleted the character and the program runs fine now.

Original comment by edinbete...@gmail.com on 22 Mar 2014 at 7:00

GoogleCodeExporter commented 8 years ago
I had this error as well, though my solution was to log in all my 
hardcore-formerly-race characters.  Log below, in case of any differences:

System.Runtime.Serialization.SerializationException: Expecting state 
'Element'.. Encountered 'Text'  with name '', namespace ''. 
   at System.Runtime.Serialization.XmlObjectSerializerReadContext.HandleMemberNotFound(XmlReaderDelegator xmlReader, ExtensionDataObject extensionData, Int32 memberIndex)
   at System.Runtime.Serialization.Json.XmlObjectSerializerReadContextComplexJson.GetJsonMemberIndex(XmlReaderDelegator xmlReader, XmlDictionaryString[] memberNames, Int32 memberIndex, ExtensionDataObject extensionData)
   at ReadRootObjectFromJson(XmlReaderDelegator , XmlObjectSerializerReadContextComplexJson , XmlDictionaryString , XmlDictionaryString[] )
   at System.Runtime.Serialization.Json.JsonClassDataContract.ReadJsonValueCore(XmlReaderDelegator jsonReader, XmlObjectSerializerReadContextComplexJson context)
   at System.Runtime.Serialization.Json.JsonDataContract.ReadJsonValue(XmlReaderDelegator jsonReader, XmlObjectSerializerReadContextComplexJson context)
   at System.Runtime.Serialization.XmlObjectSerializerReadContext.InternalDeserialize(XmlReaderDelegator reader, String name, String ns, Type declaredType, DataContract& dataContract)
   at System.Runtime.Serialization.XmlObjectSerializerReadContext.InternalDeserialize(XmlReaderDelegator xmlReader, Type declaredType, DataContract dataContract, String name, String ns)
   at System.Runtime.Serialization.Json.DataContractJsonSerializer.InternalReadObject(XmlReaderDelegator xmlReader, Boolean verifyObjectName)
   at System.Runtime.Serialization.XmlObjectSerializer.ReadObjectHandleExceptions(XmlReaderDelegator reader, Boolean verifyObjectName, DataContractResolver dataContractResolver)
   at System.Runtime.Serialization.Json.DataContractJsonSerializer.ReadObject(XmlDictionaryReader reader)
   at POEApi.Model.POEModel.GetStash(Int32 index, String league, Boolean forceRefresh)JSON Serialization Failed: base64 bytes:ZmFsc2U=ENDSystem.Exception: Downloading stash, details logged to DebugLog.log, please open a ticket at https://code.google.com/p/procurement/issues/list
   at POEApi.Model.POEModel.logNullStash(Stream stream, String errorPrefix)
   at POEApi.Model.POEModel.GetStash(Int32 index, String league, Boolean forceRefresh)
   at POEApi.Model.POEModel.GetStash(String league)
   at Procurement.ViewModel.LoginWindowViewModel.loadStash(Character character) in C:\Code\Procurement\Procurement\ViewModel\LoginWindowViewModel.cs:line 201
   at Procurement.ViewModel.LoginWindowViewModel.<>c__DisplayClass2.<Login>b__1() in C:\Code\Procurement\Procurement\ViewModel\LoginWindowViewModel.cs:line 157
   at System.Threading.Tasks.Task.Execute()

Original comment by edysonmo...@gmail.com on 6 Apr 2014 at 7:24

GoogleCodeExporter commented 8 years ago

Original comment by stickymaddness on 10 May 2014 at 7:40