8000 [Known Build Error] `NavigationException_InAsyncContext_DoesNotBecomeUnobservedTaskException` fails with `ObjectDisposedException` · Issue #62672 · dotnet/aspnetcore · GitHub < 10BC0 meta name="expected-hostname" content="github.com">
[go: up one dir, main page]

Skip to content

[Known Build Error] NavigationException_InAsyncContext_DoesNotBecomeUnobservedTaskException fails with ObjectDisposedException #62672

@ilonatommy

Description

@ilonatommy

The test should not be quarantined, it's under observation. It has a PR that tries to fix it and requires more investigation: #62662.

Build Information

Build: https://dev.azure.com/dnceng-public/public/_build/results?buildId=1090989
Build error leg or test failing: Microsoft.AspNetCore.Components.E2ETests.ServerRenderingTests.RedirectionTest.NavigationException_InAsyncContext_DoesNotBecomeUnobservedTaskException
Pull request: #62602

Error Message

Fill the error message using step by step known issues guidance.

{
  "ErrorMessage": "A Task's exception(s) were not observed either by Waiting on the Task or accessing its Exception property. As a result, the unobserved exception was rethrown by the finalizer thread.",
  "ErrorPattern": "",
  "BuildRetry": false,
  "ExcludeConsoleLog": false
}
     <h1>Hello, world!</h1><p id="unobserved-exceptions-count">4</p><h2>Unobserved Exceptions (for debugging):</h2>
        <ul><li>System.AggregateException: A Task's exception(s) were not observed either by Waiting on the Task or accessing its Exception property. As a result, the unobserved exception was rethrown by the finalizer thread. (Cannot access a disposed object.
Object name: 'IServiceProvider'.)
 ---&gt; System.ObjectDisposedException: Cannot access a disposed object.
Object name: 'IServiceProvider'.
   at Microsoft.Extensions.DependencyInjection.ServiceLookup.ThrowHelper.ThrowObjectDisposedException()
   at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService[T](IServiceProvider provider)
   at Microsoft.AspNetCore.Components.Server.Circuits.CircuitPersistenceManager.PauseCircuitAsync(CircuitHost circuit, Boolean saveStateToClient, CancellationToken cancellation) in /home/vsts/work/1/s/src/Components/Server/src/Circuits/CircuitPersistenceManager.cs:line 25
   at Microsoft.AspNetCore.Components.Server.Circuits.CircuitRegistry.PauseAndDisposeCircuitHost(CircuitHost circuitHost, Boolean saveStateToClient) in /home/vsts/work/1/s/src/Components/Server/src/Circuits/CircuitRegistry.cs:line 312
   --- End of inner exception stack trace ---</li><li>

Known issue validation

Build: 🔎 https://dev.azure.com/dnceng-public/public/_build/results?buildId=1090989
Error message validated: [A Task's exception(s) were not observed either by Waiting on the Task or accessing its Exception property. As a result, the unobserved exception was rethrown by the finalizer thread.]
Result validation: ✅ Known issue matched with the provided build.
Validation performed at: 7/11/2025 10:21:55 AM UTC

Report

Build Definition Step Name Console log Pull Request
1166661 dotnet/aspnetcore Run E2E tests Log #63939
1164910 dotnet/aspnetcore Run E2E tests Log
1164677 dotnet/aspnetcore Run E2E tests Log #63915
1162810 dotnet/aspnetcore Run E2E tests Log #63881
1159739 dotnet/aspnetcore Run E2E tests Log #63853
1157032 dotnet/aspnetcore Run E2E tests Log #63794
1155548 dotnet/aspnetcore Run E2E tests Log
1152420 dotnet/aspnetcore Run E2E tests Log
1152187 dotnet/aspnetcore Run E2E tests Log #63708
1152171 dotnet/aspnetcore Run E2E tests Log #63685
1152052 dotnet/aspnetcore Run E2E tests Log #63685
1151250 dotnet/aspnetcore Run E2E tests Log #63711
1148114 dotnet/aspnetcore Run E2E tests Log
1146564 dotnet/aspnetcore Run E2E tests Log #63658
1146354 dotnet/aspnetcore Run E2E tests Log #63643
1146269 dotnet/aspnetcore Run E2E tests Log
1145446 dotnet/aspnetcore Run E2E tests Log

Summary

24-Hour Hit Count 7-Day Hit Count 1-Month Count
0 1 17

Metadata

Metadata

Assignees

Labels

Known Build ErrorIssue that should show up in Build Analysisarea-blazorIncludes: Blazor, Razor Components

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions

    0