Pivot Table - Null reference when navigating to a different page

After the PivotView initially appears, before the data is rendered the user can navigate away by changing page or to a different tab.

In this scenario a null reference exception can be thrown, I have only been able to replicate it on PivotViews so far. Other controls such as grid and calendar seem fine.

Call stack:
[2021-05-11T10:22:26.145Z] Error: System.NullReferenceException: Object reference not set to an instance of an object. 
at Syncfusion.Blazor.PivotView.SfPivotView`1.InitialLoad() 
at Syncfusion.Blazor.PivotView.SfPivotView`1.OnAfterScriptRendered() 
at Syncfusion.Blazor.SfBaseComponent.OnAfterRenderAsync(Boolean firstRender) 
at Syncfusion.Blazor.SfDataBoundComponent.OnAfterRenderAsync(Boolean firstRender) 
at Microsoft.AspNetCore.Components.RenderTree.Renderer.GetErrorHandledTask(Task taskToHandle)


Attachment: PivotView__Null_reference_bug_9853072a.zip

4 Replies 1 reply marked as answer

SS Saranya Sivan Syncfusion Team May 12, 2021 01:47 PM UTC

Hi Lee Stevens, 
  
We are checking on the reported issue at our end. We will update the further details within two business days. 
  
We appreciate your patience until then. 
  
Regards, 
Saranya Sivan. 
 



MM Manikandan Murugesan Syncfusion Team May 18, 2021 09:14 AM UTC

Hi Lee,  
  
We have confirmed that the issue “Exception occurs while navigating component page” is a defect and logged a defect report. The fix for this issue will be available in our Volume 2 release which is estimated to be rolled out at the end of June 2021. You can track the same by using the following link.  
   
   
Please let us know if you have any concerns.  
   
Regards,  
Manikandan. 



ME Mouli Eswararao Syncfusion Team July 1, 2021 03:50 PM UTC

 
Hi Lee, 
 
Due to code complexity we are unable to complete the bug fixing and include in our  Volume 2 release. But we will surely include this in our upcoming patch release which is estimated to be available during the mid  of July 2021.  
   
We appreciate your patience until then.  
 
Regards, 
Mouli 



MM Manikandan Murugesan Syncfusion Team July 6, 2021 04:03 PM UTC

Hi Lee, 
 
We are glad to inform you that the fix for the issue “Exception occurs while navigating component page” has been included in the weekly release (v19.2.46). Kindly refer to the following sample. 
 
 
We thank you for your support and appreciate your patience in waiting for this release. Please contact us if you require any further assistance. 
 
Regards, 
Manikandan 


Marked as answer
Loader.
Up arrow icon