Skip to content

[AspireE2E] An error “Cannot create a JSObjectReference from the value 'undefined'” occurs when quickly switching to details page and closing it #15438

@EmilyFeng97

Description

@EmilyFeng97

REGRESSION INFO: Also repro on Aspire 13.1.3

INSTALL STEPS

  1. Clean machine: Windows x64 25h2
  2. Install SDK 10.0.201
  3. Add feed
  4. Install Aspire.ProjectTemplate:
    dotnet new install Aspire.ProjectTemplates@13.2.0 --force

REPRO STEPS

  1. Open CMD, create an Aspire Starter App using following commands:
    dotnet new aspire-starter -o aspire01
    cd aspire01/aspire01.AppHost
    
  2. Run the app with dotnet run
  3. Open the Dashboard URL in browser
  4. Click the View options icon in the upper right corner, then click Show hidden resources option
  5. For apiservice proejct, quickly navigating to details page and close
  6. Open the Console logs, view the log of aspire-dashboard

Actual Result

Image

Image

Sometimes the page will display this error:

Image

Error log

[FluentDataGrid] Cannot create a JSObjectReference from the value 'undefined'.
 Error: Cannot create a JSObjectReference from the value 'undefined'.
     at m (https://localhost:17094/framework/blazor.web.js:1:2125)
     at T (https://localhost:17094/framework/blazor.web.js:1:8107)
     at w.beginInvokeJSFromDotNet (https://localhost:17094/framework/blazor.web.js:1:4121)
     at async _n._invokeClientMethod (https://localhost:17094/framework/blazor.web.js:1:67458)

Metadata

Metadata

Assignees

Type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions