You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm seeing the following error show up in my Logs.
I'm unable to replicate it manually but I'm seeing it on my production site. The best I can guess, it's a timing issue where the client has navigated away from the page while OnParameterSetAsync() is still executing. I suspect this might be caused by a crawler bot quickly navigating the links on the site?
This is Blazor Server running on .NET 6 and HeadElement 6.0.2 hosted in Azure AppService.
System.ObjectDisposedException: Cannot access a disposed object.
Object name: 'JSObjectReference'.
at Microsoft.JSInterop.Implementation.JSObjectReference.ThrowIfDisposed()
at Microsoft.JSInterop.Implementation.JSObjectReference.InvokeAsync[TValue](String identifier, Object[] args)
at Toolbelt.Blazor.HeadElement.HeadElementHelperService.InvokeJSAsync[T](String identifier, Object[] args)
at Toolbelt.Blazor.HeadElement.HeadElementHelperService.GetDefaultTitleAsync()
at Toolbelt.Blazor.HeadElement.HeadElementHelperService.GetDefaultsAsync()
at Toolbelt.Blazor.HeadElement.HeadElementHelperService.ResetIfNeededAsync()
at Toolbelt.Blazor.HeadElement.HeadElementHelperService.SetLinkElementsAsync(LinkElement[] elements)
at Toolbelt.Blazor.HeadElement.Link.OnParametersSetAsync()
at Microsoft.AspNetCore.Components.ComponentBase.CallStateHasChangedOnAsyncCompletion(Task task)
at Microsoft.AspNetCore.Components.ComponentBase.RunInitAndSetParametersAsync()
at Microsoft.AspNetCore.Components.RenderTree.Renderer.GetErrorHandledTask(Task taskToHandle, ComponentState owningComponentState)
The text was updated successfully, but these errors were encountered:
I'm seeing the following error show up in my Logs.
I'm unable to replicate it manually but I'm seeing it on my production site. The best I can guess, it's a timing issue where the client has navigated away from the page while
OnParameterSetAsync()
is still executing. I suspect this might be caused by a crawler bot quickly navigating the links on the site?This is Blazor Server running on .NET 6 and HeadElement 6.0.2 hosted in Azure AppService.
The text was updated successfully, but these errors were encountered: