Failed jobs do not become expired to allow you to re-queue them without any
time pressure. You should re-queue or delete them manually, or apply AutomaticRetry(OnAttemptsExceeded = AttemptsExceededAction.Delete)
attribute to delete them automatically.
An exception occurred during performance of the job. Fewer details...
12/7/2025 7:36:21 AM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1616.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1616.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
12/7/2025 7:10:55 AM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1992.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1992.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
12/7/2025 6:38:18 AM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1795.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1795.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
12/7/2025 6:05:25 AM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1954.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1954.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 431
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during processing of a background job. More details...
12/7/2025 5:41:04 AM
System.InvalidOperationException
A suitable constructor for type 'AG.A1.Scheduler.Billing.Contracts.IOfflineTimeCommitTo3ECommandHandler' could not be located. Ensure the type is concrete and all parameters of a public constructor are either registered as services or passed as arguments. Also ensure no extraneous arguments are provided.
System.InvalidOperationException: A suitable constructor for type 'AG.A1.Scheduler.Billing.Contracts.IOfflineTimeCommitTo3ECommandHandler' could not be located. Ensure the type is concrete and all parameters of a public constructor are either registered as services or passed as arguments. Also ensure no extraneous arguments are provided.
at Microsoft.Extensions.DependencyInjection.ActivatorUtilities.CreateInstance(IServiceProviderprovider, TypeinstanceType, Object[]parameters)
at Microsoft.Extensions.DependencyInjection.ActivatorUtilities.GetServiceOrCreateInstance(IServiceProviderprovider, Typetype)
at Hangfire.AspNetCore.AspNetCoreJobActivatorScope.Resolve(Typetype)
at Hangfire.Server.CoreBackgroundJobPerformer.Perform(PerformContextcontext)
at Hangfire.Server.BackgroundJobPerformer.<>c__DisplayClass9_0.<PerformJobWithFilters>b__0()
at Hangfire.Server.BackgroundJobPerformer.InvokePerformFilter(IServerFilterfilter, PerformingContextpreContext, Func`1continuation)
at Hangfire.Server.BackgroundJobPerformer.InvokePerformFilter(IServerFilterfilter, PerformingContextpreContext, Func`1continuation)
at Hangfire.Server.BackgroundJobPerformer.PerformJobWithFilters(PerformContextcontext, IEnumerable`1filters)
at Hangfire.Server.BackgroundJobPerformer.Perform(PerformContextcontext)
at Hangfire.Server.Worker.PerformJob(BackgroundProcessContextcontext, IStorageConnectionconnection, StringjobId)
An exception occurred during performance of the job. More details...
12/7/2025 5:09:44 AM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1696.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1696.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 431
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
12/7/2025 4:37:07 AM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1696.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1696.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
12/7/2025 4:27:05 AM
Newtonsoft.Json.JsonSerializationException
Cannot deserialize the current JSON array (e.g. [1,2,3]) into type 'AG.Integrations.RESTClients.SalesforceREST.Models.Lead' because the type requires a JSON object (e.g. {"name":"value"}) to deserialize correctly.
To fix this error either change the JSON to a JSON object (e.g. {"name":"value"}) or change the deserialized type to an array or a type that implements a collection interface (e.g. ICollection, IList) like List<T> that can be deserialized from a JSON array. JsonArrayAttribute can also be added to the type to force it to deserialize from a JSON array.
Path '', line 1, position 1.
Newtonsoft.Json.JsonSerializationException: Cannot deserialize the current JSON array (e.g. [1,2,3]) into type 'AG.Integrations.RESTClients.SalesforceREST.Models.Lead' because the type requires a JSON object (e.g. {"name":"value"}) to deserialize correctly.
To fix this error either change the JSON to a JSON object (e.g. {"name":"value"}) or change the deserialized type to an array or a type that implements a collection interface (e.g. ICollection, IList) like List<T> that can be deserialized from a JSON array. JsonArrayAttribute can also be added to the type to force it to deserialize from a JSON array.
Path '', line 1, position 1.
at AG.A1.Framework.Rest.RESTClient.HandleResponse[T](RestResponserestResponse) in C:\agent\_work\1\s\A1Solution\src-framework\AG.A1.Framework\Rest\RESTClient.cs:line 389
at AG.A1.Framework.Rest.RESTClient.ExecutePOSTAsync[T](IRESTEndpointapiEndpoint, IDictionary`2headers, IDictionary`2bodyParameters, IDictionary`2urlParameters) in C:\agent\_work\1\s\A1Solution\src-framework\AG.A1.Framework\Rest\RESTClient.cs:line 274
at AG.Integrations.RESTClients.SalesforceREST.SalesforceApiClientController.CreateLead(IDictionary`2param, SalesforceTokentoken) in C:\agent\_work\1\s\A1Solution\src-integrations\AG.Integrations.RESTClients\SalesforceREST\SalesforceApiClientController.cs:line 298
at AG.A1.Scheduler.Project.Application.Helpers.SalesforceHelper.CreateLead(Leadlead, BooleanbypassTokenValidation) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Project.Application\Helpers\SalesforceHelper.cs:line 128
at AG.A1.Scheduler.Project.Application.Features.LeadToSF.Commands.OfflineCommitLeadToSFCommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Project.Application\Features\LeadToSF\Commands\OfflineCommitLeadToSFCommandHandler.cs:line 50
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
12/7/2025 4:07:54 AM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1913.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1913.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
12/7/2025 3:37:44 AM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1913.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1913.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)