Skip to content

Interactive WebAssembly throws on page reload #63009

@soundaranbu

Description

@soundaranbu

Is there an existing issue for this?

  • I have searched the existing issues

Describe the bug

  • Create a new Blazor Web App with Global/PerPage WebAssembly Render Mode with PreRendering Enabled/Disabled
  • Reload the page a couple or more times
  • Then the error is thrown and can be seen in the browser console
  • Now, open a new session in new tab/window/other browser.. we can see the same error pop up even without doing anything
blazor.web.2joo3ua8jp.js:1 Debugging hotkey: Shift+Alt+D (when application has focus)
blazor.web.2joo3ua8jp.js:1  ManagedError: AggregateException_ctor_DefaultMessage (ExpectedStartOfValueNotFound, x Path: $ | LineNumber: 0 | BytePositionInLine: 0.)
callEntryPoint @ blazor.web.2joo3ua8jp.js:1
await in callEntryPoint
Jr @ blazor.web.2joo3ua8jp.js:1
await in Jr
qr @ blazor.web.2joo3ua8jp.js:1
startWebAssemblyIfNotStarted @ blazor.web.2joo3ua8jp.js:1
resolveRendererIdForDescriptor @ blazor.web.2joo3ua8jp.js:1
determinePendingOperation @ blazor.web.2joo3ua8jp.js:1
refreshRootComponents @ blazor.web.2joo3ua8jp.js:1
(anonymous) @ blazor.web.2joo3ua8jp.js:1
Image

Note:
I created a similar issue for Interactive Server render mode #62860. But the error is different altogether

Expected Behavior

Shouldn't throw on consecutive reloading the Interactive WebAssembly page

Steps To Reproduce

No response

Exceptions (if any)

No response

.NET Version

10.0.100-preview.7.25368.105

Anything else?

No response

Metadata

Metadata

Assignees

Labels

area-blazorIncludes: Blazor, Razor Components

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions