question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

crit: Microsoft.AspNetCore.Components.WebAssembly.Rendering.WebAssemblyRenderer[100]

See original GitHub issue

I’m getting this exception in the browser console window:

crit: Microsoft.AspNetCore.Components.WebAssembly.Rendering.WebAssemblyRenderer[100]
      Unhandled exception rendering component: Method not found: int Bolero.Node.Invoke(object,Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder,Microsoft.FSharp.Core.FSharpFunc`2<System.Type, System.Tuple`2<int, Microsoft.FSharp.Core.FSharpFunc`2<object, int>>>,int)
System.MissingMethodException: Method not found: int Bolero.Node.Invoke(object,Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder,Microsoft.FSharp.Core.FSharpFunc`2<System.Type, System.Tuple`2<int, Microsoft.FSharp.Core.FSharpFunc`2<object, int>>>,int)
   at Bolero.Component.BuildRenderTree(RenderTreeBuilder builder)
   at Microsoft.AspNetCore.Components.ComponentBase.<.ctor>b__6_0(RenderTreeBuilder builder)
   at Microsoft.AspNetCore.Components.Rendering.ComponentState.RenderIntoBatch(RenderBatchBuilder batchBuilder, RenderFragment renderFragment, Exception& renderFragmentException)

I was able to reproduce it by taking a copy of the HelloWorld example project I had lying around, which was working fine, and then doing a dotnet paket update. But then, if I revert my changes, the problem does not go away. Here is the packet.lock file at the time it was working, before I did the dotnet paket update:

STORAGE: NONE
RESTRICTION: == net7.0
NUGET
  remote: https://api.nuget.org/v3/index.json
    FSharp.Core (7.0)
    FSharpPlus (1.3.2)
      FSharp.Core (>= 6.0.6)

After the dotnet paket update, it changed to this:

STORAGE: NONE
RESTRICTION: == net7.0
NUGET
  remote: https://api.nuget.org/v3/index.json
    FSharp.Core (7.0.200)
    FSharpPlus (1.3.3)
      FSharp.Core (>= 6.0.6)

This is when the problem started, but like I said, if I revert my paket.lock, the problem is still there.

I’ve tried dotnet paket clear-cache --clear-local and dotnet tool restore and dotnet paket restore but nothing helps. Once the problem is there, I can’t seem to get rid of it.

I’ve no idea whether this is a Bolero issue, or a Paket issue, or a Blazor WebAssembly issue, but I thought I’d post here to start with.

Issue Analytics

  • State:closed
  • Created 7 months ago
  • Comments:7 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
Tarmilcommented, Feb 18, 2023

I have now published HotReload 0.21. Can you try and update Bolero and HotReload to 0.21? I expect it should fix this issue.

1reaction
Tarmilcommented, Feb 16, 2023

Ah, I think the problem is that indeed the type Node has changed in v0.21, but the HotReload packages haven’t been updated to match. I’ll unlist v0.21 immediately, and restore it once I’ve updated HotReload (and done the release announcement 😄)

Read more comments on GitHub >

github_iconTop Results From Across the Web

Bizarre Blazor error: crit: blazor.webassembly.js:1Microsoft. ...
I include the entire stack trace below. blazor.webassembly.js:1 crit: Microsoft.AspNetCore.Components.WebAssembly.Rendering.WebAssemblyRenderer[ ...
Read more >
Blazor Client-side error: crit: Microsoft.AspNetCore. ...
Hi. I am working with an APS.NET Blazor client-side application and I am having an issue that I can't understand why is happening....
Read more >
Error in Browser Microsoft.AspNetCore.Components. ...
crit : Microsoft.AspNetCore.Components.WebAssembly.Rendering.WebAssemblyRenderer[100] Unhandled exception rendering component: Object ...
Read more >
Unhandled exception rendering component - Microsoft Q&A
WebAssembly.Rendering.WebAssemblyRenderer[100] Unhandled exception rendering component: '<' is an invalid start of a value. Path: $ | LineNumber ...
Read more >
ASP.Net Core hosted webassembly deployment issue. ...
I have followed this tutorial from learn.microsoft.com with single tenant authentication. It works fine in localhost.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found