// Id: #140084
using Warehouse.Inventory.Api.Schedules;
var processOrdersIntegrationPendingReceipt = Activate<ProcessOrdersIntegrationPendingReceipt>();
await processOrdersIntegrationPendingReceipt.ProcessPendingOrders(null);
RetryCount |
|
RecurringJobId |
|
Time |
|
CurrentCulture |
|
CurrentUICulture |
|
An exception occurred during performance of the job.
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)
Triggered by DelayedJobScheduler
Retry attempt 10 of 10: Exception of type 'System.OutOfMemoryException' w…
An exception occurred during performance of the job.
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)
Triggered by DelayedJobScheduler
Retry attempt 9 of 10: Exception of type 'System.OutOfMemoryException' w…
An exception occurred during performance of the job.
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)
Triggered by DelayedJobScheduler
Retry attempt 8 of 10: Exception of type 'System.OutOfMemoryException' w…
An exception occurred during performance of the job.
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)
Triggered by DelayedJobScheduler
Retry attempt 7 of 10: Exception of type 'System.OutOfMemoryException' w…
An exception occurred during performance of the job.
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)
Triggered by DelayedJobScheduler
Retry attempt 6 of 10: Exception of type 'System.OutOfMemoryException' w…
An exception occurred during performance of the job.
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)
Triggered by DelayedJobScheduler
Retry attempt 5 of 10: Exception of type 'System.OutOfMemoryException' w…
An exception occurred during performance of the job.
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)
Triggered by DelayedJobScheduler
Retry attempt 4 of 10: Exception of type 'System.OutOfMemoryException' w…
An exception occurred during performance of the job.
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)
Triggered by DelayedJobScheduler
Retry attempt 3 of 10: Exception of type 'System.OutOfMemoryException' w…
An exception occurred during performance of the job.
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)
Triggered by DelayedJobScheduler
Retry attempt 2 of 10: Exception of type 'System.OutOfMemoryException' w…
An exception occurred during performance of the job.
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)
Triggered by DelayedJobScheduler
Retry attempt 1 of 10: Exception of type 'System.OutOfMemoryException' w…
An exception occurred during performance of the job.
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)
Triggered by recurring job scheduler