Advertisement
b01000100

GetMedals() Error

Feb 19th, 2016
14
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.43 KB | None | 0 0
  1. Newtonsoft.Json.JsonSerializationException was unhandled by user code
  2. HResult=-2146233088
  3. Message=Error converting value "Goal" to type 'HaloSharp.Model.Enumeration+MedalType'. Path '[18].classification', line 1, position 8294.
  4. Source=Newtonsoft.Json
  5. StackTrace:
  6. at Newtonsoft.Json.Converters.StringEnumConverter.ReadJson(JsonReader reader, Type objectType, Object existingValue, JsonSerializer serializer)
  7. at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.DeserializeConvertable(JsonConverter converter, JsonReader reader, Type objectType, Object existingValue)
  8. at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonProperty property, JsonConverter propertyConverter, JsonContainerContract containerContract, JsonProperty containerProperty, JsonReader reader, Object target)
  9. at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(Object newObject, JsonReader reader, JsonObjectContract contract, JsonProperty member, String id)
  10. at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue)
  11. at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue)
  12. at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateList(IList list, JsonReader reader, JsonArrayContract contract, JsonProperty containerProperty, String id)
  13. at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateList(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, Object existingValue, String id)
  14. at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue)
  15. at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReader reader, Type objectType, Boolean checkAdditionalContent)
  16. at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReader reader, Type objectType)
  17. at Newtonsoft.Json.JsonConvert.DeserializeObject(String value, Type type, JsonSerializerSettings settings)
  18. at Newtonsoft.Json.JsonConvert.DeserializeObject[T](String value, JsonSerializerSettings settings)
  19. at HaloSharp.Extension.StringExtensions.<>c__DisplayClass0_0`1.<ParsedAsJson>b__0()
  20. at System.Threading.Tasks.Task`1.InnerInvoke()
  21. at System.Threading.Tasks.Task.Execute()
  22. --- End of stack trace from previous location where exception was thrown ---
  23. at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
  24. at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
  25. at HaloSharp.HaloSession.<Get>d__6`1.MoveNext()
  26. --- End of stack trace from previous location where exception was thrown ---
  27. at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
  28. at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
  29. at HaloSharp.Query.Metadata.GetMedals.<ApplyTo>d__3.MoveNext()
  30. --- End of stack trace from previous location where exception was thrown ---
  31. at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
  32. at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
  33. at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
  34. at SpartanCompanyActivityChecker.frmSpartanCompanyActivityChecker.<GetMedals>d__28.MoveNext() in \\mediacenter\documents\My Documents\Visual Studio 2015\Projects\SpartanCompanyActivityChecker\SpartanCompanyActivityChecker\frmSpartanCompanyActivityChecker.cs:line 921
  35. --- End of stack trace from previous location where exception was thrown ---
  36. at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
  37. at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
  38. at System.Runtime.CompilerServices.TaskAwaiter.GetResult()
  39. at SpartanCompanyActivityChecker.frmSpartanCompanyActivityChecker.<BeginMemberActivityCheck>d__23.MoveNext() in \\mediacenter\documents\My Documents\Visual Studio 2015\Projects\SpartanCompanyActivityChecker\SpartanCompanyActivityChecker\frmSpartanCompanyActivityChecker.cs:line 724
  40. InnerException:
  41. HResult=-2147024809
  42. Message=Requested value 'Goal' was not found.
  43. Source=mscorlib
  44. StackTrace:
  45. at System.Enum.EnumResult.SetFailure(ParseFailureKind failure, String failureMessageID, Object failureMessageFormatArgument)
  46. at System.Enum.TryParseEnum(Type enumType, String value, Boolean ignoreCase, EnumResult& parseResult)
  47. at System.Enum.Parse(Type enumType, String value, Boolean ignoreCase)
  48. at Newtonsoft.Json.Utilities.EnumUtils.ParseEnumName(String enumText, Boolean isNullable, Type t)
  49. at Newtonsoft.Json.Converters.StringEnumConverter.ReadJson(JsonReader reader, Type objectType, Object existingValue, JsonSerializer serializer)
  50. InnerException:
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement