Closed S-K-Tiger closed 17 hours ago
Also of potential note: The system clock was set to UTC but Windows thought the times where UTC+2. I also removed my name in the logs.
Thank you @S-K-Tiger for reporting this - I will have a fix out soon.
@S-K-Tiger please try the latest build from: https://github.com/njthomson/SrvSurvey/releases
Let me know if it gives you grief again.
What happened?
Version
1.1.3.169
Exception message
Newtonsoft.Json.JsonSerializationException: Error getting value from 'displayName' on 'SrvSurvey.game.BioSpecies'.
Exception stack
Newtonsoft.Json.JsonSerializationException: Error getting value from 'displayName' on 'SrvSurvey.game.BioSpecies'. ---> System.NullReferenceException: Object reference not set to an instance of an object. at SrvSurvey.game.BioSpecies.get_displayName() in D:\a\SrvSurvey\SrvSurvey\SrvSurvey\game\game-types.cs:line 279 at Newtonsoft.Json.Serialization.ExpressionValueProvider.GetValue(Object target) --- End of inner exception stack trace --- at Newtonsoft.Json.Serialization.ExpressionValueProvider.GetValue(Object target) at Newtonsoft.Json.Serialization.JsonSerializerInternalWriter.CalculatePropertyValues(JsonWriter writer, Object value, JsonContainerContract contract, JsonProperty member, JsonProperty property, JsonContract& memberContract, Object& memberValue) at Newtonsoft.Json.Serialization.JsonSerializerInternalWriter.SerializeObject(JsonWriter writer, Object value, JsonObjectContract contract, JsonProperty member, JsonContainerContract collectionContract, JsonProperty containerProperty) at Newtonsoft.Json.Serialization.JsonSerializerInternalWriter.SerializeValue(JsonWriter writer, Object value, JsonContract valueContract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerProperty) at Newtonsoft.Json.Serialization.JsonSerializerInternalWriter.SerializeList(JsonWriter writer, IEnumerable values, JsonArrayContract contract, JsonProperty member, JsonContainerContract collectionContract, JsonProperty containerProperty) at Newtonsoft.Json.Serialization.JsonSerializerInternalWriter.SerializeValue(JsonWriter writer, Object value, JsonContract valueContract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerProperty) at Newtonsoft.Json.Serialization.JsonSerializerInternalWriter.SerializeObject(JsonWriter writer, Object value, JsonObjectContract contract, JsonProperty member, JsonContainerContract collectionContract, JsonProperty containerProperty) at Newtonsoft.Json.Serialization.JsonSerializerInternalWriter.SerializeValue(JsonWriter writer, Object value, JsonContract valueContract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerProperty) at Newtonsoft.Json.Serialization.JsonSerializerInternalWriter.SerializeList(JsonWriter writer, IEnumerable values, JsonArrayContract contract, JsonProperty member, JsonContainerContract collectionContract, JsonProperty containerProperty) at Newtonsoft.Json.Serialization.JsonSerializerInternalWriter.SerializeValue(JsonWriter writer, Object value, JsonContract valueContract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerProperty) at Newtonsoft.Json.Serialization.JsonSerializerInternalWriter.Serialize(JsonWriter jsonWriter, Object value, Type objectType) at Newtonsoft.Json.JsonSerializer.SerializeInternal(JsonWriter jsonWriter, Object value, Type objectType) at Newtonsoft.Json.JsonSerializer.Serialize(JsonWriter jsonWriter, Object value, Type objectType) at Newtonsoft.Json.JsonConvert.SerializeObjectInternal(Object value, Type type, JsonSerializer jsonSerializer) at Newtonsoft.Json.JsonConvert.SerializeObject(Object value, Type type, Formatting formatting, JsonSerializerSettings settings) at Newtonsoft.Json.JsonConvert.SerializeObject(Object value, Formatting formatting, JsonSerializerSettings settings) at Newtonsoft.Json.JsonConvert.SerializeObject(Object value, Formatting formatting) at SrvSurvey.canonn.CodexRef.prepBioRef(Dictionary`2 codexRef, Boolean reset) in D:\a\SrvSurvey\SrvSurvey\SrvSurvey\net\CodexRef.cs:line 175 at SrvSurvey.canonn.CodexRef.init(Boolean reset) in D:\a\SrvSurvey\SrvSurvey\SrvSurvey\net\CodexRef.cs:line 35 at SrvSurvey.Main.b__11_2() in D:\a\SrvSurvey\SrvSurvey\SrvSurvey\Main.cs:line 243
Relevant log output