ProcessOrdersIntegrationPendingReceipt.ProcessPendingOrders

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

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

Parameters

RecurringJobId
"ProcessarPedidosPendentes-VTEX"
Time
1749829561
CurrentCulture
"pt-BR"
CurrentUICulture
"pt-BR"
RetryCount
10

State

06/14/2025 07:52:02 (+18.778s) 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_method4473(Closure, QueryContext, Object[], JsonReaderData)
   at lambda_method4472(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_method4477(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)
   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)

+111ms Processing

Server:
dashboard warehouse_inventory:1
Worker:
63e4262a

+1h 50m Enqueued

Triggered by DelayedJobScheduler

+289ms Scheduled

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

Enqueue at:
06/14/2025 07:51:43

+1m 712ms 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_method6640(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_method6645(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)
   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 742ms Processing

Server:
dashboard warehouse_inventory:1
Worker:
b2f5d1aa

+148ms Processing

Server:
dashboard warehouse_inventory:1
Worker:
1db19833

+1h 12m Enqueued

Triggered by DelayedJobScheduler

+297ms Scheduled

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

Enqueue at:
06/14/2025 05:30:04

+1m 4.901s 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.RuntimeHelpers.AllocateUninitializedClone(Object obj)
   at System.Exception.RestoreDispatchState(DispatchState& dispatchState)
   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 4.985s Processing

Server:
dashboard warehouse_inventory:1
Worker:
3f40a9ab

+120ms Processing

Server:
dashboard warehouse_inventory:1
Worker:
63b9cd35

+40m 58.450s Enqueued

Triggered by DelayedJobScheduler

+66ms Scheduled

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

Enqueue at:
06/14/2025 03:45:59

+15.846s 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.NavigationFixer.NavigationReferenceChanged(InternalEntityEntry entry, INavigationBase navigationBase, Object oldValue, Object newValue)
   at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.ChangeDetector.DetectNavigationChange(InternalEntityEntry entry, INavigationBase navigationBase)
   at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.ChangeDetector.PropertyChanged(InternalEntityEntry entry, IPropertyBase propertyBase, Boolean setModified)
   at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.InternalEntityEntry.SetProperty(IPropertyBase propertyBase, Object value, Boolean isMaterialization, Boolean setModified, Boolean isCascadeDelete, CurrentValueType valueType)
   at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.NavigationFixer.SetNavigation(InternalEntityEntry entry, INavigationBase navigation, InternalEntityEntry value, Boolean fromQuery)
   at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.NavigationFixer.ToDependentFixup(InternalEntityEntry dependentEntry, InternalEntityEntry principalEntry, IForeignKey foreignKey, Boolean fromQuery)
   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_method6641(Closure, QueryContext, Object[], JsonReaderData)
   at lambda_method6640(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_method6645(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)
   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)

+61ms Processing

Server:
dashboard warehouse_inventory:1
Worker:
b2f5d1aa

+23m 326ms Enqueued

Triggered by DelayedJobScheduler

+51ms Scheduled

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

Enqueue at:
06/14/2025 03:04:42

+17.030s 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_method6640(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_method6645(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)
   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)

+66ms Processing

Server:
dashboard warehouse_inventory:1
Worker:
3f40a9ab

+11m 59.780s Enqueued

Triggered by DelayedJobScheduler

+90ms Scheduled

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

Enqueue at:
06/14/2025 02:41:23

+15.785s 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_method6641(Closure, QueryContext, Object[], JsonReaderData)
   at lambda_method6640(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_method6645(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)
   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)

+146ms Processing

Server:
dashboard warehouse_inventory:1
Worker:
3f40a9ab

+6m 1.249s Enqueued

Triggered by DelayedJobScheduler

+46ms Scheduled

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

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

+13.878s 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_method6635(Closure, QueryContext, DbDataReader)
   at Microsoft.EntityFrameworkCore.Query.RelationalShapedQueryCompilingExpressionVisitor.ShaperProcessingExpressionVisitor.InitializeIncludeCollection[TParent,TNavigationEntity](Int32 collectionId, QueryContext queryContext, DbDataReader dbDataReader, SingleQueryResultCoordinator resultCoordinator, TParent entity, Func`3 parentIdentifier, Func`3 outerIdentifier, INavigationBase navigation, IClrCollectionAccessor clrCollectionAccessor, Boolean trackingQuery, Boolean setLoaded)
   at lambda_method6645(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)
   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)

+54ms Processing

Server:
dashboard warehouse_inventory:1
Worker:
3f40a9ab

+3m 14.729s Enqueued

Triggered by DelayedJobScheduler

+42ms Scheduled

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

Enqueue at:
06/14/2025 02:22:57

+15.309s 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_method6641(Closure, QueryContext, Object[], JsonReaderData)
   at lambda_method6640(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_method6645(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)
   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)

+92ms Processing

Server:
dashboard warehouse_inventory:1
Worker:
3f40a9ab

+46.673s Enqueued

Triggered by DelayedJobScheduler

+73ms Scheduled

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

Enqueue at:
06/14/2025 02:19:29

+15.509s 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_method6641(Closure, QueryContext, Object[], JsonReaderData)
   at lambda_method6640(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_method6645(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)
   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 294ms Processing

Server:
dashboard warehouse_inventory:1
Worker:
b2f5d1aa

+30m 282ms Processing

Server:
dashboard warehouse_inventory:1
Worker:
367dfbe2

+30m 264ms Processing

Server:
dashboard warehouse_inventory:1
Worker:
7162e956

+30m 1.042s Processing

Server:
dashboard warehouse_inventory:1
Worker:
df47d0d3

+30m 588ms Processing

Server:
dashboard warehouse_inventory:1
Worker:
e3562699

+97ms Processing

Server:
dashboard warehouse_inventory:1
Worker:
0007186b

+38.046s Enqueued

Triggered by DelayedJobScheduler

+41ms Scheduled

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

Enqueue at:
06/13/2025 23:48:25

+20.523s 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.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_method7678(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_method7683(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)
   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.126s Processing

Server:
dashboard warehouse_inventory:1
Worker:
958f0248

+83ms Processing

Server:
dashboard warehouse_inventory:1
Worker:
6084f3e7

+35.849s Enqueued

Triggered by DelayedJobScheduler

+93ms Scheduled

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

Enqueue at:
06/13/2025 23:17:24

+28.022s 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..ctor(Stream stream)
   at lambda_method7678(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_method7683(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)
   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 463ms Processing

Server:
dashboard warehouse_inventory:1
Worker:
777b64b0

+30m 1.162s Processing

Server:
dashboard warehouse_inventory:1
Worker:
5666e350

+30m 332ms Processing

Server:
dashboard warehouse_inventory:1
Worker:
bae87ebf

+30m 229ms Processing

Server:
dashboard warehouse_inventory:1
Worker:
81a2050f

+30m 164ms Processing

Server:
dashboard warehouse_inventory:1
Worker:
827ad2c5

+30m 406ms Processing

Server:
dashboard warehouse_inventory:1
Worker:
6e7b8abc

+30m 563ms Processing

Server:
dashboard warehouse_inventory:1
Worker:
8eccd742

+30m 2.992s Processing

Server:
dashboard warehouse_inventory:1
Worker:
dd28407c

+30m 1.185s Processing

Server:
dashboard warehouse_inventory:1
Worker:
99d435cf

+30m 1.213s Processing

Server:
dashboard warehouse_inventory:1
Worker:
e71fce2d

+30m 1.237s Processing

Server:
dashboard warehouse_inventory:1
Worker:
376f528f

+30m 6.563s Processing

Server:
dashboard warehouse_inventory:1
Worker:
2cbeaa01

+30m 380ms Processing

Server:
dashboard warehouse_inventory:1
Worker:
08802200

+30m 349ms Processing

Server:
dashboard warehouse_inventory:1
Worker:
dada92e7

+30m 1.572s Processing

Server:
dashboard warehouse_inventory:1
Worker:
d93d4673

+26ms Processing

Server:
dashboard warehouse_inventory:1
Worker:
e1c937fc

+18ms Enqueued

Triggered using recurring job manager

06/13/2025 15:46:01 Created