Skip to content

value cannot be null. (Parameter 'jSObjectReference') #3691

@eramosr16

Description

@eramosr16

Is there an existing issue for this?

  • I have searched the existing issues

Describe the bug

This error happens on refresh/hard refresh, doesn't happen constantly and usually after two or three refreshes it disappear to reappear again after a refresh:

Unhandled exception rendering component:  Value cannot be null. (Parameter 'jSObjectReference') 
 System.ArgumentNullException: Value cannot be null. (Parameter 'jSObjectReference')
   at BootstrapBlazor.Components.JSModule..ctor(IJSObjectReference jSObjectReference)
   at BootstrapBlazor.Components.JSModuleExtensions.LoadModule(IJSRuntime jsRuntime, String fileName, String version)
   at BootstrapBlazor.Components.BootstrapModuleComponentBase.OnAfterRenderAsync(Boolean firstRender)
   at BootstrapBlazor.Components.Message.OnAfterRenderAsync(Boolean firstRender)
   at Microsoft.AspNetCore.Components.RenderTree.Renderer.GetErrorHandledTask(Task taskToHandle, ComponentState owningComponentState)

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