Is there any chance to get more detailed error message?

I have very large grid which generates sometime the next error:

blazor.server.js:21 [2021-11-09T12:46:08.907Z] Error: System.ArgumentNullException: Value cannot be null. (Parameter 'source')

   at System.Linq.ThrowHelper.ThrowArgumentNullException(ExceptionArgument argument)

   at System.Linq.Enumerable.OfType[TResult](IEnumerable source)

   at Syncfusion.Blazor.Grids.SfGrid`1.VirtualDataProcess(List`1 QueryStartIndexes, ActionArgs action, DataReadyArgs`1 eventArgs)

   at Syncfusion.Blazor.Grids.SfGrid`1.DataProcessChild(ActionArgs action, ActionEventArgs`1 actionArgs)

   at Syncfusion.Blazor.Grids.SfGrid`1.DataProcess(ActionArgs action, ActionEventArgs`1 actionArgs)

   at Syncfusion.Blazor.Grids.SfGrid`1.DataProcess(ActionArgs action, ActionEventArgs`1 actionArgs)

   at Syncfusion.Blazor.Grids.SfGrid`1.OnAfterScriptRendered()

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

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

   at Syncfusion.Blazor.Grids.SfGrid`1.OnAfterRenderAsync(Boolean firstRender)

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


I understand that the error could be probably somewhere in column templates. But more detailed information would be very useful. Of course, I tried to comment out part of columns, and sometimes it helped to find the error. But if you would able to definitely mention the source of mistake, debug would be much faster.


1 Reply

RS Renjith Singh Rajendran Syncfusion Team November 10, 2021 11:08 AM UTC

Hi Stanislav, 
 
Greetings from Syncfusion support. 
 
We are not clear about the exact scenario you are facing the reported problem. We need the following details which would be helpful for us to proceed further. Kindly share with us the following details for better assistance.  
 
  1. Share a simple issue reproducing sample for us to validate.
  2. Share the exact scenario or proper issue reproducing procedure to reproduce the reported problem.
  3. Share a video demo showing the replication of the problem you are facing.
  4. Share the Syncfusion version details.
  5. Share Grid’s total record count.
  6. Share the complete Grid rendering codes along with model class codes.
 
The provided information will help us analyze the problem, and provide you a solution as early as possible. 
 
Regards, 
Renjith R 


Loader.
Up arrow icon