Error upon rendering Diagram

Hello,

I am using Syncfusion.Blazor.Diagrams package, and everytime I open the page which incorporates this package I get the following error:


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

      Unhandled exception rendering component: Could not find 'sfBlazor.throwError' ('throwError' was undefined).

      Error: Could not find 'sfBlazor.throwError' ('throwError' was undefined).

          at https://localhost:44321/_framework/blazor.webassembly.js:1:328

          at Array.forEach (<anonymous>)

          at a.findFunction (https://localhost:44321/_framework/blazor.webassembly.js:1:296)

          at _ (https://localhost:44321/_framework/blazor.webassembly.js:1:2437)

          at https://localhost:44321/_framework/blazor.webassembly.js:1:3325

          at new Promise (<anonymous>)

          at Object.beginInvokeJSFromDotNet (https://localhost:44321/_framework/blazor.webassembly.js:1:3306)

          at Object.St [as invokeJSFromDotNet] (https://localhost:44321/_framework/blazor.webassembly.js:1:59938)

          at _mono_wasm_invoke_js_blazor (https://localhost:44321/_framework/dotnet.6.0.7.i7y3xvp215.js:1:195300)

          at wasm://wasm/00971e46:wasm-function[219]:0x1a490

Microsoft.JSInterop.JSException: Could not find 'sfBlazor.throwError' ('throwError' was undefined).

Error: Could not find 'sfBlazor.throwError' ('throwError' was undefined).

    at https://localhost:44321/_framework/blazor.webassembly.js:1:328

    at Array.forEach (<anonymous>)

    at a.findFunction (https://localhost:44321/_framework/blazor.webassembly.js:1:296)

    at _ (https://localhost:44321/_framework/blazor.webassembly.js:1:2437)

    at https://localhost:44321/_framework/blazor.webassembly.js:1:3325

    at new Promise (<anonymous>)

    at Object.beginInvokeJSFromDotNet (https://localhost:44321/_framework/blazor.webassembly.js:1:3306)

    at Object.St [as invokeJSFromDotNet] (https://localhost:44321/_framework/blazor.webassembly.js:1:59938)

    at _mono_wasm_invoke_js_blazor (https://localhost:44321/_framework/dotnet.6.0.7.i7y3xvp215.js:1:195300)

    at wasm://wasm/00971e46:wasm-function[219]:0x1a490

   at Microsoft.JSInterop.JSRuntime.<InvokeAsync>d__16`1[[System.String, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].MoveNext()

   at Syncfusion.Blazor.Diagrams.Internal.SfDiagramBaseExtension.<Init>d__138`1[[System.String, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].MoveNext()

   at Syncfusion.Blazor.Diagrams.Internal.SfDiagramBaseExtension.OnInitRenderAsync()

   at Syncfusion.Blazor.Diagrams.Internal.SfDiagramBaseExtension.InitComponent()

   at Syncfusion.Blazor.Diagrams.Internal.SfDiagramBaseExtension.OnAfterRenderAsync(Boolean firstRender)

   at Syncfusion.Blazor.Diagrams.SfDiagram.OnAfterRenderAsync(Boolean firstRender)

   at Microsoft.AspNetCore.Components.RenderTree.Renderer.GetErrorHandledTask(Task taskToHandle, ComponentState owningComponentState)


2 Replies

AR Aravind Ravi Syncfusion Team August 9, 2022 04:11 AM UTC

Hi Phil,


We have fixed the issue internally and it will be available in our upcoming weekly nuget release which is scheduled to be available on August 10,2022. We appreciate your patience until then.


Regards,

Aravind Ravi



AR Aravind Ravi Syncfusion Team August 10, 2022 12:35 PM UTC

Hi Jun,


Issue: Console exception occurs in classic diagram in latest version


We are glad to announce that our Essential Studio 2022 Volume 2 SP release v20.2.0.43 is rolled out and is available for download under the following link.

https://www.syncfusion.com/forums/176701/essential-studio-2022-volume-2-service-pack-release-v20-2-0-43-is-available-for-download


We thank you for your support and appreciate your patience in waiting for this release. Please get in touch with us if you would require any further assistance.


Regards,         

Aravind Ravi


Loader.
Up arrow icon