Skip to content

初始启动时多个网页访问会出现 字典线程安全错误 #3229

@kimdiego2098

Description

@kimdiego2098

Is there an existing issue for this?

  • I have searched the existing issues

Describe the bug

OS: Microsoft Windows 10.0.19045
OSArchitecture: X64
ProcessArchitecture: X64
Framework: .NET 8.0.3
UserName: Diego
EnvironmentName: Development
VSIDE: Microsoft Visual Studio Enterprise 2022 17.0
Message: Operations that change non-concurrent collections must have exclusive access. A concurrent update was performed on this collection and corrupted its state. The collection's state is no longer correct.


StackTrace: at System.Collections.Generic.Dictionary`2.TryInsert(TKey key, TValue value, InsertionBehavior behavior)
at Microsoft.AspNetCore.Components.Routing.QueryParameterValueSupplier.ForType(Type componentType)
at BootstrapBlazor.Components.BootstrapBlazorAuthorizeView.g__BuildQueryParameters|37_0(<>c__DisplayClass37_0&)
at BootstrapBlazor.Components.BootstrapBlazorAuthorizeView.BuildRenderTree(RenderTreeBuilder builder)
at Microsoft.AspNetCore.Components.Rendering.ComponentState.RenderIntoBatch(RenderBatchBuilder batchBuilder, RenderFragment renderFragment, Exception& renderFragmentException)

Expected Behavior

No response

Steps To Reproduce

No response

Exceptions (if any)

No response

.NET Version

8.0

Anything else?

No response

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions