ProcessOrdersIntegrationPendingReceipt.ProcessPendingOrders

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

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

Parameters

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

State

06/29/2025 10:37:13 (+28.423s) 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.Encoding.GetBytes(String s)
   at lambda_method12003(Closure, QueryContext, DbDataReader, ResultContext, SingleQueryResultCoordinator)
   at Microsoft.EntityFrameworkCore.Query.RelationalShapedQueryCompilingExpressionVisitor.ShaperProcessingExpressionVisitor.<PopulateIncludeCollection>g__ProcessCurrentElementRow|23_0[TIncludingEntity,TIncludedEntity](<>c__DisplayClass23_0`2&)
   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_method12008(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)

+86ms Processing

Server:
dashboard warehouse_inventory:1
Worker:
5f666783

+1h 50m Enqueued

Triggered by DelayedJobScheduler

+160ms Scheduled

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

Enqueue at:
06/29/2025 10:36:42

+18.841s 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.EntityReferenceMap.Update(InternalEntityEntry entry, EntityState state, Nullable`1 oldState)
   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_method517(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_method522(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 2.692s Processing

Server:
dashboard warehouse_inventory:1
Worker:
0132445f

+30m 215ms Processing

Server:
dashboard warehouse_inventory:1
Worker:
fe44d5f6

+45ms Processing

Server:
dashboard warehouse_inventory:1
Worker:
8b420065

+1h 12m Enqueued

Triggered by DelayedJobScheduler

+33ms Scheduled

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

Enqueue at:
06/29/2025 07:45:22

+50.756s 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_method2975(Closure, QueryContext, Object[], JsonReaderData)
   at lambda_method2974(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_method2979(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)

+192ms Processing

Server:
dashboard warehouse_inventory:1
Worker:
b5f3bbc8

+41m 36.346s Enqueued

Triggered by DelayedJobScheduler

+30ms Scheduled

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

Enqueue at:
06/29/2025 06:31:58

+24.287s 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.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_method12004(Closure, QueryContext, Object[], JsonReaderData)
   at lambda_method12003(Closure, QueryContext, DbDataReader, ResultContext, SingleQueryResultCoordinator)
   at Microsoft.EntityFrameworkCore.Query.RelationalShapedQueryCompilingExpressionVisitor.ShaperProcessingExpressionVisitor.<PopulateIncludeCollection>g__ProcessCurrentElementRow|23_0[TIncludingEntity,TIncludedEntity](<>c__DisplayClass23_0`2&)
   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_method12008(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)

+37ms Processing

Server:
dashboard warehouse_inventory:1
Worker:
397caebe

+24m 49.444s Enqueued

Triggered by DelayedJobScheduler

+28ms Scheduled

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

Enqueue at:
06/29/2025 05:50:02

+26.580s 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_method2018(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_method12004(Closure, QueryContext, Object[], JsonReaderData)
   at lambda_method12003(Closure, QueryContext, DbDataReader, ResultContext, SingleQueryResultCoordinator)
   at Microsoft.EntityFrameworkCore.Query.RelationalShapedQueryCompilingExpressionVisitor.ShaperProcessingExpressionVisitor.<PopulateIncludeCollection>g__ProcessCurrentElementRow|23_0[TIncludingEntity,TIncludedEntity](<>c__DisplayClass23_0`2&)
   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_method12008(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)

+76ms Processing

Server:
dashboard warehouse_inventory:1
Worker:
397caebe

+11m 31.100s Enqueued

Triggered by DelayedJobScheduler

+30ms Scheduled

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

Enqueue at:
06/29/2025 05:24:46

+29.185s 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_method2034(Closure, InternalEntityEntry)
   at lambda_method2018(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_method12004(Closure, QueryContext, Object[], JsonReaderData)
   at lambda_method12003(Closure, QueryContext, DbDataReader, ResultContext, SingleQueryResultCoordinator)
   at Microsoft.EntityFrameworkCore.Query.RelationalShapedQueryCompilingExpressionVisitor.ShaperProcessingExpressionVisitor.<PopulateIncludeCollection>g__ProcessCurrentElementRow|23_0[TIncludingEntity,TIncludedEntity](<>c__DisplayClass23_0`2&)
   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_method12008(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)

+78ms Processing

Server:
dashboard warehouse_inventory:1
Worker:
8f4b3c1e

+6m 56.158s Enqueued

Triggered by DelayedJobScheduler

+26ms Scheduled

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

Enqueue at:
06/29/2025 05:12:49

+8.188s 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.WriteStack.Push()
   at System.Text.Json.Serialization.JsonConverter`1.TryWrite(Utf8JsonWriter writer, T& value, JsonSerializerOptions options, WriteStack& state)
   at System.Text.Json.Serialization.JsonCollectionConverter`2.OnTryWrite(Utf8JsonWriter writer, TCollection value, JsonSerializerOptions options, WriteStack& state)
   at System.Text.Json.Serialization.JsonConverter`1.TryWrite(Utf8JsonWriter writer, T& value, JsonSerializerOptions options, WriteStack& state)
   at System.Text.Json.Serialization.JsonConverter`1.WriteCore(Utf8JsonWriter writer, T& value, JsonSerializerOptions options, WriteStack& state)
   at System.Text.Json.Serialization.Metadata.JsonTypeInfo`1.Serialize(Utf8JsonWriter writer, T& rootValue, Object rootValueBoxed)
   at System.Text.Json.JsonSerializer.WriteString[TValue](TValue& value, JsonTypeInfo`1 jsonTypeInfo)
   at lambda_method685(Closure, InternalEntityEntry)
   at lambda_method669(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_method2975(Closure, QueryContext, Object[], JsonReaderData)
   at lambda_method2974(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_method2979(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)

+83ms Processing

Server:
dashboard warehouse_inventory:1
Worker:
b5f3bbc8

+1m 45.731s Enqueued

Triggered by DelayedJobScheduler

+77ms Scheduled

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

Enqueue at:
06/29/2025 05:05:39

+14.200s 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_method685(Closure, InternalEntityEntry)
   at lambda_method669(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_method2975(Closure, QueryContext, Object[], JsonReaderData)
   at lambda_method2974(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_method2979(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)

+93ms Processing

Server:
dashboard warehouse_inventory:1
Worker:
311aa5e3

+1m 51.194s Enqueued

Triggered by DelayedJobScheduler

+32ms Scheduled

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

Enqueue at:
06/29/2025 05:03:39

+16.989s 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.Runtime.CompilerServices.AsyncTaskMethodBuilder`1.GetStateMachineBox[TStateMachine](TStateMachine& stateMachine, Task`1& taskField)
   at Npgsql.Internal.NpgsqlReadBuffer.Skip(Int32 len, Boolean async)
   at Npgsql.Internal.NpgsqlConnector.ReadMessageLong(Boolean async, DataRowLoadingMode dataRowLoadingMode, Boolean readingNotifications, Boolean isReadingPrependedMessage)
   at System.Runtime.CompilerServices.PoolingAsyncValueTaskMethodBuilder`1.StateMachineBox`1.System.Threading.Tasks.Sources.IValueTaskSource<TResult>.GetResult(Int16 token)
   at Npgsql.NpgsqlDataReader.<NextResult>g__ConsumeResultSet|52_0(Boolean async)
   at Npgsql.NpgsqlDataReader.NextResult(Boolean async, Boolean isConsuming, CancellationToken cancellationToken)
   at Npgsql.NpgsqlDataReader.NextResult(Boolean async, Boolean isConsuming, CancellationToken cancellationToken)
   at Npgsql.NpgsqlDataReader.Consume(Boolean async, Exception firstException)
   at Npgsql.NpgsqlDataReader.Consume(Boolean async, Exception firstException)
   at Npgsql.NpgsqlDataReader.Close(Boolean async, Boolean connectionClosing, Boolean isDisposing)
   at Microsoft.EntityFrameworkCore.Storage.RelationalDataReader.CloseAsync()
   at Microsoft.EntityFrameworkCore.Storage.RelationalDataReader.DisposeAsync()
   at Microsoft.EntityFrameworkCore.Storage.RelationalDataReader.DisposeAsync()
   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 247ms Processing

Server:
dashboard warehouse_inventory:1
Worker:
0132445f

+30m 284ms Processing

Server:
dashboard warehouse_inventory:1
Worker:
dbcc9944

+29m 59.114s Processing

Server:
dashboard warehouse_inventory:1
Worker:
b956dec7

+30m 1.770s Processing

Server:
dashboard warehouse_inventory:1
Worker:
6b2931ed

+68ms Processing

Server:
dashboard warehouse_inventory:1
Worker:
bfe0c7d7

+20.241s Enqueued

Triggered by DelayedJobScheduler

+58ms Scheduled

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

Enqueue at:
06/29/2025 03:01:35

+10.821s 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.EntityReferenceMap.Update(InternalEntityEntry entry, EntityState state, Nullable`1 oldState)
   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_method2975(Closure, QueryContext, Object[], JsonReaderData)
   at lambda_method2974(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_method2979(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 300ms Processing

Server:
dashboard warehouse_inventory:1
Worker:
b5f3bbc8

+30m 208ms Processing

Server:
dashboard warehouse_inventory:1
Worker:
b86c326e

+23ms Processing

Server:
dashboard warehouse_inventory:1
Worker:
43f19516

+26.807s Enqueued

Triggered by DelayedJobScheduler

+8ms Scheduled

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

Enqueue at:
06/29/2025 02:00:55

+31.419s 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_method656(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_method12008(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 288ms Processing

Server:
dashboard warehouse_inventory:1
Worker:
8f4b3c1e

+30m 658ms Processing

Server:
dashboard warehouse_inventory:1
Worker:
8b420065

+14ms Processing

Server:
dashboard warehouse_inventory:1
Worker:
fe44d5f6

+84ms Enqueued

Triggered by recurring job scheduler

06/29/2025 01:00:04 Created