Activities of "maliming"

👍

https://github.com/abpframework/abp/pull/20068

hi

Can you share full logs.txt file?

Thanks

liming.ma@volosoft.com

Your current ticket has been refuned.

hi

Move to https://support.abp.io/QA/Questions/7361/SystemObjectDisposedException#answer-3a13404d-04c7-be3e-ad9b-df12c5c88e54

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, IEnumerable1 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, Func1 factory, Func1 optionsFactory, Nullable1 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**:

Answer

hi

Can you share a simple project to reproduce this error?

Thanks.

liming.ma@volosoft.com

hi

We will fix the AddAbpSwaggerGenWithOAuth method.

You can replace the abp.swagger.js and replace your tenant domain now.

https://github.com/abpframework/abp/blob/dev/framework/src/Volo.Abp.Swashbuckle/wwwroot/swagger/ui/abp.swagger.js#L35 https://github.com/abpframework/abp/blob/dev/framework/src/Volo.Abp.Swashbuckle/wwwroot/swagger/ui/abp.swagger.js#L42

Put the abp.swagger.js file in wwwroot/swagger/ui

hi

var itemManager = new ItemManager(itemRepository)

You can consider getting services from DI(ServiceProvider)

If you want to create an instance manually, You have to set its properties manually.

var itemManager = new ItemManager(itemRepository)
ObjectHelper.TrySetProperty(
    itemManager,
    x => x.GuidGenerator,
    () => new GuidGenerator()
);

hi

What's the value of $"authority.TrimEnd('/')}{authorizationEndpoint.EnsureStartswith('/')} ?

Showing 4661 to 4670 of 11567 entries
Learn More, Pay Less
33% OFF
All Trainings!
Get Your Deal
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v10.1.0-preview. Updated on December 25, 2025, 06:16
1
ABP Assistant
🔐 You need to be logged in to use the chatbot. Please log in first.