Open Closed

System.MissingMethodException: Method not found: 'Void Blazorise.Modules.BaseJSModule..ctor #8173


User avatar
0
tech37 created
  • ABP Framework version: v8.3.2
  • UI Type: Blazor Server
  • Database System: EF Core (SQL Server, )
  • **Auth Server Separated **: yes
  • Exception message and full stack trace:

System.MissingMethodException: Method not found: 'Void Blazorise.Modules.BaseJSModule..ctor(Microsoft.JSInterop.IJSRuntime, Blazorise.IVersionProvider)'. at Blazorise.DataGrid.JSDataGridModule..ctor(IJSRuntime jsRuntime, IVersionProvider versionProvider) at Blazorise.DataGrid.BaseDataGridComponent.OnInitialized() at Microsoft.AspNetCore.Components.ComponentBase.RunInitAndSetParametersAsync() at Blazorise.DataGrid.DataGrid1.SetParametersAsync(ParameterView parameters) [20:37:00 ERR] Unhandled exception in circuit 'ix4toH55DV6B_tjrz0DV5pY4b-ZdE3XtWqDrPwZx8SA'. System.MissingMethodException: Method not found: 'Void Blazorise.Modules.BaseJSModule..ctor(Microsoft.JSInterop.IJSRuntime, Blazorise.IVersionProvider)'. at Blazorise.DataGrid.JSDataGridModule..ctor(IJSRuntime jsRuntime, IVersionProvider versionProvider) at Blazorise.DataGrid.BaseDataGridComponent.OnInitialized() at Microsoft.AspNetCore.Components.ComponentBase.RunInitAndSetParametersAsync() at Blazorise.DataGrid.DataGrid1.SetParametersAsync(ParameterView parameters) [20:37:00 WRN] Unhandled exception rendering component: Cannot access a disposed object. System.ObjectDisposedException: Cannot access a disposed object. at Microsoft.AspNetCore.Components.RenderTree.ArrayBuilder1.GrowBuffer(Int32 desiredCapacity) at Microsoft.AspNetCore.Components.RenderTree.RenderTreeDiffBuilder.InsertNewFrame(DiffContext& diffContext, Int32 newFrameIndex) at Microsoft.AspNetCore.Components.RenderTree.RenderTreeDiffBuilder.InsertNewFrame(DiffContext& diffContext, Int32 newFrameIndex) at Microsoft.AspNetCore.Components.RenderTree.RenderTreeDiffBuilder.AppendDiffEntriesForRange(DiffContext& diffContext, Int32 oldStartIndex, Int32 oldEndIndexExcl, Int32 newStartIndex, Int32 newEndIndexExcl) at Microsoft.AspNetCore.Components.Rendering.ComponentState.RenderIntoBatch(RenderBatchBuilder batchBuilder, RenderFragment renderFragment, Exception& renderFragmentException) at Microsoft.AspNetCore.Components.RenderTree.Renderer.RenderInExistingBatch(RenderQueueEntry renderQueueEntry) at Microsoft.AspNetCore.Components.RenderTree.Renderer.ProcessRenderQueue() [20:37:00 ERR] Unhandled exception in circuit 'ix4toH55DV6B_tjrz0DV5pY4b-ZdE3XtWqDrPwZx8SA'. System.ObjectDisposedException: Cannot access a disposed object. at Microsoft.AspNetCore.Components.RenderTree.ArrayBuilder1.GrowBuffer(Int32 desiredCapacity) at Microsoft.AspNetCore.Components.RenderTree.RenderTreeDiffBuilder.InsertNewFrame(DiffContext& diffContext, Int32 newFrameIndex) at Microsoft.AspNetCore.Components.RenderTree.RenderTreeDiffBuilder.InsertNewFrame(DiffContext& diffContext, Int32 newFrameIndex) at Microsoft.AspNetCore.Components.RenderTree.RenderTreeDiffBuilder.AppendDiffEntriesForRange(DiffContext& diffContext, Int32 oldStartIndex, Int32 oldEndIndexExcl, Int32 newStartIndex, Int32 newEndIndexExcl) at Microsoft.AspNetCore.Components.Rendering.ComponentState.RenderIntoBatch(RenderBatchBuilder batchBuilder, RenderFragment renderFragment, Exception& renderFragmentException) at Microsoft.AspNetCore.Components.RenderTree.Renderer.RenderInExistingBatch(RenderQueueEntry renderQueueEntry) at Microsoft.AspNetCore.Components.RenderTree.Renderer.ProcessRenderQueue() [20:37:00 INF] Executed endpoint '/_blazor' [20:37:00 INF] Request finished HTTP/2 CONNECT https://localhost:44370/_blazor?id=N2bIah7aHDZ-fUdDWWZJeg - 200 null null 41010.7933ms [20:37:00 INF] Connection id "0HN7MMNECJG6H", Request id "0HN7MMNECJG6H:00000047": the application completed without reading the entire request body.

  • Steps to reproduce the issue:

Upgraded to ABP 8.3.2

  • Launched app. Logged in. Selected a menu item from a custom entity. Error received:


4 Answer(s)
  • User Avatar
    0
    tech37 created

    When clicking on Dashboard page i get the following as well:

    [20:52:53 WRN] Unhandled exception rendering component: Method not found: 'Void Blazorise.Modules.BaseJSModule..ctor(Microsoft.JSInterop.IJSRuntime, Blazorise.IVersionProvider)'. System.MissingMethodException: Method not found: 'Void Blazorise.Modules.BaseJSModule..ctor(Microsoft.JSInterop.IJSRuntime, Blazorise.IVersionProvider)'. at Blazorise.Charts.JSChartModule..ctor(IJSRuntime jsRuntime, IVersionProvider versionProvider) at Blazorise.Charts.BaseChart1.OnInitializedAsync() at Microsoft.AspNetCore.Components.ComponentBase.RunInitAndSetParametersAsync() [20:52:53 ERR] Unhandled exception in circuit 'ZlbUTE2ajjdYsa0j3Ffqaa6hTFjEyPcKSAjmSfjKF1U'. System.MissingMethodException: Method not found: 'Void Blazorise.Modules.BaseJSModule..ctor(Microsoft.JSInterop.IJSRuntime, Blazorise.IVersionProvider)'. at Blazorise.Charts.JSChartModule..ctor(IJSRuntime jsRuntime, IVersionProvider versionProvider) at Blazorise.Charts.BaseChart1.OnInitializedAsync() at Microsoft.AspNetCore.Components.ComponentBase.RunInitAndSetParametersAsync() [20:52:53 WRN] Unhandled exception rendering component: Method not found: 'Void Blazorise.Modules.BaseJSModule..ctor(Microsoft.JSInterop.IJSRuntime, Blazorise.IVersionProvider)'. System.MissingMethodException: Method not found: 'Void Blazorise.Modules.BaseJSModule..ctor(Microsoft.JSInterop.IJSRuntime, Blazorise.IVersionProvider)'. at Blazorise.Charts.JSChartModule..ctor(IJSRuntime jsRuntime, IVersionProvider versionProvider) at Blazorise.Charts.BaseChart1.OnInitializedAsync() at Microsoft.AspNetCore.Components.ComponentBase.RunInitAndSetParametersAsync() [20:52:53 ERR] Unhandled exception in circuit 'ZlbUTE2ajjdYsa0j3Ffqaa6hTFjEyPcKSAjmSfjKF1U'. System.MissingMethodException: Method not found: 'Void Blazorise.Modules.BaseJSModule..ctor(Microsoft.JSInterop.IJSRuntime, Blazorise.IVersionProvider)'. at Blazorise.Charts.JSChartModule..ctor(IJSRuntime jsRuntime, IVersionProvider versionProvider) at Blazorise.Charts.BaseChart1.OnInitializedAsync() at Microsoft.AspNetCore.Components.ComponentBase.RunInitAndSetParametersAsync() [20:52:53 INF] Executed endpoint '/_blazor' [20:52:53 INF] Request finished HTTP/2 CONNECT https://localhost:44370/_blazor?id=h7MU0ObCbMqcEC3lEX03bQ - 200 null null 6192.1729ms [20:52:53 INF] Connection id "0HN7MN0SEUSIA", Request id "0HN7MN0SEUSIA:0000000D": the application completed without reading the entire request body.

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    What's your blazorise package version?

    It shoube 1.5.2

  • User Avatar
    0
    tech37 created

    Thank you very much that worked.

    There was no Blazorise package installed so installed it to that version.

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    Good news.

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