Welcome to the Blazor feedback portal. We’re happy you’re here! If you have feedback on how to improve the Blazor, we’d love to hear it!>
Thanks for joining our community and helping improve Syncfusion products!
Hello,
when creating a brandnew Visual Studio project with the first Sfchart demo (
for me it's working until version 18.4.0.35 but not anymore with 18.4.0.39.
In the browser debugger I get:
[2021-02-01T07:05:48.501Z] Information: Normalizing '_blazor' to 'https://localhost:44320/_blazor'.
blazor.server.js:1 [2021-02-01T07:05:48.525Z] Information: WebSocket connected to wss://localhost:44320/_blazor?id=ccQG1Xuxy8-dQ5N_cd_vtw.
blazor.server.js:1 [2021-02-01T07:05:49.145Z] Error: Connection disconnected with error 'Error: Server returned an error on close: Connection closed with an error.'.
e.log @ blazor.server.js:1
blazor.server.js:1 [2021-02-01T07:05:52.146Z] Information: Normalizing '_blazor' to 'https://localhost:44320/_blazor'.
blazor.server.js:1 [2021-02-01T07:05:52.156Z] Information: WebSocket connected to wss://localhost:44320/_blazor?id=6PGjFhGWSDRfLxWySMy0YQ.
blazor.server.js:19 [2021-02-01T07:05:54.045Z] Error: System.NullReferenceException: Object reference not set to an instance of an object.
at Syncfusion.Blazor.Charts.SfChart.Calculatebounds()
at Syncfusion.Blazor.Charts.SfChart.RefreshBound()
at Syncfusion.Blazor.Charts.SfChart.ResizeChart()
at System.Threading.Tasks.Task.<>c.
at Microsoft.AspNetCore.Components.Rendering.RendererSynchronizationContext.ExecuteSynchronously(TaskCompletionSource`1 completion, SendOrPostCallback d, Object state)
at Microsoft.AspNetCore.Components.Rendering.RendererSynchronizationContext.<>c.<.cctor>b__23_0(Object state)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location where exception was thrown ---
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at Microsoft.AspNetCore.Components.Rendering.RendererSynchronizationContext.ExecuteBackground(WorkItem item)
e.log @ blazor.server.js:19
C @ blazor.server.js:8
(anonymous) @ blazor.server.js:8
(anonymous) @ blazor.server.js:1
e.invokeClientMethod @ blazor.server.js:1
e.processIncomingData @ blazor.server.js:1
connection.onreceive @ blazor.server.js:1
i.onmessage @ blazor.server.js:1
blazor.server.js:1 [2021-02-01T07:05:54.046Z] Information: Connection disconnected.
Kind regards
Andreas