Unknown error when save in grid

Hi - I am working on a grid to update data, and are facing an error, randomly appering. 

I get the error when editing cell's, sometimes first time, sometimes up to 15-20'th time I edit, in the same session. 

The log- 

   fail: Microsoft.AspNetCore.Components.Server.Circuits.CircuitHost[111]

      Unhandled exception in circuit 'Yy-4SjOaWwH6_4t7okdkIY2UEvvRx9sGtoBJgA2bByE'.

      System.NullReferenceException: Object reference not set to an instance of an object.

         at Syncfusion.Blazor.Grids.Internal.Selection`1.ClearCellSelection(Row`1 expect, Nullable`1 expectCellIndex, Boolean autofillSelect, MouseAndKeyArgs evt)

         at Syncfusion.Blazor.Grids.Internal.Selection`1.ClearSelection()

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

         at Syncfusion.Blazor.Grids.Internal.Edit`1.EditCell(Row`1 Row, Cell`1 Cell)

         at Syncfusion.Blazor.Grids.Internal.Edit`1.DblClickHandler(Row`1 Row, Cell`1 Cell)

         at Microsoft.AspNetCore.Components.ComponentBase.CallStateHasChangedOnAsyncCompletion(Task task)

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

I try to reproduce the error in a referenceproject, but cannot get this exact error - Can you get any meaning out of this, ot do you need more of the co




1 Reply

JP Jeevakanth Palaniappan Syncfusion Team November 10, 2021 08:08 AM UTC

Hi Soren, 

Greetings from Syncfusion support. 

We have checked your query but we need more information to proceed further on this. So kindly share us the below details, 

  1. Share us the Syncfusion NuGet version details.
  2. Share us the edit mode you are using(Normal/Batch/Dialog).
  3. Does the issue reproduces on performing edit operation or while saving the edited data?
  4. Share us a video demo showing the problem you are facing.
  5. Share us the complete grid code with your model class and datasource.
  6. Share us the runnable issue reproducing sample.

The above requested details will be helpful for us to validate your query and to provide you with a better solution as early as possible. 

Regards, 
Jeevakanth SP. 


Loader.
Up arrow icon