Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Newtonsoft.Json.JsonSerializationException was unhandled by user code
- HResult=-2146233088
- Message=Error converting value "Goal" to type 'HaloSharp.Model.Enumeration+MedalType'. Path '[18].classification', line 1, position 8294.
- Source=Newtonsoft.Json
- StackTrace:
- at Newtonsoft.Json.Converters.StringEnumConverter.ReadJson(JsonReader reader, Type objectType, Object existingValue, JsonSerializer serializer)
- at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.DeserializeConvertable(JsonConverter converter, JsonReader reader, Type objectType, Object existingValue)
- at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonProperty property, JsonConverter propertyConverter, JsonContainerContract containerContract, JsonProperty containerProperty, JsonReader reader, Object target)
- at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(Object newObject, JsonReader reader, JsonObjectContract contract, JsonProperty member, String id)
- at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue)
- at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue)
- at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateList(IList list, JsonReader reader, JsonArrayContract contract, JsonProperty containerProperty, String id)
- at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateList(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, Object existingValue, String id)
- at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue)
- at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReader reader, Type objectType, Boolean checkAdditionalContent)
- at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReader reader, Type objectType)
- at Newtonsoft.Json.JsonConvert.DeserializeObject(String value, Type type, JsonSerializerSettings settings)
- at Newtonsoft.Json.JsonConvert.DeserializeObject[T](String value, JsonSerializerSettings settings)
- at HaloSharp.Extension.StringExtensions.<>c__DisplayClass0_0`1.<ParsedAsJson>b__0()
- at System.Threading.Tasks.Task`1.InnerInvoke()
- at System.Threading.Tasks.Task.Execute()
- --- End of stack trace from previous location where exception was thrown ---
- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
- at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
- at HaloSharp.HaloSession.<Get>d__6`1.MoveNext()
- --- End of stack trace from previous location where exception was thrown ---
- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
- at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
- at HaloSharp.Query.Metadata.GetMedals.<ApplyTo>d__3.MoveNext()
- --- End of stack trace from previous location where exception was thrown ---
- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
- at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
- at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
- at SpartanCompanyActivityChecker.frmSpartanCompanyActivityChecker.<GetMedals>d__28.MoveNext() in \\mediacenter\documents\My Documents\Visual Studio 2015\Projects\SpartanCompanyActivityChecker\SpartanCompanyActivityChecker\frmSpartanCompanyActivityChecker.cs:line 921
- --- End of stack trace from previous location where exception was thrown ---
- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
- at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
- at System.Runtime.CompilerServices.TaskAwaiter.GetResult()
- at SpartanCompanyActivityChecker.frmSpartanCompanyActivityChecker.<BeginMemberActivityCheck>d__23.MoveNext() in \\mediacenter\documents\My Documents\Visual Studio 2015\Projects\SpartanCompanyActivityChecker\SpartanCompanyActivityChecker\frmSpartanCompanyActivityChecker.cs:line 724
- InnerException:
- HResult=-2147024809
- Message=Requested value 'Goal' was not found.
- Source=mscorlib
- StackTrace:
- at System.Enum.EnumResult.SetFailure(ParseFailureKind failure, String failureMessageID, Object failureMessageFormatArgument)
- at System.Enum.TryParseEnum(Type enumType, String value, Boolean ignoreCase, EnumResult& parseResult)
- at System.Enum.Parse(Type enumType, String value, Boolean ignoreCase)
- at Newtonsoft.Json.Utilities.EnumUtils.ParseEnumName(String enumText, Boolean isNullable, Type t)
- at Newtonsoft.Json.Converters.StringEnumConverter.ReadJson(JsonReader reader, Type objectType, Object existingValue, JsonSerializer serializer)
- InnerException:
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement