Open Closed

I got exception while trying to modify functions of edtion #6903


User avatar
0
zhongfang created
  • ABP Framework version: v8.0.5
  • UI Type: Blazor Server
  • Database System: EF Core (MySQL)
  • Tiered (for MVC) or Auth Server Separated (for Angular): no
  • Exception message and full stack trace:
[09:51:14 WRN] Unhandled exception rendering component: Value cannot be null. (Parameter 'stringLocalizer')
System.ArgumentNullException: Value cannot be null. (Parameter 'stringLocalizer')
   at System.ArgumentNullException.Throw(String paramName)
   at System.ArgumentNullException.ThrowIfNull(Object argument, String paramName)
   at Microsoft.Extensions.Localization.StringLocalizerExtensions.GetString(IStringLocalizer stringLocalizer, String name)
   at Volo.Abp.FeatureManagement.Blazor.Components.FeatureManagementModal.<>c__DisplayClass43_5.<BuildRenderTree>b__21(RenderTreeBuilder __builder9)
   at Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder.AddContent(Int32 sequence, RenderFragment fragment)
   at Blazorise.SelectItem`1.BuildRenderTree(RenderTreeBuilder __builder)
   at Microsoft.AspNetCore.Components.Rendering.ComponentState.RenderIntoBatch(RenderBatchBuilder batchBuilder, RenderFragment renderFragment, Exception& renderFragmentException)
  • Steps to reproduce the issue:
  • I define many features while ABP 4.1 or later
  • All features I defined work very well. So I need not to maintain them.
  • I have not got into https://localhost:44313/saas/host/editions for more than 1 year
  • Now, I click functions for a edtion in above url, I got above exception.

3 Answer(s)
  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    Can you get the same exception on a new 8.0.5 template project?

  • User Avatar
    0
    zhongfang created

    hi

    Can you get the same exception on a new 8.0.5 template project?

    It is very normal. I have created a new application with ABP Suite 8.0.5 just now.

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    If the template project works, can you share a minimal project to reproduce your error?

    liming.ma@volosoft.com

    Thanks.

Made with ❤️ on ABP v8.2.0-preview Updated on March 25, 2024, 15:11