#62081
An exception occurred during performance of the job.
Fewer details...
08/26/2025 04:10:12
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int64'. Path 'response[0].periods[15].windDirMaxDEG', line 1, position 33596.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int64'. Path 'response[0].periods[15].windDirMaxDEG', line 1, position 33596. ---> 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 .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 .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 .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 )
#62052
An exception occurred during performance of the job.
More details...
08/26/2025 03:10:11
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int64'. Path 'response[0].periods[16].windDirMaxDEG', line 1, position 35720.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int64'. Path 'response[0].periods[16].windDirMaxDEG', line 1, position 35720. ---> 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 .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 .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 .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 )
#62028
An exception occurred during performance of the job.
More details...
08/26/2025 02:10:08
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int64'. Path 'response[0].periods[17].windDirMaxDEG', line 1, position 37866.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int64'. Path 'response[0].periods[17].windDirMaxDEG', line 1, position 37866. ---> 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 .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 .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 .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 )
#62004
An exception occurred during performance of the job.
More details...
08/26/2025 01:10:07
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int64'. Path 'response[0].periods[18].windDirMaxDEG', line 1, position 40017.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int64'. Path 'response[0].periods[18].windDirMaxDEG', line 1, position 40017. ---> 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 .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 .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 .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 )
#61973
An exception occurred during performance of the job.
More details...
08/26/2025 00:10:05
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int64'. Path 'response[0].periods[19].windDirMaxDEG', line 1, position 42157.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int64'. Path 'response[0].periods[19].windDirMaxDEG', line 1, position 42157. ---> 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 .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 .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 .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 )
#61948
An exception occurred during performance of the job.
More details...
08/25/2025 23:10:05
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int64'. Path 'response[0].periods[20].windDirMaxDEG', line 1, position 44303.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int64'. Path 'response[0].periods[20].windDirMaxDEG', line 1, position 44303. ---> 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 .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 .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 .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 )
#61924
An exception occurred during performance of the job.
More details...
08/25/2025 22:10:02
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int64'. Path 'response[0].periods[22].windDirMaxDEG', line 1, position 48682.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int64'. Path 'response[0].periods[22].windDirMaxDEG', line 1, position 48682. ---> 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 .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 .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 .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 )
#61895
An exception occurred during performance of the job.
More details...
08/25/2025 21:10:14
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int64'. Path 'response[0].periods[0].windDirMaxDEG', line 1, position 1122.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int64'. Path 'response[0].periods[0].windDirMaxDEG', line 1, position 1122. ---> 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 .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 .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 .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 )
#61871
An exception occurred during performance of the job.
More details...
08/25/2025 20:10:14
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int64'. Path 'response[0].periods[1].windDirMaxDEG', line 1, position 3270.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int64'. Path 'response[0].periods[1].windDirMaxDEG', line 1, position 3270. ---> 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 .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 .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 .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 )
#61847
An exception occurred during performance of the job.
More details...
08/25/2025 19:10:12
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int64'. Path 'response[0].periods[2].windDirMaxDEG', line 1, position 5405.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int64'. Path 'response[0].periods[2].windDirMaxDEG', line 1, position 5405. ---> 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 .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 .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 .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 )