Open Closed

An error occurs when creating a user using the user module. #8525


User avatar
0
327992883@qq.com created
  • ABP Framework version: v7.2.3
  • UI Type: Blazor Server
  • Database System: EF Core (SQL Server, Oracle)
  • Tiered (for MVC) or Auth Server Separated (for Angular): yes
  • Exception message and full stack trace:

[15:44:06 DBG] PermissionStore.GetCacheItemAsync: pn:R,pk:admin,n:AbpIdentity.Users.Create [15:44:06 DBG] Found in the cache: pn:U,pk:2cf7c405-21f2-40ca-bed6-3a0da8cb9d46,n:AbpIdentity.Users.Import [15:44:06 DBG] PermissionStore.GetCacheItemAsync: pn:R,pk:admin,n:AbpIdentity.Users.Import [15:44:06 DBG] Found in the cache: pn:R,pk:admin,n:AbpIdentity.Users.Create [15:44:06 DBG] Found in the cache: pn:R,pk:admin,n:AbpIdentity.Users.Import [15:44:06 DBG] PermissionStore.GetCacheItemAsync: pn:U,pk:2cf7c405-21f2-40ca-bed6-3a0da8cb9d46,n:AbpIdentity.Users.Create [15:44:06 DBG] PermissionStore.GetCacheItemAsync: pn:U,pk:2cf7c405-21f2-40ca-bed6-3a0da8cb9d46,n:AbpIdentity.Users.Create [15:44:06 DBG] Found in the cache: pn:U,pk:2cf7c405-21f2-40ca-bed6-3a0da8cb9d46,n:AbpIdentity.Users.Create [15:44:06 DBG] PermissionStore.GetCacheItemAsync: pn:R,pk:admin,n:AbpIdentity.Users.Create [15:44:06 DBG] Found in the cache: pn:U,pk:2cf7c405-21f2-40ca-bed6-3a0da8cb9d46,n:AbpIdentity.Users.Create [15:44:06 DBG] PermissionStore.GetCacheItemAsync: pn:R,pk:admin,n:AbpIdentity.Users.Create [15:44:06 DBG] Found in the cache: pn:R,pk:admin,n:AbpIdentity.Users.Create [15:44:06 DBG] PermissionStore.GetCacheItemAsync: pn:U,pk:2cf7c405-21f2-40ca-bed6-3a0da8cb9d46,n:AbpIdentity.Users.Import [15:44:06 DBG] Found in the cache: pn:R,pk:admin,n:AbpIdentity.Users.Create [15:44:06 DBG] PermissionStore.GetCacheItemAsync: pn:U,pk:2cf7c405-21f2-40ca-bed6-3a0da8cb9d46,n:AbpIdentity.Users [15:44:06 DBG] Found in the cache: pn:U,pk:2cf7c405-21f2-40ca-bed6-3a0da8cb9d46,n:AbpIdentity.Users.Import [15:44:06 DBG] PermissionStore.GetCacheItemAsync: pn:R,pk:admin,n:AbpIdentity.Users.Import [15:44:06 DBG] Found in the cache: pn:U,pk:2cf7c405-21f2-40ca-bed6-3a0da8cb9d46,n:AbpIdentity.Users [15:44:06 DBG] Found in the cache: pn:R,pk:admin,n:AbpIdentity.Users.Import [15:44:06 DBG] PermissionStore.GetCacheItemAsync: pn:R,pk:admin,n:AbpIdentity.Users [15:44:06 DBG] PermissionStore.GetCacheItemAsync: pn:U,pk:2cf7c405-21f2-40ca-bed6-3a0da8cb9d46,n:AbpIdentity.Users.Create [15:44:06 DBG] Found in the cache: pn:R,pk:admin,n:AbpIdentity.Users [15:44:06 DBG] Found in the cache: pn:U,pk:2cf7c405-21f2-40ca-bed6-3a0da8cb9d46,n:AbpIdentity.Users.Create [15:44:06 DBG] PermissionStore.GetCacheItemAsync: pn:R,pk:admin,n:AbpIdentity.Users.Create [15:44:06 DBG] Found in the cache: pn:R,pk:admin,n:AbpIdentity.Users.Create [15:44:06 DBG] PermissionStore.GetCacheItemAsync: pn:U,pk:2cf7c405-21f2-40ca-bed6-3a0da8cb9d46,n:AbpIdentity.Users.Import [15:44:06 DBG] Found in the cache: pn:U,pk:2cf7c405-21f2-40ca-bed6-3a0da8cb9d46,n:AbpIdentity.Users.Import [15:44:06 DBG] PermissionStore.GetCacheItemAsync: pn:R,pk:admin,n:AbpIdentity.Users.Import [15:44:06 DBG] Found in the cache: pn:R,pk:admin,n:AbpIdentity.Users.Import [15:44:06 DBG] PermissionStore.GetCacheItemAsync: pn:U,pk:2cf7c405-21f2-40ca-bed6-3a0da8cb9d46,n:AbpIdentity.Users [15:44:06 DBG] Found in the cache: pn:U,pk:2cf7c405-21f2-40ca-bed6-3a0da8cb9d46,n:AbpIdentity.Users [15:44:06 DBG] PermissionStore.GetCacheItemAsync: pn:R,pk:admin,n:AbpIdentity.Users [15:44:06 DBG] Found in the cache: pn:R,pk:admin,n:AbpIdentity.Users [15:44:06 WRN] Ldap login feature is not enabled! [15:44:06 WRN] OAuth login feature is not enabled! [15:44:07 DBG] Added 0 entity changes to the current audit log [15:44:07 DBG] Added 0 entity changes to the current audit log [15:44:07 DBG] Added 0 entity changes to the current audit log [15:44:07 DBG] PermissionStore.GetCacheItemAsync: pn:U,pk:2cf7c405-21f2-40ca-bed6-3a0da8cb9d46,n:AbpIdentity.Users.Update.ManageRoles [15:44:07 DBG] Found in the cache: pn:U,pk:2cf7c405-21f2-40ca-bed6-3a0da8cb9d46,n:AbpIdentity.Users.Update.ManageRoles [15:44:07 DBG] PermissionStore.GetCacheItemAsync: pn:R,pk:admin,n:AbpIdentity.Users.Update.ManageRoles [15:44:07 DBG] Found in the cache: pn:R,pk:admin,n:AbpIdentity.Users.Update.ManageRoles [15:44:08 DBG] Added 0 entity changes to the current audit log [15:44:08 DBG] Added 0 entity changes to the current audit log [15:44:08 DBG] PermissionStore.GetCacheItemAsync: pn:U,pk:2cf7c405-21f2-40ca-bed6-3a0da8cb9d46,n:AbpIdentity.Users.Update.ManageOU [15:44:08 DBG] Found in the cache: pn:U,pk:2cf7c405-21f2-40ca-bed6-3a0da8cb9d46,n:AbpIdentity.Users.Update.ManageOU [15:44:08 DBG] PermissionStore.GetCacheItemAsync: pn:R,pk:admin,n:AbpIdentity.Users.Update.ManageOU [15:44:08 DBG] Found in the cache: pn:R,pk:admin,n:AbpIdentity.Users.Update.ManageOU [15:44:08 DBG] Added 0 entity changes to the current audit log [15:44:08 DBG] Added 0 entity changes to the current audit log [15:44:08 DBG] Added 0 entity changes to the current audit log [15:44:08 DBG] Added 0 entity changes to the current audit log [15:44:08 DBG] Added 0 entity changes to the current audit log [15:44:09 ERR] Already closed: The AMQP operation was interrupted: AMQP close-reason, initiated by Library, code=541, text='Unexpected Exception', classId=0, methodId=0, cause=System.Collections.Generic.KeyNotFoundException: The given key '2' was not present in the dictionary. at System.Collections.Generic.Dictionary2.get_Item(TKey key) at RabbitMQ.Client.Impl.SessionManager.Lookup(Int32 number) at RabbitMQ.Client.Framing.Impl.Connection.MainLoopIteration() at RabbitMQ.Client.Framing.Impl.Connection.MainLoop() RabbitMQ.Client.Exceptions.AlreadyClosedException: Already closed: The AMQP operation was interrupted: AMQP close-reason, initiated by Library, code=541, text='Unexpected Exception', classId=0, methodId=0, cause=System.Collections.Generic.KeyNotFoundException: The given key '2' was not present in the dictionary. at System.Collections.Generic.Dictionary2.get_Item(TKey key) at RabbitMQ.Client.Impl.SessionManager.Lookup(Int32 number) at RabbitMQ.Client.Framing.Impl.Connection.MainLoopIteration() at RabbitMQ.Client.Framing.Impl.Connection.MainLoop() at RabbitMQ.Client.Framing.Impl.Connection.EnsureIsOpen() at RabbitMQ.Client.Framing.Impl.AutorecoveringConnection.EnsureIsOpen() at RabbitMQ.Client.Framing.Impl.AutorecoveringConnection.CreateModel() at Volo.Abp.EventBus.RabbitMq.RabbitMqDistributedEventBus.PublishAsync(String eventName, Byte[] body, IBasicProperties properties, Dictionary2 headersArguments, Nullable1 eventId) at Volo.Abp.EventBus.RabbitMq.RabbitMqDistributedEventBus.PublishAsync(Type eventType, Object eventData, IBasicProperties properties, Dictionary2 headersArguments) at Volo.Abp.EventBus.RabbitMq.RabbitMqDistributedEventBus.PublishToEventBusAsync(Type eventType, Object eventData) at Volo.Abp.EventBus.Distributed.DistributedEventBusBase.PublishAsync(Type eventType, Object eventData, Boolean onUnitOfWorkComplete, Boolean useOutbox) at Volo.Abp.EventBus.UnitOfWorkEventPublisher.PublishDistributedEventsAsync(IEnumerable1 distributedEvents) at Volo.Abp.Uow.UnitOfWork.CompleteAsync(CancellationToken cancellationToken) at Volo.Abp.Uow.UnitOfWorkInterceptor.InterceptAsync(IAbpMethodInvocation invocation) at Volo.Abp.Castle.DynamicProxy.CastleAsyncAbpInterceptorAdapter1.InterceptAsync[TResult](IInvocation invocation, IInvocationProceedInfo proceedInfo, Func3 proceed) at Volo.Abp.BlazoriseUI.AbpCrudPageBase10.CreateEntityAsync() [15:44:09 DBG] PermissionStore.GetCacheItemAsync: pn:U,pk:2cf7c405-21f2-40ca-bed6-3a0da8cb9d46,n:AbpIdentity.Users.Import [15:44:09 DBG] ResourceManagerStringLocalizer searched for 'Cancel' in 'Volo.Abp.Identity.Localization.IdentityResource' with culture 'zh-Hans'. [15:44:09 DBG] PermissionStore.GetCacheItemAsync: pn:U,pk:2cf7c405-21f2-40ca-bed6-3a0da8cb9d46,n:AbpIdentity.Users.Import [15:44:09 DBG] Found in the cache: pn:U,pk:2cf7c405-21f2-40ca-bed6-3a0da8cb9d46,n:AbpIdentity.Users.Import [15:44:09 DBG] PermissionStore.GetCacheItemAsync: pn:R,pk:admin,n:AbpIdentity.Users.Import [15:44:09 DBG] Found in the cache: pn:U,pk:2cf7c405-21f2-40ca-bed6-3a0da8cb9d46,n:AbpIdentity.Users.Import [15:44:09 DBG] PermissionStore.GetCacheItemAsync: pn:R,pk:admin,n:AbpIdentity.Users.Import [15:44:09 DBG] Found in the cache: pn:R,pk:admin,n:AbpIdentity.Users.Import [15:44:09 DBG] PermissionStore.GetCacheItemAsync: pn:U,pk:2cf7c405-21f2-40ca-bed6-3a0da8cb9d46,n:AbpIdentity.Users.Create [15:44:09 DBG] Found in the cache: pn:R,pk:admin,n:AbpIdentity.Users.Import [15:44:09 DBG] PermissionStore.GetCacheItemAsync: pn:U,pk:2cf7c405-21f2-40ca-bed6-3a0da8cb9d46,n:AbpIdentity.Users.Create [15:44:09 DBG] Found in the cache: pn:U,pk:2cf7c405-21f2-40ca-bed6-3a0da8cb9d46,n:AbpIdentity.Users.Create [15:44:09 DBG] PermissionStore.GetCacheItemAsync: pn:R,pk:admin,n:AbpIdentity.Users.Create [15:44:09 DBG] Found in the cache: pn:R,pk:admin,n:AbpIdentity.Users.Create [15:44:09 DBG] Found in the cache: pn:U,pk:2cf7c405-21f2-40ca-bed6-3a0da8cb9d46,n:AbpIdentity.Users.Create [15:44:09 DBG] PermissionStore.GetCacheItemAsync: pn:R,pk:admin,n:AbpIdentity.Users.Create [15:44:09 DBG] PermissionStore.GetCacheItemAsync: pn:U,pk:2cf7c405-21f2-40ca-bed6-3a0da8cb9d46,n:AbpIdentity.Users.Import [15:44:10 DBG] Found in the cache: pn:U,pk:2cf7c405-21f2-40ca-bed6-3a0da8cb9d46,n:AbpIdentity.Users.Import [15:44:10 DBG] Found in the cache: pn:R,pk:admin,n:AbpIdentity.Users.Create [15:44:10 DBG] PermissionStore.GetCacheItemAsync: pn:R,pk:admin,n:AbpIdentity.Users.Import [15:44:10 DBG] PermissionStore.GetCacheItemAsync: pn:U,pk:2cf7c405-21f2-40ca-bed6-3a0da8cb9d46,n:AbpIdentity.Users.Import [15:44:10 DBG] Found in the cache: pn:R,pk:admin,n:AbpIdentity.Users.Import [15:44:10 DBG] Found in the cache: pn:U,pk:2cf7c405-21f2-40ca-bed6-3a0da8cb9d46,n:AbpIdentity.Users.Import [15:44:10 DBG] PermissionStore.GetCacheItemAsync: pn:R,pk:admin,n:AbpIdentity.Users.Import [15:44:10 DBG] PermissionStore.GetCacheItemAsync: pn:U,pk:2cf7c405-21f2-40ca-bed6-3a0da8cb9d46,n:AbpIdentity.Users.Create [15:44:10 DBG] Found in the cache: pn:U,pk:2cf7c405-21f2-40ca-bed6-3a0da8cb9d46,n:AbpIdentity.Users.Create [15:44:10 DBG] Found in the cache: pn:R,pk:admin,n:AbpIdentity.Users.Import [15:44:10 DBG] PermissionStore.GetCacheItemAsync: pn:R,pk:admin,n:AbpIdentity.Users.Create [15:44:10 DBG] PermissionStore.GetCacheItemAsync: pn:U,pk:2cf7c405-21f2-40ca-bed6-3a0da8cb9d46,n:AbpIdentity.Users.Create [15:44:10 DBG] Found in the cache: pn:R,pk:admin,n:AbpIdentity.Users.Create [15:44:10 DBG] Found in the cache: pn:U,pk:2cf7c405-21f2-40ca-bed6-3a0da8cb9d46,n:AbpIdentity.Users.Create [15:44:10 DBG] PermissionStore.GetCacheItemAsync: pn:R,pk:admin,n:AbpIdentity.Users.Create [15:44:10 DBG] PermissionStore.GetCacheItemAsync: pn:U,pk:2cf7c405-21f2-40ca-bed6-3a0da8cb9d46,n:AbpIdentity.Users.Import [15:44:10 DBG] Found in the cache: pn:R,pk:admin,n:AbpIdentity.Users.Create [15:44:10 DBG] Found in the cache: pn:U,pk:2cf7c405-21f2-40ca-bed6-3a0da8cb9d46,n:AbpIdentity.Users.Import [15:44:10 DBG] PermissionStore.GetCacheItemAsync: pn:R,pk:admin,n:AbpIdentity.Users.Import [15:44:10 DBG] PermissionStore.GetCacheItemAsync: pn:U,pk:2cf7c405-21f2-40ca-bed6-3a0da8cb9d46,n:AbpIdentity.Users.Import [15:44:10 DBG] Found in the cache: pn:R,pk:admin,n:AbpIdentity.Users.Import [15:44:10 DBG] PermissionStore.GetCacheItemAsync: pn:U,pk:2cf7c405-21f2-40ca-bed6-3a0da8cb9d46,n:AbpIdentity.Users [15:44:10 DBG] Found in the cache: pn:U,pk:2cf7c405-21f2-40ca-bed6-3a0da8cb9d46,n:AbpIdentity.Users.Import [15:44:10 DBG] PermissionStore.GetCacheItemAsync: pn:R,pk:admin,n:AbpIdentity.Users.Import [15:44:10 DBG] Found in the cache: pn:U,pk:2cf7c405-21f2-40ca-bed6-3a0da8cb9d46,n:AbpIdentity.Users [15:44:10 DBG] PermissionStore.GetCacheItemAsync: pn:R,pk:admin,n:AbpIdentity.Users [15:44:10 DBG] Found in the cache: pn:R,pk:admin,n:AbpIdentity.Users.Import [15:44:10 DBG] PermissionStore.GetCacheItemAsync: pn:U,pk:2cf7c405-21f2-40ca-bed6-3a0da8cb9d46,n:AbpIdentity.Users [15:44:10 DBG] Found in the cache: pn:R,pk:admin,n:AbpIdentity.Users [15:44:10 DBG] Found in the cache: pn:U,pk:2cf7c405-21f2-40ca-bed6-3a0da8cb9d46,n:AbpIdentity.Users [15:44:10 DBG] PermissionStore.GetCacheItemAsync: pn:R,pk:admin,n:AbpIdentity.Users [15:44:10 DBG] Found in the cache: pn:R,pk:admin,n:AbpIdentity.Users [15:44:10 WRN] Ldap login feature is not enabled! [15:44:10 WRN] Ldap login feature is not enabled! [15:44:10 WRN] OAuth login feature is not enabled! [15:44:10 WRN] OAuth login feature is not enabled! [15:44:14 WRN] Already closed: The AMQP operation was interrupted: AMQP close-reason, initiated by Library, code=541, text='Unexpected Exception', classId=0, methodId=0, cause=System.Collections.Generic.KeyNotFoundException: The given key '2' was not present in the dictionary. at System.Collections.Generic.Dictionary2.get_Item(TKey key) at RabbitMQ.Client.Impl.SessionManager.Lookup(Int32 number) at RabbitMQ.Client.Framing.Impl.Connection.MainLoopIteration() at RabbitMQ.Client.Framing.Impl.Connection.MainLoop() RabbitMQ.Client.Exceptions.AlreadyClosedException: Already closed: The AMQP operation was interrupted: AMQP close-reason, initiated by Library, code=541, text='Unexpected Exception', classId=0, methodId=0, cause=System.Collections.Generic.KeyNotFoundException: The given key '2' was not present in the dictionary. at System.Collections.Generic.Dictionary`2.get_Item(TKey key) at RabbitMQ.Client.Impl.SessionManager.Lookup(Int32 number) at RabbitMQ.Client.Framing.Impl.Connection.MainLoopIteration() at RabbitMQ.Client.Framing.Impl.Connection.MainLoop() at RabbitMQ.Client.Framing.Impl.Connection.EnsureIsOpen() at RabbitMQ.Client.Framing.Impl.AutorecoveringConnection.EnsureIsOpen() at RabbitMQ.Client.Framing.Impl.AutorecoveringConnection.CreateModel() at Volo.Abp.RabbitMQ.RabbitMqMessageConsumer.TryCreateChannelAsync() [15:44:15 INF] Application is shutting down... [15:44:15 INF] Executed endpoint '/_blazor' [15:44:15 INF] Executed endpoint '/_blazor' [15:44:15 INF] Request finished HTTP/2 CONNECT https://localhost:44396/_blazor?id=usxtUm7jaAz-2VCWIBWPvQ - - - 200 - - 36815.2175ms [15:44:15 INF] Request finished HTTP/2 CONNECT https://localhost:44396/_blazor?id=RvmStun6EnU1w_KXpDhRWA - - - 200 - - 32526.2706ms [15:44:15 INF] Connection id "0HN934LVSPHV3", Request id "0HN934LVSPHV3:00000003": the application completed without reading the entire request body. [15:44:15 INF] Connection id "0HN934LVSPHV3", Request id "0HN934LVSPHV3:00000049": the application completed without reading the entire request body. [15:44:15 DBG] Disposed channel pool with no channels in the pool. [15:44:18 DBG] Stopped background worker: Volo.Abp.OpenIddict.Tokens.TokenCleanupBackgroundWorker

  • Steps to reproduce the issue:An error occurs when creating a user using the user module.

4 Answer(s)
  • User Avatar
    0
    Anjali_Musmade created
    Support Team Member

    Hello

    At my side i have check its work fine can you please share some steps to reproduce this issue

    Thank you.

  • User Avatar
    0
    327992883@qq.com created

    Hello

    At my side i have check its work fine can you please share some steps to reproduce this issue

    Thank you.

    Please check the reproduction steps in the git picture.

  • User Avatar
    0
    327992883@qq.com created

    The database used is SQL Server 2019.

  • User Avatar
    0
    Anjali_Musmade created
    Support Team Member

    At my side its work Video

Boost Your Development
ABP Live Training
Packages
See Trainings
Mastering ABP Framework Book
Do you need assistance from an ABP expert?
Schedule a Meeting
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v9.2.0-preview. Updated on March 13, 2025, 04:08