abp icon indicating copy to clipboard operation
abp copied to clipboard

An internal error occurred during your request!

Open hamzash750 opened this issue 1 year ago • 4 comments

Is there an existing issue for this?

  • [x] I have searched the existing issues

Description

Problem

An error has occured! An internal error occurred during your request!

Details

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 void Autofac.Core.Lifetime.LifetimeScope.ThrowDisposedException() at object Autofac.Core.Lifetime.LifetimeScope.ResolveComponent(in ResolveRequest request) at object Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(IServiceProvider provider, Type serviceType) at T Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(IServiceProvider provider) at async Task Volo.Abp.Studio.UI.Trees.TreeItemUIModelBase.LoadAsync() at async Task Volo.Abp.Studio.UI.Solutions.SolutionModelLoader.LoadAsync(string path, bool isReload) at async Task Volo.Abp.Studio.UI.ViewModels.WelcomePageViewModel.xFuqzML4QO(RecentSolutionItem )

Version

1.0.1

Operation System

Windows (Default)

Solution Configuration

No response

Other information

This issue has been reported from ABP Studio.

hamzash750 avatar Jul 18 '25 07:07 hamzash750

hi @hamzash750

Can you share the code and steps to reproduce this exception?

Thanks.

maliming avatar Jul 18 '25 07:07 maliming

Hi @maliming

I'm not exactly sure what caused it, but I was working on the Auth API when my system froze, and I couldn’t perform any actions. I ended up restarting my system. After the restart, when I launched ABP Studio and selected my solution from the welcome page, an error occurred and the solution didn’t open. I then closed ABP Studio and tried opening the solution again — this time it loaded without any issues.

hamzash750 avatar Jul 22 '25 04:07 hamzash750

Hi

You can try to run apps by dotnet run command.

maliming avatar Jul 22 '25 06:07 maliming

Looks transient — it loaded fine on retry and we can't reproduce the ObjectDisposedException. Closing; reopen with repro steps if it comes back.

maliming avatar Jun 22 '26 02:06 maliming