Summary

Bank Aqua Dev - Testing
Exception ID 639150816144076775
Sequence 0
Item Number 0
ISN 0
User

Exception Description

A second operation was started on this context instance before a previous operation completed. This is usually caused by different threads concurrently using the same instance of DbContext. For more information on how to avoid threading issues with DbContext, see https://go.microsoft.com/fwlink/?linkid=2097913.

Business Description

SetupARGroups error: A second operation was started on this context instance before a previous operation completed. This is usually caused by different threads concurrently using the same instance of DbContext. For more information on how to avoid threading issues with DbContext, see https://go.microsoft.com/fwlink/?linkid=2097913.

Stack Trace

   at Microsoft.EntityFrameworkCore.Infrastructure.Internal.ConcurrencyDetector.EnterCriticalSection()
   at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.AsyncEnumerator.MoveNextAsync()
   at Microsoft.EntityFrameworkCore.Query.ShapedQueryCompilingExpressionVisitor.SingleOrDefaultAsync[TSource](IAsyncEnumerable`1 asyncEnumerable, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Query.ShapedQueryCompilingExpressionVisitor.SingleOrDefaultAsync[TSource](IAsyncEnumerable`1 asyncEnumerable, CancellationToken cancellationToken)
   at Aquila.Database.CRUD.CRUDSiteSpecification.<Read>b__4_0() in /home/vsts/work/1/s/Database/CRUD/CRUDSiteSpecification.cs:line 35
   at Aquila.Database.Services.CacheService.GetOrCreateAsync[T](String key, Func`1 factory, DistributedCacheEntryOptions options, CancellationToken cancellationToken)
   at Aquila.Database.CRUD.CRUDSiteSpecification.Read() in /home/vsts/work/1/s/Database/CRUD/CRUDSiteSpecification.cs:line 33
   at Aquila.AccountReconciliations.AccountReconciliations.GetARReconciliationSummary(Int64 reconciliationReferenceInitialId) in /home/vsts/work/1/s/Aquila.AccountReconciliations/AccountReconciliations.cs:line 82
   at Aquila.AccountReconciliations.ReconcileAccountsMethods.SetupARGroups(Int64 reconciliationReferenceInitialId) in /home/vsts/work/1/s/Aquila.AccountReconciliations/ReconcileAccountsMethods.cs:line 1383