Hi there,
Got this exception sometimes. I can't reproduce it unfortunately.
2024-06-18 05:13:34.809 +00:00 [ERR] Unhandled exception in circuit '0Ii8lf77GLluHYmZrOx5tkCI26mNfhJH2DUyX1YmOpQ'.
System.ObjectDisposedException: Instances cannot be resolved and nested lifetimes cannot be created from this LifetimeScope as it (or one of its parent scopes) has already been disposed.
at Autofac.Core.Lifetime.LifetimeScope.ResolveComponent(ResolveRequest request)
at Autofac.ResolutionExtensions.TryResolveService(IComponentContext context, Service service, IEnumerable1 parameters, Object& instance) at Autofac.ResolutionExtensions.ResolveService(IComponentContext context, Service service, IEnumerable
1 parameters)
at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService[T](IServiceProvider provider)
at Volo.Abp.ObjectMapping.DefaultObjectMapper.Map[TSource,TDestination](TSource source)
at Volo.Abp.LanguageManagement.DatabaseLanguageProvider.bDKc3J4YN()
at Volo.Abp.Caching.DistributedCache2.GetOrAddAsync(TCacheKey key, Func
1 factory, Func1 optionsFactory, Nullable
1 hideErrors, Boolean considerUow, CancellationToken token)
at Volo.Abp.LanguageManagement.DatabaseLanguageProvider.GetLanguagesAsync()
at Volo.Abp.AspNetCore.Components.Server.LeptonTheme.LeptonThemeToolbarContributor.ConfigureToolbarAsync(IToolbarConfigurationContext context)
at Volo.Abp.AspNetCore.Components.Web.Theming.Toolbars.ToolbarManager.GetAsync(String name)
at Volo.Abp.AspNetCore.Components.Web.LeptonTheme.Components.ApplicationLayout.MainHeader.MainHeaderToolbar.OnInitializedAsync()
at Microsoft.AspNetCore.Components.ComponentBase.RunInitAndSetParametersAsync()
at Microsoft.AspNetCore.Components.RenderTree.Renderer.GetErrorHandledTask(Task taskToHandle, ComponentState owningComponentState)
How to fix that?
ABP Framework version**: v5.3.0 UI Type**: Blazor Server Database System**: EF Core (SQL Server) Tiered (for MVC) Exception message and full stack trace**: