ProcessOrdersIntegrationPendingReceipt.ProcessPendingOrders

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

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

Parameters

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

State

06/24/2025 09:38:18 (+35.299s) 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_method3367(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_method3372(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)

+214ms Processing

Server:
dashboard warehouse_inventory:1
Worker:
dae838bd

+1h 50m Enqueued

Triggered by DelayedJobScheduler

+35ms Scheduled

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

Enqueue at:
06/24/2025 09:37:40

+1m 39.480s 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.GC.AllocateNewArray(IntPtr typeHandle, Int32 length, GC_ALLOC_FLAGS flags)
   at System.Buffers.SharedArrayPool`1.Rent(Int32 minimumLength)
   at System.Text.Json.Utf8JsonWriterCache.RentWriterAndBuffer(JsonSerializerOptions options, PooledByteBufferWriter& bufferWriter)
   at System.Text.Json.JsonSerializer.WriteString[TValue](TValue& value, JsonTypeInfo`1 jsonTypeInfo)
   at lambda_method1750(Closure, InternalEntityEntry)
   at lambda_method1734(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_method3368(Closure, QueryContext, Object[], JsonReaderData)
   at lambda_method3367(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_method3372(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)

+204ms Processing

Server:
dashboard warehouse_inventory:1
Worker:
0504fdb9

+1h 11m Enqueued

Triggered by DelayedJobScheduler

+33ms Scheduled

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

Enqueue at:
06/24/2025 07:45:44

+15.736s 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_method1750(Closure, InternalEntityEntry)
   at lambda_method1734(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_method3368(Closure, QueryContext, Object[], JsonReaderData)
   at lambda_method3367(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_method3372(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)

+104ms Processing

Server:
dashboard warehouse_inventory:1
Worker:
c9f9872f

+43m 17.859s Enqueued

Triggered by DelayedJobScheduler

+84ms Scheduled

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

Enqueue at:
06/24/2025 06:33:52

+13.455s 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_method3367(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_method3372(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:
0504fdb9

+24m 20.458s Enqueued

Triggered by DelayedJobScheduler

+26ms Scheduled

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

Enqueue at:
06/24/2025 05:50:17

+10.533s 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.UpdateReferenceMaps(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_method3368(Closure, QueryContext, Object[], JsonReaderData)
   at lambda_method3367(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_method3372(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:
0504fdb9

+12m 49.879s Enqueued

Triggered by DelayedJobScheduler

+23ms Scheduled

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

Enqueue at:
06/24/2025 05:25:51

+10.451s 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_method3367(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_method3372(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)

+41ms Processing

Server:
dashboard warehouse_inventory:1
Worker:
0504fdb9

+6m 4.374s Enqueued

Triggered by DelayedJobScheduler

+22ms Scheduled

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

Enqueue at:
06/24/2025 05:12:51

+10.779s 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_method3368(Closure, QueryContext, Object[], JsonReaderData)
   at lambda_method3367(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_method3372(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:
0504fdb9

+2m 35.456s Enqueued

Triggered by DelayedJobScheduler

+21ms Scheduled

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

Enqueue at:
06/24/2025 05:06:32

+10.446s 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_method3367(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_method3372(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)

+36ms Processing

Server:
dashboard warehouse_inventory:1
Worker:
0504fdb9

+1m 19.391s Enqueued

Triggered by DelayedJobScheduler

+22ms Scheduled

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

Enqueue at:
06/24/2025 05:03:44

+11.896s 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.ReadStack.Push()
   at System.Text.Json.Serialization.JsonConverter`1.TryRead(Utf8JsonReader& reader, Type typeToConvert, JsonSerializerOptions options, ReadStack& state, T& value, Boolean& isPopulatedValue)
   at System.Text.Json.Serialization.JsonCollectionConverter`2.OnTryRead(Utf8JsonReader& reader, Type typeToConvert, JsonSerializerOptions options, ReadStack& state, TCollection& value)
   at System.Text.Json.Serialization.JsonConverter`1.TryRead(Utf8JsonReader& reader, Type typeToConvert, JsonSerializerOptions options, ReadStack& state, T& value, Boolean& isPopulatedValue)
   at System.Text.Json.Serialization.JsonConverter`1.ReadCore(Utf8JsonReader& reader, JsonSerializerOptions options, ReadStack& state)
   at System.Text.Json.JsonSerializer.ReadFromSpan[TValue](ReadOnlySpan`1 json, JsonTypeInfo`1 jsonTypeInfo)
   at lambda_method923(Closure, QueryContext, Object[], JsonReaderData)
   at lambda_method922(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_method927(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 103ms Processing

Server:
dashboard warehouse_inventory:1
Worker:
4f884664

+28ms Processing

Server:
dashboard warehouse_inventory:1
Worker:
dc49a36d

+59.476s Enqueued

Triggered by DelayedJobScheduler

+58ms Scheduled

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

Enqueue at:
06/24/2025 04:32:10

+15.801s 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 3.542s Processing

Server:
dashboard warehouse_inventory:1
Worker:
c9f9872f

+30m 485ms Processing

Server:
dashboard warehouse_inventory:1
Worker:
8363334f

+30m 499ms Processing

Server:
dashboard warehouse_inventory:1
Worker:
0040a640

+45ms Processing

Server:
dashboard warehouse_inventory:1
Worker:
dae838bd

+41.359s Enqueued

Triggered by DelayedJobScheduler

+50ms Scheduled

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

Enqueue at:
06/24/2025 03:00:56

+15.325s 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_method922(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_method927(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 604ms Processing

Server:
dashboard warehouse_inventory:1
Worker:
68ebd3ad

+30m 472ms Processing

Server:
dashboard warehouse_inventory:1
Worker:
a81f9cad

+30m 403ms Processing

Server:
dashboard warehouse_inventory:1
Worker:
2feca897

+30m 345ms Processing

Server:
dashboard warehouse_inventory:1
Worker:
a871081a

+72ms Processing

Server:
dashboard warehouse_inventory:1
Worker:
1c53a98e

+9ms Enqueued

Triggered by recurring job scheduler

06/24/2025 01:00:03 Created