Various errors on opening gantt and reloading
I have been getting a few errors in my developer console : can you explain what they are an how to fix
The below error occurs but my gantt is successfully rendered.
o is null
getModelObject@http://md2ehcc.ad001.net:5002/_content/Syncfusion.Blazor/scripts/syncfusion-blazor.min.js:1:150728
updateOldProperties@http://md2ehcc.ad001.net:5002/_content/Syncfusion.Blazor/scripts/syncfusion-blazor.min.js:1:151206
setModel@http://md2ehcc.ad001.net:5002/_content/Syncfusion.Blazor/scripts/syncfusion-blazor.min.js:1:149802
beginInvokeJSFromDotNet/r<@http://md2ehcc.ad001.net:5002/_framework/blazor.server.js:8:31619
beginInvokeJSFromDotNet@http://md2ehcc.ad001.net:5002/_framework/blazor.server.js:8:31587
E</e.prototype.invokeClientMethod/<@http://md2ehcc.ad001.net:5002/_framework/blazor.server.js:1:20052
E</e.prototype.invokeClientMethod@http://md2ehcc.ad001.net:5002/_framework/blazor.server.js:1:20022
E</e.prototype.processIncomingData@http://md2ehcc.ad001.net:5002/_framework/blazor.server.js:1:18006
e/this.connection.onreceive@http://md2ehcc.ad001.net:5002/_framework/blazor.server.js:1:11091
D</e.prototype.connect/</</</i.onmessage@http://md2ehcc.ad001:5002/_framework/blazor.server.js:1:39007
When i reload the page, the component does not render and i get this error
Uncaught (in promise) WebSocket is not in the OPEN state
reject http://md2ehcc.ad001.net:5002/_framework/blazor.server.js:1
sendLoop http://md2ehcc.ad001.net:5002/_framework/blazor.server.js:1
s http://md2ehcc.ad001.net:5002/_framework/blazor.server.js:1
s http://md2ehcc.ad001.net:5002/_framework/blazor.server.js:1
s http://md2ehcc.ad001net:5002/_framework/blazor.server.js:1
And after i have received that error, when i goto another page that holds my gant chart, it wont load and i receive this
[2020-12-02T20:02:30.500Z] Error: System.InvalidOperationException: Collection was modified; enumeration operation may not execute.
at System.Collections.Generic.List`1.Enumerator.MoveNextRare()
at Syncfusion.Blazor.BaseComponent.InitComponent()
at Syncfusion.Blazor.BaseComponent.OnAfterRenderAsync(Boolean firstRender)
at Syncfusion.Blazor.Gantt.SfGantt`1.OnHybridAfterRender(Boolean firstRender)
at Syncfusion.Blazor.Gantt.SfGantt`1.OnAfterRenderAsync(Boolean firstRender)
at Microsoft.AspNetCore.Components.RenderTree.Renderer.GetErrorHandledTask(Task taskToHandle)
SIGN IN To post a reply.
1 Reply
KR
Karthikeyan Raja
Syncfusion Team
December 3, 2020 04:18 PM UTC
Hi Dingo,
We have analyzed your queries and ensured at our end. But we are unable to reproduce the reported issues at our end.
We have analyzed your queries and ensured at our end. But we are unable to reproduce the reported issues at our end.
So please share your Syncfusion blazor nuget version, code snippet, Otherwise please modify your changes in our sample with issue reproducing state, So that we can assist you.
Sample - https://www.syncfusion.com/downloads/support/directtrac/general/ze/BlazorApp_latest_18.3.52316325780
Please let us know if you have any concerns
Regards,
Karthikeyan Raja
SIGN IN To post a reply.
- 1 Reply
- 2 Participants
-
DI Dingo
- Dec 2, 2020 08:03 PM UTC
- Dec 3, 2020 04:18 PM UTC