#63235
An exception occurred during performance of the job.
Fewer details...
08/27/2025 23:12:36
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int64'. Path 'response[0].periods[0].windSpeedMaxKTS', line 1, position 1147.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int64'. Path 'response[0].periods[0].windSpeedMaxKTS', line 1, position 1147. ---> 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 .CreateValueInternal (JsonReader reader , Type objectType , JsonContract contract , JsonProperty member , JsonContainerContract containerContract , JsonProperty containerMember , 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 .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 .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 .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 EnergyDataHub.Data.Services.XWeatherClient .FetchData (NameValueCollection queryParams , String path )
at EnergyDataHub.Data.Services.XWeatherClient .GetWeatherForcasts (Double latitude , Double longitude , Nullable`1 start , XWeatherInterval inteval , Int32 periodCount )
at EnergyDataHub.Data.Hangfire.Jobs.XWeatherSyncJob .SyncLocationWeatherData (Location location , DataSource dataSource , DateTime taskStartHour )
at EnergyDataHub.Data.Hangfire.Jobs.XWeatherSyncJob .Run ()
at InvokeStub_TaskAwaiter .GetResult (Object, Object, IntPtr* )
at System.Reflection.MethodBaseInvoker .InvokeWithNoArgs (Object obj , BindingFlags invokeAttr )
#63207
An exception occurred during performance of the job.
More details...
08/27/2025 22:12:35
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int64'. Path 'response[0].periods[0].windSpeedMaxKTS', line 1, position 1148.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int64'. Path 'response[0].periods[0].windSpeedMaxKTS', line 1, position 1148. ---> 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 .CreateValueInternal (JsonReader reader , Type objectType , JsonContract contract , JsonProperty member , JsonContainerContract containerContract , JsonProperty containerMember , 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 .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 .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 .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 EnergyDataHub.Data.Services.XWeatherClient .FetchData (NameValueCollection queryParams , String path )
at EnergyDataHub.Data.Services.XWeatherClient .GetWeatherForcasts (Double latitude , Double longitude , Nullable`1 start , XWeatherInterval inteval , Int32 periodCount )
at EnergyDataHub.Data.Hangfire.Jobs.XWeatherSyncJob .SyncLocationWeatherData (Location location , DataSource dataSource , DateTime taskStartHour )
at EnergyDataHub.Data.Hangfire.Jobs.XWeatherSyncJob .Run ()
at InvokeStub_TaskAwaiter .GetResult (Object, Object, IntPtr* )
at System.Reflection.MethodBaseInvoker .InvokeWithNoArgs (Object obj , BindingFlags invokeAttr )
#63174
An exception occurred during performance of the job.
More details...
08/27/2025 21:12:56
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int64'. Path 'response[0].periods[0].windSpeedMaxKTS', line 1, position 1146.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int64'. Path 'response[0].periods[0].windSpeedMaxKTS', line 1, position 1146. ---> 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 .CreateValueInternal (JsonReader reader , Type objectType , JsonContract contract , JsonProperty member , JsonContainerContract containerContract , JsonProperty containerMember , 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 .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 .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 .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 EnergyDataHub.Data.Services.XWeatherClient .FetchData (NameValueCollection queryParams , String path )
at EnergyDataHub.Data.Services.XWeatherClient .GetWeatherForcasts (Double latitude , Double longitude , Nullable`1 start , XWeatherInterval inteval , Int32 periodCount )
at EnergyDataHub.Data.Hangfire.Jobs.XWeatherSyncJob .SyncLocationWeatherData (Location location , DataSource dataSource , DateTime taskStartHour )
at EnergyDataHub.Data.Hangfire.Jobs.XWeatherSyncJob .Run ()
at InvokeStub_TaskAwaiter .GetResult (Object, Object, IntPtr* )
at System.Reflection.MethodBaseInvoker .InvokeWithNoArgs (Object obj , BindingFlags invokeAttr )
#63150
An exception occurred during performance of the job.
More details...
08/27/2025 20:10:12
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Double'. Path 'response[0].periods[0].precipIN', line 1, position 619.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Double'. Path 'response[0].periods[0].precipIN', line 1, position 619. ---> 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 .CreateValueInternal (JsonReader reader , Type objectType , JsonContract contract , JsonProperty member , JsonContainerContract containerContract , JsonProperty containerMember , 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 .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 .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 .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 EnergyDataHub.Data.Services.XWeatherClient .FetchData (NameValueCollection queryParams , String path )
at EnergyDataHub.Data.Services.XWeatherClient .GetWeatherConditions (Double latitude , Double longitude )
at EnergyDataHub.Data.Hangfire.Jobs.XWeatherSyncJob .SyncLocationWeatherData (Location location , DataSource dataSource , DateTime taskStartHour )
at EnergyDataHub.Data.Hangfire.Jobs.XWeatherSyncJob .Run ()
at InvokeStub_TaskAwaiter .GetResult (Object, Object, IntPtr* )
at System.Reflection.MethodBaseInvoker .InvokeWithNoArgs (Object obj , BindingFlags invokeAttr )
#63122
An exception occurred during performance of the job.
More details...
08/27/2025 19:12:59
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int64'. Path 'response[0].periods[0].windSpeedMaxKTS', line 1, position 1140.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int64'. Path 'response[0].periods[0].windSpeedMaxKTS', line 1, position 1140. ---> 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 .CreateValueInternal (JsonReader reader , Type objectType , JsonContract contract , JsonProperty member , JsonContainerContract containerContract , JsonProperty containerMember , 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 .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 .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 .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 EnergyDataHub.Data.Services.XWeatherClient .FetchData (NameValueCollection queryParams , String path )
at EnergyDataHub.Data.Services.XWeatherClient .GetWeatherForcasts (Double latitude , Double longitude , Nullable`1 start , XWeatherInterval inteval , Int32 periodCount )
at EnergyDataHub.Data.Hangfire.Jobs.XWeatherSyncJob .SyncLocationWeatherData (Location location , DataSource dataSource , DateTime taskStartHour )
at EnergyDataHub.Data.Hangfire.Jobs.XWeatherSyncJob .Run ()
at InvokeStub_TaskAwaiter .GetResult (Object, Object, IntPtr* )
at System.Reflection.MethodBaseInvoker .InvokeWithNoArgs (Object obj , BindingFlags invokeAttr )
#63091
An exception occurred during performance of the job.
More details...
08/27/2025 18:10:19
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int64'. Path 'response[0].periods[0].windSpeedMaxKTS', line 1, position 1130.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int64'. Path 'response[0].periods[0].windSpeedMaxKTS', line 1, position 1130. ---> 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 .CreateValueInternal (JsonReader reader , Type objectType , JsonContract contract , JsonProperty member , JsonContainerContract containerContract , JsonProperty containerMember , 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 .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 .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 .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 EnergyDataHub.Data.Services.XWeatherClient .FetchData (NameValueCollection queryParams , String path )
at EnergyDataHub.Data.Services.XWeatherClient .GetWeatherForcasts (Double latitude , Double longitude , Nullable`1 start , XWeatherInterval inteval , Int32 periodCount )
at EnergyDataHub.Data.Hangfire.Jobs.XWeatherSyncJob .SyncLocationWeatherData (Location location , DataSource dataSource , DateTime taskStartHour )
at EnergyDataHub.Data.Hangfire.Jobs.XWeatherSyncJob .Run ()
at InvokeStub_TaskAwaiter .GetResult (Object, Object, IntPtr* )
at System.Reflection.MethodBaseInvoker .InvokeWithNoArgs (Object obj , BindingFlags invokeAttr )
#63067
An exception occurred during performance of the job.
More details...
08/27/2025 17:10:29
System.Exception
Forecast script failed with exit code 1
System.Exception: Forecast script failed with exit code 1
at EnergyDataHub.Data.Services.ProductionForecastService .RunForecastScript (ForecastLocationSettings forecastSettings , String predictorsPath )
at EnergyDataHub.Data.Services.ProductionForecastService .Forecast (Location location , IPredictionInput weatherForecastDto , ForecastLocationSettings forecastSettings , IProductionForecastStorageService storageService )
at EnergyDataHub.Data.Services.ProductionForecastService .ForecastGeneration (Location location , XWeatherResponse weatherForecastDto , ForecastLocationSettings forecastSettings )
at InvokeStub_TaskAwaiter .GetResult (Object, Object, IntPtr* )
at System.Reflection.MethodBaseInvoker .InvokeWithNoArgs (Object obj , BindingFlags invokeAttr )
#63065
An exception occurred during performance of the job.
More details...
08/27/2025 17:10:19
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int64'. Path 'response[0].periods[1].windSpeedMaxKTS', line 1, position 3264.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int64'. Path 'response[0].periods[1].windSpeedMaxKTS', line 1, position 3264. ---> 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 .CreateValueInternal (JsonReader reader , Type objectType , JsonContract contract , JsonProperty member , JsonContainerContract containerContract , JsonProperty containerMember , 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 .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 .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 .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 EnergyDataHub.Data.Services.XWeatherClient .FetchData (NameValueCollection queryParams , String path )
at EnergyDataHub.Data.Services.XWeatherClient .GetWeatherForcasts (Double latitude , Double longitude , Nullable`1 start , XWeatherInterval inteval , Int32 periodCount )
at EnergyDataHub.Data.Hangfire.Jobs.XWeatherSyncJob .SyncLocationWeatherData (Location location , DataSource dataSource , DateTime taskStartHour )
at EnergyDataHub.Data.Hangfire.Jobs.XWeatherSyncJob .Run ()
at InvokeStub_TaskAwaiter .GetResult (Object, Object, IntPtr* )
at System.Reflection.MethodBaseInvoker .InvokeWithNoArgs (Object obj , BindingFlags invokeAttr )
#63041
An exception occurred during performance of the job.
More details...
08/27/2025 16:10:03
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Double'. Path 'response[0].periods[0].precipIN', line 1, position 620.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Double'. Path 'response[0].periods[0].precipIN', line 1, position 620. ---> 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 .CreateValueInternal (JsonReader reader , Type objectType , JsonContract contract , JsonProperty member , JsonContainerContract containerContract , JsonProperty containerMember , 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 .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 .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 .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 Newtonsoft.Json.JsonConvert .DeserializeObject[T] (String value )
at EnergyDataHub.Data.Services.XWeatherClient .FetchData (NameValueCollection queryParams , String path )
at EnergyDataHub.Data.Services.XWeatherClient .GetWeatherConditions (Double latitude , Double longitude )
at EnergyDataHub.Data.Hangfire.Jobs.XWeatherSyncJob .SyncLocationWeatherData (Location location , DataSource dataSource , DateTime taskStartHour )
at EnergyDataHub.Data.Hangfire.Jobs.XWeatherSyncJob .Run ()
at InvokeStub_TaskAwaiter .GetResult (Object, Object, IntPtr* )
at System.Reflection.MethodBaseInvoker .InvokeWithNoArgs (Object obj , BindingFlags invokeAttr )
#63011
An exception occurred during performance of the job.
More details...
08/27/2025 15:10:27
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int64'. Path 'response[0].periods[2].windSpeedMaxKTS', line 1, position 5480.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int64'. Path 'response[0].periods[2].windSpeedMaxKTS', line 1, position 5480. ---> 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 .CreateValueInternal (JsonReader reader , Type objectType , JsonContract contract , JsonProperty member , JsonContainerContract containerContract , JsonProperty containerMember , 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 .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 .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 .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 Newtonsoft.Json.JsonConvert .DeserializeObject[T] (String value )
at EnergyDataHub.Data.Services.XWeatherClient .FetchData (NameValueCollection queryParams , String path )
at EnergyDataHub.Data.Services.XWeatherClient .GetWeatherForcasts (Double latitude , Double longitude , Nullable`1 start , XWeatherInterval inteval , Int32 periodCount )
at EnergyDataHub.Data.Hangfire.Jobs.XWeatherSyncJob .SyncLocationWeatherData (Location location , DataSource dataSource , DateTime taskStartHour )
at EnergyDataHub.Data.Hangfire.Jobs.XWeatherSyncJob .Run ()
at InvokeStub_TaskAwaiter .GetResult (Object, Object, IntPtr* )
at System.Reflection.MethodBaseInvoker .InvokeWithNoArgs (Object obj , BindingFlags invokeAttr )