--------------------------------------------------------------- Log Entry : 6/20/2024 7:42:46 AM - ------------------------------------------------------------- RayController Method:PostAttendance {"iProject":"4407","iEmployee":"2602","sDate":"2024-06-05","sTime":"13:11:49","sPhoto":"2602_05062024131149_1.jpg","sDeviceId":"b135463d477e6f63","sLocation":"11.8855901 75.4940052","iType":"1","iSupervisor":"189","sSite":"abc","iUser":"1080"} --------------------------------------------------------------- Log Entry : 6/20/2024 2:05:55 PM - ------------------------------------------------------------- RayController Method:PostIncident {"iTransId":0,"Project":1,"Location":"ha","Date":"28 06 2024","Time":"","IncidentType":1,"Severity_Rate":1,"Potential_Rate":1,"Others":"oth1","IncidentDescription":"","DamageDescription":"","No_Injured_Person":"","DetailsOfPersons":"","ImmediateCauses":"imm1","UnderlyingCauses":"undcau","UserId":1,"Images":""} --------------------------------------------------------------- Log Entry : 6/20/2024 2:05:55 PM - ------------------------------------------------------------- RayController Method:Ray Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'No_Injured_Person', line 1, position 212. ---> System.InvalidCastException: Null object cannot be converted to a value type. at System.Convert.ChangeType(Object value, Type conversionType, IFormatProvider provider) at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReader reader, Object value, CultureInfo culture, JsonContract contract, Type targetType) --- End of inner exception stack trace --- at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReader reader, Object value, CultureInfo culture, JsonContract contract, Type targetType) 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.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 Sang.Ray.Mob.Api.Controllers.RayController.PostIncident() --------------------------------------------------------------- Log Entry : 6/20/2024 2:05:57 PM - ------------------------------------------------------------- RayController Method:PostIncident {"iTransId":0,"Project":1,"Location":"ha","Date":"28 06 2024","Time":"","IncidentType":1,"Severity_Rate":1,"Potential_Rate":1,"Others":"oth1","IncidentDescription":"","DamageDescription":"","No_Injured_Person":"","DetailsOfPersons":"","ImmediateCauses":"imm1","UnderlyingCauses":"undcau","UserId":1,"Images":""} --------------------------------------------------------------- Log Entry : 6/20/2024 2:05:57 PM - ------------------------------------------------------------- RayController Method:Ray Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'No_Injured_Person', line 1, position 212. ---> System.InvalidCastException: Null object cannot be converted to a value type. at System.Convert.ChangeType(Object value, Type conversionType, IFormatProvider provider) at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReader reader, Object value, CultureInfo culture, JsonContract contract, Type targetType) --- End of inner exception stack trace --- at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReader reader, Object value, CultureInfo culture, JsonContract contract, Type targetType) 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.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 Sang.Ray.Mob.Api.Controllers.RayController.PostIncident() --------------------------------------------------------------- Log Entry : 6/20/2024 2:05:58 PM - ------------------------------------------------------------- RayController Method:PostIncident {"iTransId":0,"Project":1,"Location":"ha","Date":"28 06 2024","Time":"","IncidentType":1,"Severity_Rate":1,"Potential_Rate":1,"Others":"oth1","IncidentDescription":"","DamageDescription":"","No_Injured_Person":"","DetailsOfPersons":"","ImmediateCauses":"imm1","UnderlyingCauses":"undcau","UserId":1,"Images":""} --------------------------------------------------------------- Log Entry : 6/20/2024 2:05:58 PM - ------------------------------------------------------------- RayController Method:Ray Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'No_Injured_Person', line 1, position 212. ---> System.InvalidCastException: Null object cannot be converted to a value type. at System.Convert.ChangeType(Object value, Type conversionType, IFormatProvider provider) at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReader reader, Object value, CultureInfo culture, JsonContract contract, Type targetType) --- End of inner exception stack trace --- at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReader reader, Object value, CultureInfo culture, JsonContract contract, Type targetType) 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.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 Sang.Ray.Mob.Api.Controllers.RayController.PostIncident() --------------------------------------------------------------- Log Entry : 6/20/2024 2:05:58 PM - ------------------------------------------------------------- RayController Method:PostIncident {"iTransId":0,"Project":1,"Location":"ha","Date":"28 06 2024","Time":"","IncidentType":1,"Severity_Rate":1,"Potential_Rate":1,"Others":"oth1","IncidentDescription":"","DamageDescription":"","No_Injured_Person":"","DetailsOfPersons":"","ImmediateCauses":"imm1","UnderlyingCauses":"undcau","UserId":1,"Images":""} --------------------------------------------------------------- Log Entry : 6/20/2024 2:05:58 PM - ------------------------------------------------------------- RayController Method:Ray Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'No_Injured_Person', line 1, position 212. ---> System.InvalidCastException: Null object cannot be converted to a value type. at System.Convert.ChangeType(Object value, Type conversionType, IFormatProvider provider) at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReader reader, Object value, CultureInfo culture, JsonContract contract, Type targetType) --- End of inner exception stack trace --- at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReader reader, Object value, CultureInfo culture, JsonContract contract, Type targetType) 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.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 Sang.Ray.Mob.Api.Controllers.RayController.PostIncident()