Starts in:
2 DAYS
16 HRS
38 MIN
35 SEC
Starts in:
2 D
16 H
38 M
35 S
Open Closed

SettingsManagement error after 7.3.2 update and wrong LeptonX packages #5602


User avatar
0
ccernat created
  • ABP Framework version: v7.3.2
  • UI Type: Blazor Server
  • Database System: EF Core (SQL Server, Oracle, MySQL, PostgreSQL, etc..)
  • Tiered (for MVC) or Auth Server Separated (for Angular): no
  • Exception message and full stack trace:
  • 2023-08-16 16:33:23.377 +03:00 [DBG] Waiting to acquire the distributed lock for saving external localizations... 2023-08-16 16:33:23.377 +03:00 [INF] Saving external localizations... 2023-08-16 16:33:23.570 +03:00 [INF] Initialized all ABP modules. 2023-08-16 16:33:23.611 +03:00 [INF] Application started. Press Ctrl+C to shut down. 2023-08-16 16:33:23.611 +03:00 [INF] Hosting environment: Development 2023-08-16 16:33:23.611 +03:00 [INF] Content root path: C:\Proiecte\KPIMailer\src\KPImailer.Blazor 2023-08-16 16:33:23.623 +03:00 [INF] Request starting HTTP/2 GET https://localhost:44377/ - - 2023-08-16 16:33:24.186 +03:00 [ERR] An unhandled exception has occurred while executing the request. System.MissingMethodException: Method not found: 'System.Collections.Generic.IReadOnlyList1<Volo.Abp.Settings.SettingDefinition> Volo.Abp.Settings.ISettingDefinitionManager.GetAll()'. at Volo.Abp.SettingManagement.SettingManagementStore.SetCacheItemsAsync(String providerName, String providerKey, String currentName, SettingCacheItem currentCacheItem) at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine) at Volo.Abp.SettingManagement.SettingManagementStore.SetCacheItemsAsync(String providerName, String providerKey, String currentName, SettingCacheItem currentCacheItem) at Volo.Abp.SettingManagement.SettingManagementStore.GetCacheItemAsync(String name, String providerName, String providerKey) at Volo.Abp.SettingManagement.SettingManagementStore.GetOrNullAsync(String name, String providerName, String providerKey) at Castle.DynamicProxy.AsyncInterceptorBase.ProceedAsynchronous[TResult](IInvocation invocation, IInvocationProceedInfo proceedInfo) at Volo.Abp.Castle.DynamicProxy.CastleAbpMethodInvocationAdapterWithReturnValue1.ProceedAsync() 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.Settings.TenantSettingValueProvider.GetOrNullAsync(SettingDefinition setting) at Volo.Abp.Settings.SettingProvider.GetOrNullValueFromProvidersAsync(IEnumerable1 providers, SettingDefinition setting) at Volo.Abp.Settings.SettingProvider.GetOrNullAsync(String name) at Microsoft.AspNetCore.RequestLocalization.DefaultAbpRequestLocalizationOptionsProvider.GetLocalizationOptionsAsync() at Microsoft.AspNetCore.RequestLocalization.AbpRequestLocalizationMiddleware.InvokeAsync(HttpContext context, RequestDelegate next) at Microsoft.AspNetCore.Builder.UseMiddlewareExtensions.<>c__DisplayClass6_1.<<UseMiddlewareInterface>b__1>d.MoveNext() --- End of stack trace from previous location --- at Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddlewareImpl.Invoke(HttpContext context) 2023-08-16 16:33:24.258 +03:00 [INF] Request finished HTTP/2 GET https://localhost:44377/ - - - 500 - text/html;+charset=utf-8 635.9571ms 2023-08-16 16:33:24.269 +03:00 [INF] Request starting HTTP/2 GET https://localhost:44377/_vs/browserLink - - 2023-08-16 16:33:24.270 +03:00 [INF] Request starting HTTP/2 GET https://localhost:44377/_framework/aspnetcore-browser-refresh.js - - 2023-08-16 16:33:24.274 +03:00 [INF] Request finished HTTP/2 GET https://localhost:44377/_framework/aspnetcore-browser-refresh.js - - - 200 12364 application/javascript;+charset=utf-8 3.8624ms 2023-08-16 16:33:24.280 +03:00 [INF] Request finished HTTP/2 GET https://localhost:44377/_vs/browserLink - - - 200 - text/javascript;+charset=UTF-8 10.7325ms 2023-08-16 16:33:24.337 +03:00 [INF] Request starting HTTP/2 GET https://localhost:44377/favicon.ico - - 2023-08-16 16:33:24.341 +03:00 [ERR] An unhandled exception has occurred while executing the request. System.MissingMethodException: Method not found: 'System.Collections.Generic.IReadOnlyList1<Volo.Abp.Settings.SettingDefinition> Volo.Abp.Settings.ISettingDefinitionManager.GetAll()'. at Volo.Abp.SettingManagement.SettingManagementStore.SetCacheItemsAsync(String providerName, String providerKey, String currentName, SettingCacheItem currentCacheItem) at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine) at Volo.Abp.SettingManagement.SettingManagementStore.SetCacheItemsAsync(String providerName, String providerKey, String currentName, SettingCacheItem currentCacheItem) at Volo.Abp.SettingManagement.SettingManagementStore.GetCacheItemAsync(String name, String providerName, String providerKey) at Volo.Abp.SettingManagement.SettingManagementStore.GetOrNullAsync(String name, String providerName, String providerKey) at Castle.DynamicProxy.AsyncInterceptorBase.ProceedAsynchronous[TResult](IInvocation invocation, IInvocationProceedInfo proceedInfo) at Volo.Abp.Castle.DynamicProxy.CastleAbpMethodInvocationAdapterWithReturnValue1.ProceedAsync() 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.Settings.TenantSettingValueProvider.GetOrNullAsync(SettingDefinition setting) at Volo.Abp.Settings.SettingProvider.GetOrNullValueFromProvidersAsync(IEnumerable1 providers, SettingDefinition setting) at Volo.Abp.Settings.SettingProvider.GetOrNullAsync(String name) at Microsoft.AspNetCore.RequestLocalization.DefaultAbpRequestLocalizationOptionsProvider.GetLocalizationOptionsAsync() at Microsoft.AspNetCore.RequestLocalization.AbpRequestLocalizationMiddleware.InvokeAsync(HttpContext context, RequestDelegate next) at Microsoft.AspNetCore.Builder.UseMiddlewareExtensions.<>c__DisplayClass6_1.<<UseMiddlewareInterface>b__1>d.MoveNext() --- End of stack trace from previous location ---
  • Steps to reproduce the issue:

I updated my ABP Blazor template solution to 7.3.2 and I have the error described. Also, it replaces the LeptonX packages version with preview packages:

<PackageReference Include="Volo.Abp.AspNetCore.Mvc.UI.Theme.LeptonX" Version="2.4.0-preview20230816" /> <PackageReference Include="Volo.Abp.AspNetCore.Components.Server.LeptonXTheme" Version="2.4.0-preview20230816" />

Tks for help!

Catalin


1 Answer(s)
  • User Avatar
    0
    liangshiwei created
    Support Team Fullstack Developer

    Hi,

    We have fixed it: https://github.com/abpframework/abp/pull/17344

    You can change the 2.4.0-preview20230810 to 2.3.- manually as a temporary solution

Made with ❤️ on ABP v9.1.0-preview. Updated on November 20, 2024, 13:06