// Job ID: #498
using AG.A1.Scheduler.Billing.Contracts.Contracts;
var commitTimeEntriesTo3E = Activate<ICommitTimeEntriesTo3E>();
await commitTimeEntriesTo3E.Handle(
FromJson<CommitTimeEntriesTo3ERequest>("{\"CommitAll\":false,\"TimeEntryIds\":[6291928,9763505,10947665,11605073,14227484,15751693,16130780,16328205,17115303,17273290,17623360,8464437,8896090,10921885,14931771],\"UserId\":4962,\"UserFullName\":\"Narendra Gelli\",\"UserWindowsId\":\"AG\\NGelli\",\"InputSource\":\"alliantONE\",\"SubmittedBy\":4962,\"IsAGTalent\":false}"),
null,
null);
| CurrentCulture | |
| CurrentUICulture | |
An exception occurred during performance of the job.
Nullable object must have a value.
System.InvalidOperationException: Nullable object must have a value. at System.Nullable`1.get_Value() at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.CommitTimeEntryTo3ECommandHandler.<>c.<GetBillingDetails>b__36_0(TimeEntryDto m) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\CommitTimeEntryTo3ECommandHandler.cs:line 953 at System.Linq.Enumerable.SelectListIterator`2.MoveNext() at Newtonsoft.Json.Serialization.JsonSerializerInternalWriter.SerializeList(JsonWriter writer, IEnumerable values, JsonArrayContract contract, JsonProperty member, JsonContainerContract collectionContract, JsonProperty containerProperty) at Newtonsoft.Json.Serialization.JsonSerializerInternalWriter.Serialize(JsonWriter jsonWriter, Object value, Type objectType) at Newtonsoft.Json.JsonSerializer.SerializeInternal(JsonWriter jsonWriter, Object value, Type objectType) at Newtonsoft.Json.JsonConvert.SerializeObjectInternal(Object value, Type type, JsonSerializer jsonSerializer) at Newtonsoft.Json.JsonConvert.SerializeObject(Object value, Type type, JsonSerializerSettings settings) at Newtonsoft.Json.JsonConvert.SerializeObject(Object value) at AG.A1.Framework.Extensions.ObjectExtensions.ToJsonEx[T](T input) in C:\agent\_work\1\s\A1Solution\src-framework\AG.A1.Framework\Extensions\ObjectExtensions.cs:line 115 at AG.Integrations.RESTClients.BillingApiREST.BillingControllers.BillingA1ApiClientController.GetBillingDetails(IEnumerable`1 projectDetailRequests) in C:\agent\_work\1\s\A1Solution\src-integrations\AG.Integrations.RESTClients\BillingApiREST\BillingControllers\BillingA1ApiClientController.cs:line 103 at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.CommitTimeEntryTo3ECommandHandler.GetBillingDetails(IEnumerable`1 timeEntries, Int32 userId) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\CommitTimeEntryTo3ECommandHandler.cs:line 963 at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.CommitTimeEntryTo3ECommandHandler.Handle(CommitTimeEntriesTo3ERequest request, CancellationToken cancellationToken, PerformContext performContext) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\CommitTimeEntryTo3ECommandHandler.cs:line 134 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)