Starts in:
1 DAY
23 HRS
41 MIN
24 SEC
Starts in:
1 D
23 H
41 M
24 S
Open Closed

Blazor issue when trying to use Azure SignalR #5254


User avatar
0
neethucp created

We are getting the following error when trying to intergrate Azure SignalR to our exisitng blazor server application.

System.NullReferenceException: Object reference not set to an instance of an object. [blazor_f49e0680-3]: at Volo.Abp.AspNetCore.Components.Web.LeptonXTheme.Components.ApplicationLayout.SideMenu.Navigation.MobileNavbar.BuildRenderTree(RenderTreeBuilder __builder) [blazor_f49e0680-3]: at Microsoft.AspNetCore.Components.Rendering.ComponentState.RenderIntoBatch(RenderBatchBuilder batchBuilder, RenderFragment renderFragment, Exception& renderFragmentException).

Please help to fix the issue.

  • ABP Framework version: v7.2.2
  • UI type: Blazor Server
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): yes

6 Answer(s)
  • User Avatar
    0
    liangshiwei created
    Support Team Fullstack Developer

    Hi,

    This is a known issue, we fixed it in the patch version.

    Your ticket refunded.

    You can check this: https://support.abp.io/QA/Questions/5186/What-wrong-with-my-menu-construction-May-ABP-framework-throw-detail-exception-for-us-to-debug

  • User Avatar
    0
    hothsv created

    Hi

    Can I ask how we get the patch version?

    Thanks

  • User Avatar
    0
    liangshiwei created
    Support Team Fullstack Developer

    Hi

    We haven’t release the patch version You can use the temporary solution

  • User Avatar
    0
    liangshiwei created
    Support Team Fullstack Developer

    You just need to uograde nugget packages after the patch version is released

  • User Avatar
    0
    hothsv created

    Thank you we have done that.

    Now we have no menu items showing. I can see from Azure that connections are being made however the menu (administration) only shows home.

    If i remove signalr connect the menu has around 20+ items however with it connected it only shows home.

    Thanks

  • User Avatar
    0
    liangshiwei created
    Support Team Fullstack Developer

    Hi,

    I think this is a new problem, could you create a new question for this? thanks.

Made with ❤️ on ABP v9.1.0-preview. Updated on November 20, 2024, 13:06