ProcessOrdersIntegrationPendingReceipt.ProcessPendingOrders

// Id: #140929
using Warehouse.Inventory.Api.Schedules;

var processOrdersIntegrationPendingReceipt = Activate<ProcessOrdersIntegrationPendingReceipt>();
await processOrdersIntegrationPendingReceipt.ProcessPendingOrders(null);

Parameters

RecurringJobId
"ProcessarPedidosPendentes-VTEX"
Time
1751590804
CurrentCulture
""
CurrentUICulture
""
RetryCount
10

State

07/04/2025 10:10:56 (+29.023s) Failed

An exception occurred during performance of the job.

System.OutOfMemoryException (dashboard warehouse_inventory:1)

Exception of type 'System.OutOfMemoryException' was thrown.

System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.
   at System.Collections.Generic.Dictionary`2.Resize(Int32 newSize, Boolean forceNewHashCodes)
   at System.Collections.Generic.Dictionary`2.TryInsert(TKey key, TValue value, InsertionBehavior behavior)
   at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.IdentityMap`1.Add(TKey key, InternalEntityEntry entry, Boolean updateDuplicate)
   at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.StartTrackingFromQuery(IEntityType baseEntityType, Object entity, ValueBuffer& valueBuffer)
   at Microsoft.EntityFrameworkCore.Query.QueryContext.StartTracking(IEntityType entityType, Object entity, ValueBuffer valueBuffer)
   at lambda_method9195(Closure, QueryContext, DbDataReader, ResultContext, SingleQueryResultCoordinator)
   at Microsoft.EntityFrameworkCore.Query.RelationalShapedQueryCompilingExpressionVisitor.ShaperProcessingExpressionVisitor.PopulateIncludeCollection[TIncludingEntity,TIncludedEntity](Int32 collectionId, QueryContext queryContext, DbDataReader dbDataReader, SingleQueryResultCoordinator resultCoordinator, Func`3 parentIdentifier, Func`3 outerIdentifier, Func`3 selfIdentifier, IReadOnlyList`1 parentIdentifierValueComparers, IReadOnlyList`1 outerIdentifierValueComparers, IReadOnlyList`1 selfIdentifierValueComparers, Func`5 innerShaper, INavigationBase inverseNavigation, Action`2 fixup, Boolean trackingQuery)
   at lambda_method9200(Closure, QueryContext, DbDataReader, ResultContext, SingleQueryResultCoordinator)
   at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.AsyncEnumerator.MoveNextAsync()
   at Microsoft.EntityFrameworkCore.EntityFrameworkQueryableExtensions.ToListAsync[TSource](IQueryable`1 source, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.EntityFrameworkQueryableExtensions.ToListAsync[TSource](IQueryable`1 source, CancellationToken cancellationToken)
   at Warehouse.Inventory.Data.Repositories.EcommerceIntegrationOrderRepository.GetBySituationsIds(IEnumerable`1 situationsIds) in /src/src/Warehouse.Inventory.Data/Repositories/EcommerceIntegrationOrderRepository.cs:line 30
   at Warehouse.Inventory.Application.Handlers.Order.ProcessOrderIntegrationPendingVtexCommandHandler.Handle(ProcessOrderIntegrationPendingVtexCommand request, CancellationToken cancellationToken) in /src/src/Warehouse.Inventory.Application/Handlers/Order/ProcessOrderIntegrationPendingVtexCommandHandler.cs:line 41
   at Mottu.Zika.Core.Validation.CommandPipelineValidationBehavior`2.Handle(TRequest request, RequestHandlerDelegate`1 next, CancellationToken cancellationToken)
   at Mottu.Zika.Core.Mediator.MediatorHandler.SendCommand[T,TResponse](T command, CancellationToken cancellationToken)
   at Warehouse.Inventory.Api.Schedules.ProcessOrdersIntegrationPendingReceipt.ProcessPendingOrders(PerformContext context) in /src/src/Warehouse.Inventory.Api/Schedules/ProcessOrdersIntegrationPendingReceipt.cs:line 32
   at InvokeStub_TaskAwaiter.GetResult(Object, Object, IntPtr*)
   at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)

+30m 571ms Processing

Server:
dashboard warehouse_inventory:1
Worker:
c3958045

+30m 471ms Processing

Server:
dashboard warehouse_inventory:1
Worker:
9c7e5cfd

+30m 715ms Processing

Server:
dashboard warehouse_inventory:1
Worker:
0d5a762c

+57ms Processing

Server:
dashboard warehouse_inventory:1
Worker:
b70669de

+1h 54m Enqueued

Triggered by DelayedJobScheduler

+30ms Scheduled

Retry attempt 10 of 10: Exception of type 'System.OutOfMemoryException' w…

Enqueue at:
07/04/2025 08:40:17

+30.091s Failed

An exception occurred during performance of the job.

System.OutOfMemoryException (dashboard warehouse_inventory:1)

Exception of type 'System.OutOfMemoryException' was thrown.

System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.
   at lambda_method10445(Closure, QueryContext, DbDataReader, ResultContext, SingleQueryResultCoordinator)
   at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.AsyncEnumerator.MoveNextAsync()
   at Microsoft.EntityFrameworkCore.EntityFrameworkQueryableExtensions.ToListAsync[TSource](IQueryable`1 source, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.EntityFrameworkQueryableExtensions.ToListAsync[TSource](IQueryable`1 source, CancellationToken cancellationToken)
   at Warehouse.Inventory.Data.Repositories.EcommerceIntegrationOrderRepository.GetBySituationsIds(IEnumerable`1 situationsIds) in /src/src/Warehouse.Inventory.Data/Repositories/EcommerceIntegrationOrderRepository.cs:line 30
   at Warehouse.Inventory.Application.Handlers.Order.ProcessOrderIntegrationPendingVtexCommandHandler.Handle(ProcessOrderIntegrationPendingVtexCommand request, CancellationToken cancellationToken) in /src/src/Warehouse.Inventory.Application/Handlers/Order/ProcessOrderIntegrationPendingVtexCommandHandler.cs:line 41
   at Mottu.Zika.Core.Validation.CommandPipelineValidationBehavior`2.Handle(TRequest request, RequestHandlerDelegate`1 next, CancellationToken cancellationToken)
   at Mottu.Zika.Core.Mediator.MediatorHandler.SendCommand[T,TResponse](T command, CancellationToken cancellationToken)
   at Warehouse.Inventory.Api.Schedules.ProcessOrdersIntegrationPendingReceipt.ProcessPendingOrders(PerformContext context) in /src/src/Warehouse.Inventory.Api/Schedules/ProcessOrdersIntegrationPendingReceipt.cs:line 32
   at InvokeStub_TaskAwaiter.GetResult(Object, Object, IntPtr*)
   at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)

+30m 133ms Processing

Server:
dashboard warehouse_inventory:1
Worker:
0d5a762c

+49ms Processing

Server:
dashboard warehouse_inventory:1
Worker:
4681d7fa

+1h 10m Enqueued

Triggered by DelayedJobScheduler

+26ms Scheduled

Retry attempt 9 of 10: Exception of type 'System.OutOfMemoryException' w…

Enqueue at:
07/04/2025 06:15:21

+31.902s Failed

An exception occurred during performance of the job.

System.OutOfMemoryException (dashboard warehouse_inventory:1)

Exception of type 'System.OutOfMemoryException' was thrown.

System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.
   at System.String.CreateStringFromEncoding(Byte* bytes, Int32 byteLength, Encoding encoding)
   at System.Text.Encoding.GetString(ReadOnlySpan`1 bytes)
   at System.Text.Json.JsonReaderHelper.TranscodeHelper(ReadOnlySpan`1 utf8Unescaped)
   at System.Text.Json.JsonSerializer.WriteString[TValue](TValue& value, JsonTypeInfo`1 jsonTypeInfo)
   at lambda_method1601(Closure, InternalEntityEntry)
   at lambda_method1585(Closure, InternalEntityEntry)
   at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.InternalEntityEntrySubscriber.SnapshotAndSubscribe(InternalEntityEntry entry)
   at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.StartTrackingFromQuery(IEntityType baseEntityType, Object entity, ValueBuffer& valueBuffer)
   at Microsoft.EntityFrameworkCore.Query.QueryContext.StartTracking(IEntityType entityType, Object entity, ValueBuffer valueBuffer)
   at lambda_method10441(Closure, QueryContext, Object[], JsonReaderData)
   at lambda_method10440(Closure, QueryContext, DbDataReader, ResultContext, SingleQueryResultCoordinator)
   at Microsoft.EntityFrameworkCore.Query.RelationalShapedQueryCompilingExpressionVisitor.ShaperProcessingExpressionVisitor.PopulateIncludeCollection[TIncludingEntity,TIncludedEntity](Int32 collectionId, QueryContext queryContext, DbDataReader dbDataReader, SingleQueryResultCoordinator resultCoordinator, Func`3 parentIdentifier, Func`3 outerIdentifier, Func`3 selfIdentifier, IReadOnlyList`1 parentIdentifierValueComparers, IReadOnlyList`1 outerIdentifierValueComparers, IReadOnlyList`1 selfIdentifierValueComparers, Func`5 innerShaper, INavigationBase inverseNavigation, Action`2 fixup, Boolean trackingQuery)
   at lambda_method10445(Closure, QueryContext, DbDataReader, ResultContext, SingleQueryResultCoordinator)
   at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.AsyncEnumerator.MoveNextAsync()
   at Microsoft.EntityFrameworkCore.EntityFrameworkQueryableExtensions.ToListAsync[TSource](IQueryable`1 source, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.EntityFrameworkQueryableExtensions.ToListAsync[TSource](IQueryable`1 source, CancellationToken cancellationToken)
   at Warehouse.Inventory.Data.Repositories.EcommerceIntegrationOrderRepository.GetBySituationsIds(IEnumerable`1 situationsIds) in /src/src/Warehouse.Inventory.Data/Repositories/EcommerceIntegrationOrderRepository.cs:line 30
   at Warehouse.Inventory.Application.Handlers.Order.ProcessOrderIntegrationPendingVtexCommandHandler.Handle(ProcessOrderIntegrationPendingVtexCommand request, CancellationToken cancellationToken) in /src/src/Warehouse.Inventory.Application/Handlers/Order/ProcessOrderIntegrationPendingVtexCommandHandler.cs:line 41
   at Mottu.Zika.Core.Validation.CommandPipelineValidationBehavior`2.Handle(TRequest request, RequestHandlerDelegate`1 next, CancellationToken cancellationToken)
   at Mottu.Zika.Core.Mediator.MediatorHandler.SendCommand[T,TResponse](T command, CancellationToken cancellationToken)
   at Warehouse.Inventory.Api.Schedules.ProcessOrdersIntegrationPendingReceipt.ProcessPendingOrders(PerformContext context) in /src/src/Warehouse.Inventory.Api/Schedules/ProcessOrdersIntegrationPendingReceipt.cs:line 32
   at InvokeStub_TaskAwaiter.GetResult(Object, Object, IntPtr*)
   at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)

+89ms Processing

Server:
dashboard warehouse_inventory:1
Worker:
0d5a762c

+42m 36s Enqueued

Triggered by DelayedJobScheduler

+33ms Scheduled

Retry attempt 8 of 10: Exception of type 'System.OutOfMemoryException' w…

Enqueue at:
07/04/2025 05:04:44

+25.555s Failed

An exception occurred during performance of the job.

System.OutOfMemoryException (dashboard warehouse_inventory:1)

Exception of type 'System.OutOfMemoryException' was thrown.

System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.
   at System.Collections.Generic.Dictionary`2.Resize(Int32 newSize, Boolean forceNewHashCodes)
   at System.Collections.Generic.Dictionary`2.TryInsert(TKey key, TValue value, InsertionBehavior behavior)
   at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.IdentityMap`1.Add(TKey key, InternalEntityEntry entry, Boolean updateDuplicate)
   at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.StartTrackingFromQuery(IEntityType baseEntityType, Object entity, ValueBuffer& valueBuffer)
   at Microsoft.EntityFrameworkCore.Query.QueryContext.StartTracking(IEntityType entityType, Object entity, ValueBuffer valueBuffer)
   at lambda_method9195(Closure, QueryContext, DbDataReader, ResultContext, SingleQueryResultCoordinator)
   at Microsoft.EntityFrameworkCore.Query.RelationalShapedQueryCompilingExpressionVisitor.ShaperProcessingExpressionVisitor.PopulateIncludeCollection[TIncludingEntity,TIncludedEntity](Int32 collectionId, QueryContext queryContext, DbDataReader dbDataReader, SingleQueryResultCoordinator resultCoordinator, Func`3 parentIdentifier, Func`3 outerIdentifier, Func`3 selfIdentifier, IReadOnlyList`1 parentIdentifierValueComparers, IReadOnlyList`1 outerIdentifierValueComparers, IReadOnlyList`1 selfIdentifierValueComparers, Func`5 innerShaper, INavigationBase inverseNavigation, Action`2 fixup, Boolean trackingQuery)
   at lambda_method9200(Closure, QueryContext, DbDataReader, ResultContext, SingleQueryResultCoordinator)
   at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.AsyncEnumerator.MoveNextAsync()
   at Microsoft.EntityFrameworkCore.EntityFrameworkQueryableExtensions.ToListAsync[TSource](IQueryable`1 source, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.EntityFrameworkQueryableExtensions.ToListAsync[TSource](IQueryable`1 source, CancellationToken cancellationToken)
   at Warehouse.Inventory.Data.Repositories.EcommerceIntegrationOrderRepository.GetBySituationsIds(IEnumerable`1 situationsIds) in /src/src/Warehouse.Inventory.Data/Repositories/EcommerceIntegrationOrderRepository.cs:line 30
   at Warehouse.Inventory.Application.Handlers.Order.ProcessOrderIntegrationPendingVtexCommandHandler.Handle(ProcessOrderIntegrationPendingVtexCommand request, CancellationToken cancellationToken) in /src/src/Warehouse.Inventory.Application/Handlers/Order/ProcessOrderIntegrationPendingVtexCommandHandler.cs:line 41
   at Mottu.Zika.Core.Validation.CommandPipelineValidationBehavior`2.Handle(TRequest request, RequestHandlerDelegate`1 next, CancellationToken cancellationToken)
   at Mottu.Zika.Core.Mediator.MediatorHandler.SendCommand[T,TResponse](T command, CancellationToken cancellationToken)
   at Warehouse.Inventory.Api.Schedules.ProcessOrdersIntegrationPendingReceipt.ProcessPendingOrders(PerformContext context) in /src/src/Warehouse.Inventory.Api/Schedules/ProcessOrdersIntegrationPendingReceipt.cs:line 32
   at InvokeStub_TaskAwaiter.GetResult(Object, Object, IntPtr*)
   at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)

+46ms Processing

Server:
dashboard warehouse_inventory:1
Worker:
c3958045

+24m 264ms Enqueued

Triggered by DelayedJobScheduler

+23ms Scheduled

Retry attempt 7 of 10: Exception of type 'System.OutOfMemoryException' w…

Enqueue at:
07/04/2025 04:21:36

+32.141s Failed

An exception occurred during performance of the job.

System.OutOfMemoryException (dashboard warehouse_inventory:1)

Exception of type 'System.OutOfMemoryException' was thrown.

System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.
   at Microsoft.EntityFrameworkCore.Storage.Json.JsonReaderData.ReadBytes(Int32 bytesConsumed, JsonReaderState state)
   at Microsoft.EntityFrameworkCore.Storage.Json.Utf8JsonReaderManager.MoveNext()
   at lambda_method10441(Closure, QueryContext, Object[], JsonReaderData)
   at lambda_method10440(Closure, QueryContext, DbDataReader, ResultContext, SingleQueryResultCoordinator)
   at Microsoft.EntityFrameworkCore.Query.RelationalShapedQueryCompilingExpressionVisitor.ShaperProcessingExpressionVisitor.PopulateIncludeCollection[TIncludingEntity,TIncludedEntity](Int32 collectionId, QueryContext queryContext, DbDataReader dbDataReader, SingleQueryResultCoordinator resultCoordinator, Func`3 parentIdentifier, Func`3 outerIdentifier, Func`3 selfIdentifier, IReadOnlyList`1 parentIdentifierValueComparers, IReadOnlyList`1 outerIdentifierValueComparers, IReadOnlyList`1 selfIdentifierValueComparers, Func`5 innerShaper, INavigationBase inverseNavigation, Action`2 fixup, Boolean trackingQuery)
   at lambda_method10445(Closure, QueryContext, DbDataReader, ResultContext, SingleQueryResultCoordinator)
   at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.AsyncEnumerator.MoveNextAsync()
   at Microsoft.EntityFrameworkCore.EntityFrameworkQueryableExtensions.ToListAsync[TSource](IQueryable`1 source, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.EntityFrameworkQueryableExtensions.ToListAsync[TSource](IQueryable`1 source, CancellationToken cancellationToken)
   at Warehouse.Inventory.Data.Repositories.EcommerceIntegrationOrderRepository.GetBySituationsIds(IEnumerable`1 situationsIds) in /src/src/Warehouse.Inventory.Data/Repositories/EcommerceIntegrationOrderRepository.cs:line 30
   at Warehouse.Inventory.Application.Handlers.Order.ProcessOrderIntegrationPendingVtexCommandHandler.Handle(ProcessOrderIntegrationPendingVtexCommand request, CancellationToken cancellationToken) in /src/src/Warehouse.Inventory.Application/Handlers/Order/ProcessOrderIntegrationPendingVtexCommandHandler.cs:line 41
   at Mottu.Zika.Core.Validation.CommandPipelineValidationBehavior`2.Handle(TRequest request, RequestHandlerDelegate`1 next, CancellationToken cancellationToken)
   at Mottu.Zika.Core.Mediator.MediatorHandler.SendCommand[T,TResponse](T command, CancellationToken cancellationToken)
   at Warehouse.Inventory.Api.Schedules.ProcessOrdersIntegrationPendingReceipt.ProcessPendingOrders(PerformContext context) in /src/src/Warehouse.Inventory.Api/Schedules/ProcessOrdersIntegrationPendingReceipt.cs:line 32
   at InvokeStub_TaskAwaiter.GetResult(Object, Object, IntPtr*)
   at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)

+38ms Processing

Server:
dashboard warehouse_inventory:1
Worker:
c21bfc9d

+12m 15.098s Enqueued

Triggered by DelayedJobScheduler

+63ms Scheduled

Retry attempt 6 of 10: Exception of type 'System.OutOfMemoryException' w…

Enqueue at:
07/04/2025 03:57:08

+30.941s Failed

An exception occurred during performance of the job.

System.OutOfMemoryException (dashboard warehouse_inventory:1)

Exception of type 'System.OutOfMemoryException' was thrown.

System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.
   at System.Collections.Generic.HashSet`1.System.Collections.Generic.IEnumerable<T>.GetEnumerator()
   at System.Linq.Enumerable.TryGetFirst[TSource](IEnumerable`1 source, Boolean& found)
   at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.NavigationFixer.InitialFixup(InternalEntityEntry entry, InternalEntityEntry duplicateEntry, Boolean fromQuery)
   at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.NavigationFixer.StateChanged(InternalEntityEntry entry, EntityState oldState, Boolean fromQuery)
   at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.InternalEntityEntry.MarkUnchangedFromQuery()
   at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.StartTrackingFromQuery(IEntityType baseEntityType, Object entity, ValueBuffer& valueBuffer)
   at Microsoft.EntityFrameworkCore.Query.QueryContext.StartTracking(IEntityType entityType, Object entity, ValueBuffer valueBuffer)
   at lambda_method10441(Closure, QueryContext, Object[], JsonReaderData)
   at lambda_method10440(Closure, QueryContext, DbDataReader, ResultContext, SingleQueryResultCoordinator)
   at Microsoft.EntityFrameworkCore.Query.RelationalShapedQueryCompilingExpressionVisitor.ShaperProcessingExpressionVisitor.PopulateIncludeCollection[TIncludingEntity,TIncludedEntity](Int32 collectionId, QueryContext queryContext, DbDataReader dbDataReader, SingleQueryResultCoordinator resultCoordinator, Func`3 parentIdentifier, Func`3 outerIdentifier, Func`3 selfIdentifier, IReadOnlyList`1 parentIdentifierValueComparers, IReadOnlyList`1 outerIdentifierValueComparers, IReadOnlyList`1 selfIdentifierValueComparers, Func`5 innerShaper, INavigationBase inverseNavigation, Action`2 fixup, Boolean trackingQuery)
   at lambda_method10445(Closure, QueryContext, DbDataReader, ResultContext, SingleQueryResultCoordinator)
   at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.AsyncEnumerator.MoveNextAsync()
   at Microsoft.EntityFrameworkCore.EntityFrameworkQueryableExtensions.ToListAsync[TSource](IQueryable`1 source, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.EntityFrameworkQueryableExtensions.ToListAsync[TSource](IQueryable`1 source, CancellationToken cancellationToken)
   at Warehouse.Inventory.Data.Repositories.EcommerceIntegrationOrderRepository.GetBySituationsIds(IEnumerable`1 situationsIds) in /src/src/Warehouse.Inventory.Data/Repositories/EcommerceIntegrationOrderRepository.cs:line 30
   at Warehouse.Inventory.Application.Handlers.Order.ProcessOrderIntegrationPendingVtexCommandHandler.Handle(ProcessOrderIntegrationPendingVtexCommand request, CancellationToken cancellationToken) in /src/src/Warehouse.Inventory.Application/Handlers/Order/ProcessOrderIntegrationPendingVtexCommandHandler.cs:line 41
   at Mottu.Zika.Core.Validation.CommandPipelineValidationBehavior`2.Handle(TRequest request, RequestHandlerDelegate`1 next, CancellationToken cancellationToken)
   at Mottu.Zika.Core.Mediator.MediatorHandler.SendCommand[T,TResponse](T command, CancellationToken cancellationToken)
   at Warehouse.Inventory.Api.Schedules.ProcessOrdersIntegrationPendingReceipt.ProcessPendingOrders(PerformContext context) in /src/src/Warehouse.Inventory.Api/Schedules/ProcessOrdersIntegrationPendingReceipt.cs:line 32
   at InvokeStub_TaskAwaiter.GetResult(Object, Object, IntPtr*)
   at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)

+39ms Processing

Server:
dashboard warehouse_inventory:1
Worker:
c21bfc9d

+6m 20.989s Enqueued

Triggered by DelayedJobScheduler

+38ms Scheduled

Retry attempt 5 of 10: Exception of type 'System.OutOfMemoryException' w…

Enqueue at:
07/04/2025 03:44:27

+27.518s Failed

An exception occurred during performance of the job.

System.OutOfMemoryException (dashboard warehouse_inventory:1)

Exception of type 'System.OutOfMemoryException' was thrown.

System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.
   at System.Collections.Generic.Dictionary`2.Resize(Int32 newSize, Boolean forceNewHashCodes)
   at System.Collections.Generic.Dictionary`2.TryInsert(TKey key, TValue value, InsertionBehavior behavior)
   at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.IdentityMap`1.Add(TKey key, InternalEntityEntry entry, Boolean updateDuplicate)
   at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.StartTrackingFromQuery(IEntityType baseEntityType, Object entity, ValueBuffer& valueBuffer)
   at Microsoft.EntityFrameworkCore.Query.QueryContext.StartTracking(IEntityType entityType, Object entity, ValueBuffer valueBuffer)
   at lambda_method9195(Closure, QueryContext, DbDataReader, ResultContext, SingleQueryResultCoordinator)
   at Microsoft.EntityFrameworkCore.Query.RelationalShapedQueryCompilingExpressionVisitor.ShaperProcessingExpressionVisitor.PopulateIncludeCollection[TIncludingEntity,TIncludedEntity](Int32 collectionId, QueryContext queryContext, DbDataReader dbDataReader, SingleQueryResultCoordinator resultCoordinator, Func`3 parentIdentifier, Func`3 outerIdentifier, Func`3 selfIdentifier, IReadOnlyList`1 parentIdentifierValueComparers, IReadOnlyList`1 outerIdentifierValueComparers, IReadOnlyList`1 selfIdentifierValueComparers, Func`5 innerShaper, INavigationBase inverseNavigation, Action`2 fixup, Boolean trackingQuery)
   at lambda_method9200(Closure, QueryContext, DbDataReader, ResultContext, SingleQueryResultCoordinator)
   at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.AsyncEnumerator.MoveNextAsync()
   at Microsoft.EntityFrameworkCore.EntityFrameworkQueryableExtensions.ToListAsync[TSource](IQueryable`1 source, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.EntityFrameworkQueryableExtensions.ToListAsync[TSource](IQueryable`1 source, CancellationToken cancellationToken)
   at Warehouse.Inventory.Data.Repositories.EcommerceIntegrationOrderRepository.GetBySituationsIds(IEnumerable`1 situationsIds) in /src/src/Warehouse.Inventory.Data/Repositories/EcommerceIntegrationOrderRepository.cs:line 30
   at Warehouse.Inventory.Application.Handlers.Order.ProcessOrderIntegrationPendingVtexCommandHandler.Handle(ProcessOrderIntegrationPendingVtexCommand request, CancellationToken cancellationToken) in /src/src/Warehouse.Inventory.Application/Handlers/Order/ProcessOrderIntegrationPendingVtexCommandHandler.cs:line 41
   at Mottu.Zika.Core.Validation.CommandPipelineValidationBehavior`2.Handle(TRequest request, RequestHandlerDelegate`1 next, CancellationToken cancellationToken)
   at Mottu.Zika.Core.Mediator.MediatorHandler.SendCommand[T,TResponse](T command, CancellationToken cancellationToken)
   at Warehouse.Inventory.Api.Schedules.ProcessOrdersIntegrationPendingReceipt.ProcessPendingOrders(PerformContext context) in /src/src/Warehouse.Inventory.Api/Schedules/ProcessOrdersIntegrationPendingReceipt.cs:line 32
   at InvokeStub_TaskAwaiter.GetResult(Object, Object, IntPtr*)
   at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)

+30m 1.264s Processing

Server:
dashboard warehouse_inventory:1
Worker:
c3958045

+54ms Processing

Server:
dashboard warehouse_inventory:1
Worker:
83bd2042

+2m 55.242s Enqueued

Triggered by DelayedJobScheduler

+19ms Scheduled

Retry attempt 4 of 10: Exception of type 'System.OutOfMemoryException' w…

Enqueue at:
07/04/2025 03:07:30

+25.879s Failed

An exception occurred during performance of the job.

System.OutOfMemoryException (dashboard warehouse_inventory:1)

Exception of type 'System.OutOfMemoryException' was thrown.

System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.
   at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.StartTrackingFromQuery(IEntityType baseEntityType, Object entity, ValueBuffer& valueBuffer)
   at Microsoft.EntityFrameworkCore.Query.QueryContext.StartTracking(IEntityType entityType, Object entity, ValueBuffer valueBuffer)
   at lambda_method12072(Closure, QueryContext, Object[], JsonReaderData)
   at lambda_method12071(Closure, QueryContext, DbDataReader, ResultContext, SingleQueryResultCoordinator)
   at Microsoft.EntityFrameworkCore.Query.RelationalShapedQueryCompilingExpressionVisitor.ShaperProcessingExpressionVisitor.PopulateIncludeCollection[TIncludingEntity,TIncludedEntity](Int32 collectionId, QueryContext queryContext, DbDataReader dbDataReader, SingleQueryResultCoordinator resultCoordinator, Func`3 parentIdentifier, Func`3 outerIdentifier, Func`3 selfIdentifier, IReadOnlyList`1 parentIdentifierValueComparers, IReadOnlyList`1 outerIdentifierValueComparers, IReadOnlyList`1 selfIdentifierValueComparers, Func`5 innerShaper, INavigationBase inverseNavigation, Action`2 fixup, Boolean trackingQuery)
   at lambda_method12076(Closure, QueryContext, DbDataReader, ResultContext, SingleQueryResultCoordinator)
   at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.AsyncEnumerator.MoveNextAsync()
   at Microsoft.EntityFrameworkCore.EntityFrameworkQueryableExtensions.ToListAsync[TSource](IQueryable`1 source, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.EntityFrameworkQueryableExtensions.ToListAsync[TSource](IQueryable`1 source, CancellationToken cancellationToken)
   at Warehouse.Inventory.Data.Repositories.EcommerceIntegrationOrderRepository.GetBySituationsIds(IEnumerable`1 situationsIds) in /src/src/Warehouse.Inventory.Data/Repositories/EcommerceIntegrationOrderRepository.cs:line 30
   at Warehouse.Inventory.Application.Handlers.Order.ProcessOrderIntegrationPendingVtexCommandHandler.Handle(ProcessOrderIntegrationPendingVtexCommand request, CancellationToken cancellationToken) in /src/src/Warehouse.Inventory.Application/Handlers/Order/ProcessOrderIntegrationPendingVtexCommandHandler.cs:line 41
   at Mottu.Zika.Core.Validation.CommandPipelineValidationBehavior`2.Handle(TRequest request, RequestHandlerDelegate`1 next, CancellationToken cancellationToken)
   at Mottu.Zika.Core.Mediator.MediatorHandler.SendCommand[T,TResponse](T command, CancellationToken cancellationToken)
   at Warehouse.Inventory.Api.Schedules.ProcessOrdersIntegrationPendingReceipt.ProcessPendingOrders(PerformContext context) in /src/src/Warehouse.Inventory.Api/Schedules/ProcessOrdersIntegrationPendingReceipt.cs:line 32
   at InvokeStub_TaskAwaiter.GetResult(Object, Object, IntPtr*)
   at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)

+72ms Processing

Server:
dashboard warehouse_inventory:1
Worker:
22f270b8

+1m 34.820s Enqueued

Triggered by DelayedJobScheduler

+15ms Scheduled

Retry attempt 3 of 10: Exception of type 'System.OutOfMemoryException' w…

Enqueue at:
07/04/2025 03:04:16

+25.259s Failed

An exception occurred during performance of the job.

System.OutOfMemoryException (dashboard warehouse_inventory:1)

Exception of type 'System.OutOfMemoryException' was thrown.

System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.
   at System.Text.EncodingExtensions.GetString(Encoding encoding, ReadOnlySequence`1& bytes)
   at Npgsql.Internal.Converters.VersionPrefixedTextConverter`1.Read(Boolean async, PgReader reader, CancellationToken cancellationToken)
   at Npgsql.Internal.Converters.VersionPrefixedTextConverter`1.Read(PgReader reader)
   at Npgsql.NpgsqlDataReader.GetFieldValueCore[T](Int32 ordinal)
   at lambda_method12071(Closure, QueryContext, DbDataReader, ResultContext, SingleQueryResultCoordinator)
   at Microsoft.EntityFrameworkCore.Query.RelationalShapedQueryCompilingExpressionVisitor.ShaperProcessingExpressionVisitor.PopulateIncludeCollection[TIncludingEntity,TIncludedEntity](Int32 collectionId, QueryContext queryContext, DbDataReader dbDataReader, SingleQueryResultCoordinator resultCoordinator, Func`3 parentIdentifier, Func`3 outerIdentifier, Func`3 selfIdentifier, IReadOnlyList`1 parentIdentifierValueComparers, IReadOnlyList`1 outerIdentifierValueComparers, IReadOnlyList`1 selfIdentifierValueComparers, Func`5 innerShaper, INavigationBase inverseNavigation, Action`2 fixup, Boolean trackingQuery)
   at lambda_method12076(Closure, QueryContext, DbDataReader, ResultContext, SingleQueryResultCoordinator)
   at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.AsyncEnumerator.MoveNextAsync()
   at Microsoft.EntityFrameworkCore.EntityFrameworkQueryableExtensions.ToListAsync[TSource](IQueryable`1 source, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.EntityFrameworkQueryableExtensions.ToListAsync[TSource](IQueryable`1 source, CancellationToken cancellationToken)
   at Warehouse.Inventory.Data.Repositories.EcommerceIntegrationOrderRepository.GetBySituationsIds(IEnumerable`1 situationsIds) in /src/src/Warehouse.Inventory.Data/Repositories/EcommerceIntegrationOrderRepository.cs:line 30
   at Warehouse.Inventory.Application.Handlers.Order.ProcessOrderIntegrationPendingVtexCommandHandler.Handle(ProcessOrderIntegrationPendingVtexCommand request, CancellationToken cancellationToken) in /src/src/Warehouse.Inventory.Application/Handlers/Order/ProcessOrderIntegrationPendingVtexCommandHandler.cs:line 41
   at Mottu.Zika.Core.Validation.CommandPipelineValidationBehavior`2.Handle(TRequest request, RequestHandlerDelegate`1 next, CancellationToken cancellationToken)
   at Mottu.Zika.Core.Mediator.MediatorHandler.SendCommand[T,TResponse](T command, CancellationToken cancellationToken)
   at Warehouse.Inventory.Api.Schedules.ProcessOrdersIntegrationPendingReceipt.ProcessPendingOrders(PerformContext context) in /src/src/Warehouse.Inventory.Api/Schedules/ProcessOrdersIntegrationPendingReceipt.cs:line 32
   at InvokeStub_TaskAwaiter.GetResult(Object, Object, IntPtr*)
   at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)

+23ms Processing

Server:
dashboard warehouse_inventory:1
Worker:
22f270b8

+18.887s Enqueued

Triggered by DelayedJobScheduler

+19ms Scheduled

Retry attempt 2 of 10: Exception of type 'System.OutOfMemoryException' w…

Enqueue at:
07/04/2025 03:02:15

+25.320s Failed

An exception occurred during performance of the job.

System.OutOfMemoryException (dashboard warehouse_inventory:1)

Exception of type 'System.OutOfMemoryException' was thrown.

System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.
   at System.Text.Json.JsonReaderHelper.TranscodeHelper(ReadOnlySpan`1 utf8Unescaped)
   at System.Text.Json.JsonSerializer.WriteString[TValue](TValue& value, JsonTypeInfo`1 jsonTypeInfo)
   at lambda_method1881(Closure, InternalEntityEntry)
   at lambda_method1865(Closure, InternalEntityEntry)
   at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.InternalEntityEntrySubscriber.SnapshotAndSubscribe(InternalEntityEntry entry)
   at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.StartTrackingFromQuery(IEntityType baseEntityType, Object entity, ValueBuffer& valueBuffer)
   at Microsoft.EntityFrameworkCore.Query.QueryContext.StartTracking(IEntityType entityType, Object entity, ValueBuffer valueBuffer)
   at lambda_method12072(Closure, QueryContext, Object[], JsonReaderData)
   at lambda_method12071(Closure, QueryContext, DbDataReader, ResultContext, SingleQueryResultCoordinator)
   at Microsoft.EntityFrameworkCore.Query.RelationalShapedQueryCompilingExpressionVisitor.ShaperProcessingExpressionVisitor.PopulateIncludeCollection[TIncludingEntity,TIncludedEntity](Int32 collectionId, QueryContext queryContext, DbDataReader dbDataReader, SingleQueryResultCoordinator resultCoordinator, Func`3 parentIdentifier, Func`3 outerIdentifier, Func`3 selfIdentifier, IReadOnlyList`1 parentIdentifierValueComparers, IReadOnlyList`1 outerIdentifierValueComparers, IReadOnlyList`1 selfIdentifierValueComparers, Func`5 innerShaper, INavigationBase inverseNavigation, Action`2 fixup, Boolean trackingQuery)
   at lambda_method12076(Closure, QueryContext, DbDataReader, ResultContext, SingleQueryResultCoordinator)
   at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.AsyncEnumerator.MoveNextAsync()
   at Microsoft.EntityFrameworkCore.EntityFrameworkQueryableExtensions.ToListAsync[TSource](IQueryable`1 source, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.EntityFrameworkQueryableExtensions.ToListAsync[TSource](IQueryable`1 source, CancellationToken cancellationToken)
   at Warehouse.Inventory.Data.Repositories.EcommerceIntegrationOrderRepository.GetBySituationsIds(IEnumerable`1 situationsIds) in /src/src/Warehouse.Inventory.Data/Repositories/EcommerceIntegrationOrderRepository.cs:line 30
   at Warehouse.Inventory.Application.Handlers.Order.ProcessOrderIntegrationPendingVtexCommandHandler.Handle(ProcessOrderIntegrationPendingVtexCommand request, CancellationToken cancellationToken) in /src/src/Warehouse.Inventory.Application/Handlers/Order/ProcessOrderIntegrationPendingVtexCommandHandler.cs:line 41
   at Mottu.Zika.Core.Validation.CommandPipelineValidationBehavior`2.Handle(TRequest request, RequestHandlerDelegate`1 next, CancellationToken cancellationToken)
   at Mottu.Zika.Core.Mediator.MediatorHandler.SendCommand[T,TResponse](T command, CancellationToken cancellationToken)
   at Warehouse.Inventory.Api.Schedules.ProcessOrdersIntegrationPendingReceipt.ProcessPendingOrders(PerformContext context) in /src/src/Warehouse.Inventory.Api/Schedules/ProcessOrdersIntegrationPendingReceipt.cs:line 32
   at InvokeStub_TaskAwaiter.GetResult(Object, Object, IntPtr*)
   at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)

+30m 1.696s Processing

Server:
dashboard warehouse_inventory:1
Worker:
064dd598

+30m 1.045s Processing

Server:
dashboard warehouse_inventory:1
Worker:
0e0a276d

+30m 5.948s Processing

Server:
dashboard warehouse_inventory:1
Worker:
73af0448

+70ms Processing

Server:
dashboard warehouse_inventory:1
Worker:
42a13491

+48.395s Enqueued

Triggered by DelayedJobScheduler

+9ms Scheduled

Retry attempt 1 of 10: Exception of type 'System.OutOfMemoryException' w…

Enqueue at:
07/04/2025 01:31:17

+29.941s Failed

An exception occurred during performance of the job.

System.OutOfMemoryException (dashboard warehouse_inventory:1)

Exception of type 'System.OutOfMemoryException' was thrown.

System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.
   at System.Collections.Generic.HashSet`1.Initialize(Int32 capacity)
   at System.Collections.Generic.HashSet`1.AddIfNotPresent(T value, Int32& location)
   at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.IdentityMap`1.Add(TKey key, InternalEntityEntry entry, Boolean updateDuplicate)
   at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.StartTrackingFromQuery(IEntityType baseEntityType, Object entity, ValueBuffer& valueBuffer)
   at Microsoft.EntityFrameworkCore.Query.QueryContext.StartTracking(IEntityType entityType, Object entity, ValueBuffer valueBuffer)
   at lambda_method9200(Closure, QueryContext, DbDataReader, ResultContext, SingleQueryResultCoordinator)
   at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.AsyncEnumerator.MoveNextAsync()
   at Microsoft.EntityFrameworkCore.EntityFrameworkQueryableExtensions.ToListAsync[TSource](IQueryable`1 source, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.EntityFrameworkQueryableExtensions.ToListAsync[TSource](IQueryable`1 source, CancellationToken cancellationToken)
   at Warehouse.Inventory.Data.Repositories.EcommerceIntegrationOrderRepository.GetBySituationsIds(IEnumerable`1 situationsIds) in /src/src/Warehouse.Inventory.Data/Repositories/EcommerceIntegrationOrderRepository.cs:line 30
   at Warehouse.Inventory.Application.Handlers.Order.ProcessOrderIntegrationPendingVtexCommandHandler.Handle(ProcessOrderIntegrationPendingVtexCommand request, CancellationToken cancellationToken) in /src/src/Warehouse.Inventory.Application/Handlers/Order/ProcessOrderIntegrationPendingVtexCommandHandler.cs:line 41
   at Mottu.Zika.Core.Validation.CommandPipelineValidationBehavior`2.Handle(TRequest request, RequestHandlerDelegate`1 next, CancellationToken cancellationToken)
   at Mottu.Zika.Core.Mediator.MediatorHandler.SendCommand[T,TResponse](T command, CancellationToken cancellationToken)
   at Warehouse.Inventory.Api.Schedules.ProcessOrdersIntegrationPendingReceipt.ProcessPendingOrders(PerformContext context) in /src/src/Warehouse.Inventory.Api/Schedules/ProcessOrdersIntegrationPendingReceipt.cs:line 32
   at InvokeStub_TaskAwaiter.GetResult(Object, Object, IntPtr*)
   at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)

+30m 749ms Processing

Server:
dashboard warehouse_inventory:1
Worker:
9c7e5cfd

+16ms Processing

Server:
dashboard warehouse_inventory:1
Worker:
5c6fd486

+5ms Enqueued

Triggered by recurring job scheduler

07/04/2025 01:00:04 Created