#63067
An exception occurred during performance of the job.
Fewer 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 )
#62986
An exception occurred during performance of the job.
More details...
08/27/2025 14:10:17
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int64'. Path 'response[0].periods[3].windDirMaxDEG', line 1, position 7639.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int64'. Path 'response[0].periods[3].windDirMaxDEG', line 1, position 7639. ---> 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 )
#62960
An exception occurred during performance of the job.
More details...
08/27/2025 13:10:13
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int64'. Path 'response[0].periods[4].windDirMaxDEG', line 1, position 9822.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int64'. Path 'response[0].periods[4].windDirMaxDEG', line 1, position 9822. ---> 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 )
#62929
An exception occurred during performance of the job.
More details...
08/27/2025 12:10:24
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int64'. Path 'response[0].periods[5].windDirMaxDEG', line 1, position 12004.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int64'. Path 'response[0].periods[5].windDirMaxDEG', line 1, position 12004. ---> 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 )
#62925
An exception occurred during performance of the job.
More details...
08/27/2025 12:00:41
System.Net.Http.HttpRequestException
Response status code does not indicate success: 500 (Internal Server Error).
System.Net.Http.HttpRequestException: Response status code does not indicate success: 500 (Internal Server Error).
at System.Net.Http.HttpResponseMessage .EnsureSuccessStatusCode ()
at System.Net.Http.HttpClient .GetStringAsyncCore (HttpRequestMessage request , CancellationToken cancellationToken )
at EnergyDataHub.Data.Services.FinalComputationClient .GetFinalComputation (DateTime from , Nullable`1 to , Int32 skip , Int32 take , FinalComputationFilter filters )
at EnergyDataHub.Data.Hangfire.Jobs.JaoSyncJob .GetHourlyData (DateTime start )
at EnergyDataHub.Data.Hangfire.Jobs.JaoSyncJob .Run ()
at InvokeStub_TaskAwaiter .GetResult (Object, Object, IntPtr* )
at System.Reflection.MethodBaseInvoker .InvokeWithNoArgs (Object obj , BindingFlags invokeAttr )
#62903
An exception occurred during performance of the job.
More details...
08/27/2025 11:10:22
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int64'. Path 'response[0].periods[6].windDirMaxDEG', line 1, position 14126.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int64'. Path 'response[0].periods[6].windDirMaxDEG', line 1, position 14126. ---> 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 )
#62878
An exception occurred during performance of the job.
More details...
08/27/2025 10:10:19
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int64'. Path 'response[0].periods[7].windDirMaxDEG', line 1, position 16293.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int64'. Path 'response[0].periods[7].windDirMaxDEG', line 1, position 16293. ---> 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 )
#62847
An exception occurred during performance of the job.
More details...
08/27/2025 09:10:17
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int64'. Path 'response[0].periods[8].windDirMaxDEG', line 1, position 18488.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int64'. Path 'response[0].periods[8].windDirMaxDEG', line 1, position 18488. ---> 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 )
#62822
An exception occurred during performance of the job.
More details...
08/27/2025 08:10:17
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int64'. Path 'response[0].periods[9].windDirMaxDEG', line 1, position 20671.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int64'. Path 'response[0].periods[9].windDirMaxDEG', line 1, position 20671. ---> 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 )
#62796
An exception occurred during performance of the job.
More details...
08/27/2025 07:10:25
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int64'. Path 'response[0].periods[10].windDirMaxDEG', line 1, position 22850.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int64'. Path 'response[0].periods[10].windDirMaxDEG', line 1, position 22850. ---> 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 )
#62766
An exception occurred during performance of the job.
More details...
08/27/2025 06:10:24
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int64'. Path 'response[0].periods[0].windDirMaxDEG', line 1, position 1125.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int64'. Path 'response[0].periods[0].windDirMaxDEG', line 1, position 1125. ---> 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 )
#62741
An exception occurred during performance of the job.
More details...
08/27/2025 05:10:21
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int64'. Path 'response[0].periods[1].windDirMaxDEG', line 1, position 3271.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int64'. Path 'response[0].periods[1].windDirMaxDEG', line 1, position 3271. ---> 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 )
#62716
An exception occurred during performance of the job.
More details...
08/27/2025 04:10:18
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int64'. Path 'response[0].periods[2].windDirMaxDEG', line 1, position 5437.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int64'. Path 'response[0].periods[2].windDirMaxDEG', line 1, position 5437. ---> 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 )
#62686
An exception occurred during performance of the job.
More details...
08/27/2025 03:10:16
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int64'. Path 'response[0].periods[3].windDirMaxDEG', line 1, position 7563.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int64'. Path 'response[0].periods[3].windDirMaxDEG', line 1, position 7563. ---> 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 )
#62661
An exception occurred during performance of the job.
More details...
08/27/2025 02:10:15
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int64'. Path 'response[0].periods[4].windDirMaxDEG', line 1, position 9689.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int64'. Path 'response[0].periods[4].windDirMaxDEG', line 1, position 9689. ---> 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 )
#62636
An exception occurred during performance of the job.
More details...
08/27/2025 01:10:26
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int64'. Path 'response[0].periods[5].windDirMaxDEG', line 1, position 11802.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int64'. Path 'response[0].periods[5].windDirMaxDEG', line 1, position 11802. ---> 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 )
#62604
An exception occurred during performance of the job.
More details...
08/27/2025 00:10:25
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int64'. Path 'response[0].periods[6].windDirMaxDEG', line 1, position 13922.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int64'. Path 'response[0].periods[6].windDirMaxDEG', line 1, position 13922. ---> 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 )