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...
11/30/2025 1:09:11 PM
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...
11/30/2025 12:37:18 PM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1695.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1695.
---> 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...
11/30/2025 12:34:51 PM
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...
11/30/2025 12:08:45 PM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1738.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1738.
---> 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...
11/30/2025 11:39:18 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...
11/30/2025 11:05:58 AM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1991.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1991.
---> 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...
11/30/2025 10:38:14 AM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1912.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1912.
---> 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...
11/30/2025 10:10:45 AM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1876.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1876.
---> 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...
11/30/2025 9:34:59 AM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1816.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1816.
---> 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...
11/30/2025 9:08:47 AM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1912.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1912.
---> 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 processing of a background job. More details...
11/30/2025 8:39:42 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 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...
11/30/2025 8:32:11 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...
11/30/2025 8:05:15 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...
11/30/2025 7:35:54 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 processing of a background job. More details...
11/30/2025 7:03:51 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 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...
11/30/2025 6:41:26 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 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...
11/30/2025 6:11:02 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...
11/30/2025 5:34:33 AM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1912.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1912.
---> 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...
11/29/2025 1:36:53 PM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1782.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1782.
---> 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...
11/29/2025 2:10:01 PM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1854.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1854.
---> 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...
11/29/2025 2:31:43 PM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1993.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1993.
---> 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...
11/29/2025 3:09:46 PM
System.NullReferenceException
Object reference not set to an instance of an object.
System.NullReferenceException: Object reference not set to an instance of an object.
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.SendBulkTimeEntriesTo3E(IEnumerable`1timeEntries, PerformContextperformContext) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 345
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 70
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/29/2025 3:40:02 PM
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...
11/29/2025 4:05:26 PM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1695.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1695.
---> 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 processing of a background job. More details...
11/29/2025 4:35:57 PM
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 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...
11/29/2025 4:30:06 PM
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 processing of a background job. More details...
11/29/2025 5:07:31 PM
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 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...
11/29/2025 5:39:37 PM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1695.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1695.
---> 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...
11/29/2025 6:05:48 PM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1695.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1695.
---> 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...
11/29/2025 6:38:34 PM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1914.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1914.
---> 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...
11/29/2025 7:05:34 PM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1738.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1738.
---> 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 processing of a background job. More details...
11/29/2025 7:35:59 PM
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 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...
11/29/2025 8:09:38 PM
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...
11/29/2025 8:28:22 PM
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...
11/29/2025 8:36:09 PM
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...
11/29/2025 9:07:40 PM
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...
11/29/2025 9:37:06 PM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1854.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1854.
---> 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...
11/29/2025 10:08:38 PM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1702.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1702.
---> 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...
11/29/2025 10:38:08 PM
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...
11/29/2025 11:11:44 PM
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...
11/29/2025 11:40:02 PM
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...
11/30/2025 12:11:30 AM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 2042.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 2042.
---> 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...
11/30/2025 12:40:02 AM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1912.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1912.
---> 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...
11/30/2025 12:32:02 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 processing of a background job. More details...
11/30/2025 1:04:38 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 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...
11/30/2025 1:42:31 AM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1695.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1695.
---> 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...
11/30/2025 2:10:24 AM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1875.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1875.
---> 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...
11/30/2025 2:41:14 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...
11/30/2025 3:05:32 AM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 2042.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 2042.
---> 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...
11/30/2025 3:40:48 AM
System.NullReferenceException
Object reference not set to an instance of an object.
System.NullReferenceException: Object reference not set to an instance of an object.
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.SendBulkTimeEntriesTo3E(IEnumerable`1timeEntries, PerformContextperformContext) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 345
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 70
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/30/2025 4:09: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...
11/30/2025 4:44:10 AM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1876.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1876.
---> 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...
11/30/2025 4:32:08 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...
11/30/2025 5:04:50 AM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1695.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1695.
---> 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...
11/28/2025 5:38:52 PM
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 processing of a background job. More details...
11/28/2025 6:12:25 PM
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 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...
11/28/2025 6:49:22 PM
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...
11/28/2025 7:12:57 PM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1695.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1695.
---> 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/1/2025 10:08:30 AM
System.Net.Http.HttpRequestException
Request failed with status code BadRequest
System.Net.Http.HttpRequestException: Request failed with status code BadRequest
at AG.A1.Framework.Rest.RESTClient.HandleResponse[T](RestResponserestResponse) in C:\Users\MInnamuri\Documents\Projects\Aone\A1Solution\src-framework\AG.A1.Framework\Rest\RESTClient.cs:line 392
at AG.A1.Framework.Rest.RESTClient.ExecutePOSTAsync[T](IRESTEndpointapiEndpoint, IDictionary`2headers, IDictionary`2bodyParameters, IDictionary`2urlParameters, Nullable`1requestDataFormat, Nullable`1responseDataFormat) in C:\Users\MInnamuri\Documents\Projects\Aone\A1Solution\src-framework\AG.A1.Framework\Rest\RESTClient.cs:line 281
at AG.Integrations.RESTClients.SalesforceREST.SalesforceApiClientController.GetToken() in C:\Users\MInnamuri\Documents\Projects\Aone\A1Solution\src-integrations\AG.Integrations.RESTClients\SalesforceREST\SalesforceApiClientController.cs:line 41
at AG.A1.Scheduler.Project.Application.Helpers.SalesforceHelper.CreateLead(Leadlead, BooleanbypassTokenValidation) in C:\Users\MInnamuri\Documents\Projects\Aone\A1Solution\src-schedulers\AG.A1.Scheduler.Project.Application\Helpers\SalesforceHelper.cs:line 72
at AG.A1.Scheduler.Project.Application.Features.LeadToSF.Commands.OfflineCommitLeadToSFCommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\Users\MInnamuri\Documents\Projects\Aone\A1Solution\src-schedulers\AG.A1.Scheduler.Project.Application\Features\LeadToSF\Commands\OfflineCommitLeadToSFCommandHandler.cs:line 50
at System.Runtime.CompilerServices.TaskAwaiter.GetResult()
An exception occurred during performance of the job. More details...
11/28/2025 7:39:04 PM
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...
11/28/2025 8:05:58 PM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1695.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1695.
---> 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...
11/28/2025 8:39:30 PM
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...
11/28/2025 8:32:13 PM
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...
11/28/2025 9:07:58 PM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1738.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1738.
---> 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...
11/28/2025 9:38:08 PM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1817.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1817.
---> 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...
11/28/2025 10:05:55 PM
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 processing of a background job. More details...
11/28/2025 10:31:08 PM
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 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...
11/28/2025 11:07:35 PM
System.NullReferenceException
Object reference not set to an instance of an object.
System.NullReferenceException: Object reference not set to an instance of an object.
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.SendBulkTimeEntriesTo3E(IEnumerable`1timeEntries, PerformContextperformContext) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 345
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 70
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during processing of a background job. More details...
11/28/2025 11:39:58 PM
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 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...
11/29/2025 12:07:30 AM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1781.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1781.
---> 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...
11/29/2025 12:34:13 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...
11/29/2025 12:38:40 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...
11/29/2025 1:08:58 AM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1695.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1695.
---> 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...
11/29/2025 1:34:27 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...
11/29/2025 2:07:21 AM
System.NullReferenceException
Object reference not set to an instance of an object.
System.NullReferenceException: Object reference not set to an instance of an object.
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.SendBulkTimeEntriesTo3E(IEnumerable`1timeEntries, PerformContextperformContext) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 345
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 70
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/29/2025 2:39:34 AM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1855.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1855.
---> 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...
11/29/2025 3:06:43 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...
11/29/2025 3:30:21 AM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1781.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1781.
---> 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...
11/29/2025 4:04:14 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 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...
11/29/2025 4:31:16 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...
11/29/2025 4:40:31 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...
11/29/2025 5:06:34 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...
11/29/2025 5:41:20 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...
11/29/2025 6:10:31 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...
11/29/2025 6:36:10 AM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 2042.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 2042.
---> 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...
11/29/2025 7:09:13 AM
System.NullReferenceException
Object reference not set to an instance of an object.
System.NullReferenceException: Object reference not set to an instance of an object.
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.SendBulkTimeEntriesTo3E(IEnumerable`1timeEntries, PerformContextperformContext) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 345
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 70
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/29/2025 7:45:34 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...
11/29/2025 8:06:11 AM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1695.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1695.
---> 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...
11/29/2025 8:29:57 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...
11/29/2025 8:41:12 AM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1993.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1993.
---> 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...
11/29/2025 9:04:07 AM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1695.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1695.
---> 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...
11/29/2025 9:35:28 AM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1854.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1854.
---> 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...
11/29/2025 10:10:50 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...
11/29/2025 10:32:34 AM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1695.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1695.
---> 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...
11/29/2025 11:00:25 AM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1737.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1737.
---> 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...
11/29/2025 11:38:37 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...
11/29/2025 12:06:46 PM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1854.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1854.
---> 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 processing of a background job. More details...
11/29/2025 12:34:42 PM
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 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...
11/29/2025 12:30:43 PM
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 processing of a background job. More details...
11/29/2025 1:08:32 PM
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 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)