Error in circular gauge render if exiting page before gauge render complete

I have a circular gauge on a dashboard with many other charts which means the render of the gauge takes a bit of time to complete.. If I navigate off the page before it is complete I get the following error in the gauge render.


blazor.server.js:21 [2021-07-20T16:50:56.458Z] Error: System.NullReferenceException: Object reference not set to an instance of an object.

   at Syncfusion.Blazor.CircularGauge.SfCircularGauge.OnAfterScriptRendered()

   at Syncfusion.Blazor.SfBaseComponent.OnAfterRenderAsync(Boolean firstRender)

   at Syncfusion.Blazor.CircularGauge.SfCircularGauge.OnAfterRenderAsync(Boolean firstRender)

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

Attached is a project  and video that demos the issue.


Attachment: CircularGuageDashboard_fdfb467e.zip

5 Replies

IR Indumathi Ravi Syncfusion Team July 21, 2021 03:54 PM UTC

Hi Michael, 
  
Thank you for contacting Syncfusion support. 
 
We are able to reproduce the reported scenario with the latest version(v19.2.48) of the Circular Gauge component. We have considered the scenario as a defect and logged a defect report for the same. However, we will include the fix for the reported issue in our weekly patch release which is expected to be available by the end of July 2021 . Please find the below feedback link to keep track of the reported issue. 
 
  
Regards, 
Indumathi R 



MA Michael Aston replied to Indumathi Ravi July 26, 2021 12:09 PM UTC

Is this still due for the end of July? Tried the feedback link but its marked as private.



IR Indumathi Ravi Syncfusion Team July 27, 2021 08:29 AM UTC

Hi Michael, 
  
Thank you for the update. 
  
We have fixed the reported issue "Error in Circular Gauge while exiting page before gauge render complete" and included the fix in our weekly patch release(v19.2.49). Please update the "Syncfusion.Blazor.CircularGauge" package in your application to resolve the reported issue. Please find the link of the package below. 
  
  
Please let us know if you need any further assistance. 
  
Regards, 
Indumathi R. 



MA Michael Aston July 27, 2021 12:58 PM UTC

Confirm that this is now fixed.

Thanks



IR Indumathi Ravi Syncfusion Team July 28, 2021 05:22 AM UTC

Hi Michael, 
Thank you for the update. 
  
Please let us know if you need any further assistance. 

Regards,
Indumathi R.
 


Loader.
Up arrow icon