[12:25:58 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)
I must mentioned that I didn't difine features for versions for many months. But I use ABP from 4.x.x to 8.3.0...
MySqlConnector.MySqlException (0x80004005): Table '****.AbpSessions' doesn't exist
[03:21:23 INF] The access_token is active.
[03:21:23 INF] Executing endpoint '/_Host'
[03:21:23 INF] Route matched with {page = "/_Host", action = "", controller = "", area = ""}. Executing page /_Host
[03:21:23 INF] Skipping the execution of current filter as its not the most effective filter implementing the policy Microsoft.AspNetCore.Mvc.ViewFeatures.IAntiforgeryPolicy
[03:21:23 INF] Antiforgery token validation failed. The required antiforgery header value "RequestVerificationToken" is not present.
Microsoft.AspNetCore.Antiforgery.AntiforgeryValidationException: The required antiforgery header value "RequestVerificationToken" is not present.
at Microsoft.AspNetCore.Antiforgery.DefaultAntiforgery.ValidateRequestAsync(HttpContext httpContext)
at Microsoft.AspNetCore.Mvc.ViewFeatures.Filters.ValidateAntiforgeryTokenAuthorizationFilter.OnAuthorizationAsync(AuthorizationFilterContext context)
[03:21:23 INF] Authorization failed for the request at filter 'Microsoft.AspNetCore.Mvc.ViewFeatures.Filters.AutoValidateAntiforgeryTokenAuthorizationFilter'.
[03:21:23 INF] Executing StatusCodeResult, setting HTTP status code 400
[03:21:23 INF] Executed page /_Host in 0.279ms
[03:21:23 INF] Executed endpoint '/_Host'
I log in to Blazor Server application. and I want to set https://localhost:44346/openIddict/Applications. how to split multi URL? why not give some HINT in web UI?
waste 2 hours. hope your reply!
ABP CLI 8.1.0
Password: Two factor authentication is enabled for your account. Please use `abp login --device` command to login.
PS V:\downloads\githubfast-main> abp login --device
ABP CLI 8.1.0
Open your browser, go to: "https://account.abp.io/connect/verify"
and enter the following one-time code:
8595-4011-****
[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)
2024-02-06 22:41:28.225 +08:00 [INF] User profile is available. Using 'C:\Users\David\AppData\Local\ASP.NET\DataProtection-Keys' as key repository and Windows DPAPI to encrypt keys at rest.
=== ENTITY GENERATION STARTED ===
* SOLUTION: Yee.Change.Rms
* ENTITY:{
"Id": "e1e644ee-3e78-4fd8-850d-d1bd4fe005d6",
"Name": "RuleGroup",
"OriginalName": "RuleGroup",
"NamePlural": "RuleGroups",
"DatabaseTableName": "RuleGroups",
"Namespace": "Public.RuleGroups",
"Type": 1,
"MasterEntityName": null,
"MasterEntity": null,
"BaseClass": "FullAuditedAggregateRoot",
"MenuIcon": "file-alt",
"PrimaryKeyType": "Guid",
"PreserveCustomCode": false,
"IsMultiTenant": true,
"CheckConcurrency": false,
"ShouldCreateUserInterface": true,
"ShouldCreateBackend": true,
"ShouldExportExcel": false,
"ShouldAddMigration": true,
"ShouldUpdateDatabase": true,
"CreateTests": true,
"Properties": [
{
"Id": "eeb67653-e276-4c2a-97b0-763f035007eb",
"Name": "Index",
"Type": "int",
"EnumType": "",
"EnumNamespace": "",
"EnumAngularImport": "shared/enums",
"EnumFilePath": null,
"DefaultValue": null,
"IsNullable": false,
"IsRequired": false,
"AllowEmptyStrings": false,
"IsTextArea": false,
"MinLength": 0,
"MaxLength": 99999999,
"SortOrder": 0,
"SortType": 0,
"Regex": "",
"EmailValidation": false,
"ShowOnList": true,
"ShowOnCreateModal": true,
"ShowOnEditModal": true,
"ReadonlyOnEditModal": false,
"EnumValues": null,
"IsSelected": true,
"OrdinalIndex": 0
},
{
"Id": "91caa501-4342-4bd5-b9c4-f293c36ee4ad",
"Name": "GroupName",
"Type": "string",
"EnumType": "",
"EnumNamespace": "",
"EnumAngularImport": "shared/enums",
"EnumFilePath": null,
"DefaultValue": null,
"IsNullable": false,
"IsRequired": true,
"AllowEmptyStrings": false,
"IsTextArea": false,
"MinLength": 2,
"MaxLength": 50,
"SortOrder": 0,
"SortType": 0,
"Regex": "",
"EmailValidation": false,
"ShowOnList": true,
"ShowOnCreateModal": true,
"ShowOnEditModal": true,
"ReadonlyOnEditModal": false,
"EnumValues": null,
"IsSelected": true,
"OrdinalIndex": 0
},
{
"Id": "48d9d1ff-2497-4938-b1de-8331a52533df",
"Name": "IsEnabled",
"Type": "bool",
"EnumType": "",
"EnumNamespace": "",
"EnumAngularImport": "shared/enums",
"EnumFilePath": null,
"DefaultValue": null,
"IsNullable": false,
"IsRequired": false,
"AllowEmptyStrings": false,
"IsTextArea": false,
"MinLength": null,
"MaxLength": null,
"SortOrder": 0,
"SortType": 0,
"Regex": "",
"EmailValidation": false,
"ShowOnList": true,
"ShowOnCreateModal": true,
"ShowOnEditModal": true,
"ReadonlyOnEditModal": false,
"EnumValues": null,
"IsSelected": true,
"OrdinalIndex": 0
},
{
"Id": "886c6504-0350-45da-a8f1-cdc876c7baad",
"Name": "Desc",
"Type": "string",
"EnumType": "",
"EnumNamespace": "",
"EnumAngularImport": "shared/enums",
"EnumFilePath": null,
"DefaultValue": null,
"IsNullable": false,
"IsRequired": false,
"AllowEmptyStrings": false,
"IsTextArea": false,
"MinLength": null,
"MaxLength": 200,
"SortOrder": 0,
"SortType": 0,
"Regex": "",
"EmailValidation": false,
"ShowOnList": true,
"ShowOnCreateModal": true,
"ShowOnEditModal": true,
"ReadonlyOnEditModal": false,
"EnumValues": null,
"IsSelected": true,
"OrdinalIndex": 0
},
{
"Id": "2ab33cc4-642e-4f3e-8e43-dfe1c314379e",
"Name": "Priority",
"Type": "int",
"EnumType": "",
"EnumNamespace": "",
"EnumAngularImport": "shared/enums",
"EnumFilePath": null,
"DefaultValue": null,
"IsNullable": false,
"IsRequired": true,
"AllowEmptyStrings": false,
"IsTextArea": false,
"MinLength": null,
"MaxLength": null,
"SortOrder": 0,
"SortType": 0,
"Regex": "",
"EmailValidation": false,
"ShowOnList": true,
"ShowOnCreateModal": true,
"ShowOnEditModal": true,
"ReadonlyOnEditModal": false,
"EnumValues": null,
"IsSelected": true,
"OrdinalIndex": 0
}
],
"NavigationProperties": [
{
"EntityNameWithDuplicationNumber": "RuleSystem",
"EntitySetNameWithDuplicationNumber": "RuleSystems",
"ReferencePropertyName": "RuleSystem",
"UiPickType": "Modal",
"IsRequired": true,
"Name": "RuleSystemId",
"DisplayProperty": "Name",
"Namespace": "Yee.Change.Rms.Public.RuleSystems",
"EntityName": "RuleSystem",
"EntitySetName": "RuleSystems",
"DtoNamespace": "Yee.Change.Rms.Public.RuleSystems",
"DtoEntityName": "RuleSystemDto",
"Type": "Guid"
}
],
"NavigationConnections": [],
"ChildEntities": [],
"PhysicalFileName": "RuleGroup.json"
}
2024-02-06 22:41:53.525 +08:00 [INF] 1/16 - EntityGenerateCommand started...
2024-02-06 22:42:11.379 +08:00 [INF] 1/16 - EntityGenerateCommand completed. | Duration: 17853 ms.
2024-02-06 22:42:11.380 +08:00 [INF] 2/16 - RepositoryCommand started...
2024-02-06 22:42:11.817 +08:00 [INF] 2/16 - RepositoryCommand completed. | Duration: 437 ms.
2024-02-06 22:42:11.817 +08:00 [INF] 3/16 - ManagerCommand started...
2024-02-06 22:42:11.857 +08:00 [INF] 3/16 - ManagerCommand completed. | Duration: 39 ms.
2024-02-06 22:42:11.857 +08:00 [INF] 4/16 - AppServiceCommand started...
2024-02-06 22:42:12.159 +08:00 [INF] 4/16 - AppServiceCommand completed. | Duration: 301 ms.
2024-02-06 22:42:12.159 +08:00 [INF] 5/16 - ProxyControllerCommand started...
2024-02-06 22:42:12.202 +08:00 [INF] 5/16 - ProxyControllerCommand completed. | Duration: 42 ms.
2024-02-06 22:42:12.202 +08:00 [INF] 6/16 - PermissionCommand started...
2024-02-06 22:42:12.281 +08:00 [INF] 6/16 - PermissionCommand completed. | Duration: 78 ms.
2024-02-06 22:42:12.281 +08:00 [INF] 7/16 - ApplicationObjectMappingCommand started...
2024-02-06 22:42:12.422 +08:00 [INF] 7/16 - ApplicationObjectMappingCommand completed. | Duration: 141 ms.
2024-02-06 22:42:12.422 +08:00 [INF] 8/16 - UnitTestCommandCommand started...
2024-02-06 22:42:14.638 +08:00 [ERR] ---------- RemoteServiceErrorInfo ----------
{
"code": null,
"message": "An internal error occurred during your request!",
"details": null,
"data": {},
"validationErrors": null
}
2024-02-06 22:42:14.644 +08:00 [ERR] Could not find a part of the path 'H:\change\3rd\rms2\test\Yee.Change.Rms.Domain.Tests\Public.RuleGroups\RuleSystemsDataSeedContributor.cs'.
System.IO.DirectoryNotFoundException: Could not find a part of the path 'H:\change\3rd\rms2\test\Yee.Change.Rms.Domain.Tests\Public.RuleGroups\RuleSystemsDataSeedContributor.cs'.
at Microsoft.Win32.SafeHandles.SafeFileHandle.CreateFile(String fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options)
at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize, Nullable`1 unixCreateMode)
at System.IO.Strategies.OSFileStreamStrategy..ctor(String path, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize, Nullable`1 unixCreateMode)
at System.IO.File.OpenText(String path)
at Volo.Abp.IO.FileHelper.ReadAllTextAsync(String path) in D:\ci\Jenkins\workspace\abp-volo-release\abp\framework\src\Volo.Abp.Core\Volo\Abp\IO\FileHelper.cs:line 59
at Volo.Abp.Suite.Areas.AbpSuite.CrudPageGenerator.Commands.UnitTestCommandCommand.A5sod4Ri1A(String )
at Volo.Abp.Suite.Areas.AbpSuite.CrudPageGenerator.Commands.UnitTestCommandCommand.WyFoJ4Ndde(TestDataObject , Int32 )
at Volo.Abp.Suite.Areas.AbpSuite.CrudPageGenerator.Commands.UnitTestCommandCommand.t4IoYLE9UF()
at Volo.Abp.Suite.Areas.AbpSuite.CrudPageGenerator.Commands.UnitTestCommandCommand.ExecuteAsync(CrudPageCommandOptions options)
at Volo.Abp.Suite.Areas.AbpSuite.CrudPageGenerator.CommandManager.ExecuteAllAsync(CrudPageCommandOptions options)
at Volo.Abp.Suite.Areas.AbpSuite.CrudPageGenerator.Commands.CrudPageGenerator.GenerateAsync(EntityModel entity, Solution solution, EntityModel masterEntity)
at Volo.Abp.Suite.Controllers.CrudPageGeneratorController.SaveAndGenerateEntityAsync(Guid solutionId, EntityModel entity)
at lambda_method1890(Closure, Object)
at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.TaskOfActionResultExecutor.Execute(ActionContext actionContext, IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeActionMethodAsync>g__Awaited|12_0(ControllerActionInvoker invoker, ValueTask`1 actionResultValueTask)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeNextActionFilterAsync>g__Awaited|10_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeInnerFilterAsync>g__Awaited|13_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeNextExceptionFilterAsync>g__Awaited|26_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
2024-02-06 22:42:14.686 +08:00 [INF] Executing ObjectResult, writing value of type 'Volo.Abp.Http.RemoteServiceErrorResponse'.
2024-02-06 22:42:14.688 +08:00 [INF] Executed action Volo.Abp.Suite.Controllers.CrudPageGeneratorController.SaveAndGenerateEntityAsync (Volo.Abp.Suite) in 23531.866ms
2024-02-06 22:42:14.688 +08:00 [INF] Executed endpoint 'Volo.Abp.Suite.Controllers.CrudPageGeneratorController.SaveAndGenerateEntityAsync (Volo.Abp.Suite)'
2024-02-06 22:42:14.689 +08:00 [INF] Request finished HTTP/1.1 POST http://localhost:3000/api/abpSuite/crudPageGenerator/c1cde88d-939c-4050-a639-63672b729639/save-and-generate-entity - 500 null application/json; charset=utf-8 23537.0574ms
I am a Chinese programmer. The most famous blazor components library is BootstrapBlazor. But I found out that it is confict with Blazorise. Because they use different Bootstrap version.
So, I must give up BootstrapBlazor.
But the componets which Blazorise can provide, can't satisfy my tasks.
Can you recommend any Blazor components provider which will be safe for my projects based on ABP?