HandleTouchForRowDragAndDrop exception

Sometimes I am seeing the exception below for the SfDataGrid in my exception handling on production, I am guessing that it occurs for drag and drop action. Could you elaborate what might cause it

System.NullReferenceExceptionObject reference not set to an instance of an object.

  at Syncfusion.SfDataGrid.XForms.Droid.GridCellBaseRenderer.HandleTouchForRowDragAndDrop (Android.Views.MotionEvent e) [0x00030] in <26e9b0e6701d4cfba3b9f00983a1b080>:0 
  at Syncfusion.SfDataGrid.XForms.Droid.GridCellBaseRenderer.OnTouchEvent (Android.Views.MotionEvent e) [0x0006d] in <26e9b0e6701d4cfba3b9f00983a1b080>:0 
  at Syncfusion.SfDataGrid.XForms.Droid.GridCellRenderer.OnTouchEvent (Android.Views.MotionEvent e) [0x00000] in <26e9b0e6701d4cfba3b9f00983a1b080>:0 
  at Android.Views.View.n_OnTouchEvent_Landroid_view_MotionEvent_ (System.IntPtr jnienv, System.IntPtr native__this, System.IntPtr native_e) [0x0000f] in <8211f1f12f9e45838d631abf63e51c79>:0 
  at (wrapper dynamic-method) System.Object:47264617-ff9c-487f-983f-a835b67c30c3 (intptr,intptr,intptr)

1 Reply

SS Sivaraman Sivagurunathan Syncfusion Team January 19, 2018 05:51 PM UTC

Hi Emil, 
 
Thanks for using Syncfusion support. 
 
We have checked your query and attached call stack details. And we are sure, the issue produce due to SfDataGrid. But we could not able to reproduce the issue on our side. It would be helpful to us if you could provide any of the following to resolve the issue.  
 
  • What are the settings that are given to SfDataGrid parent?
  • What are the settings that are given to SfDataGrid ?
  • What  is the exact scenario to reproduce the issue.   
  • Could you please modify the given sample to reproduce the issue, with clear replication procedure so that we can help you faster?
 
We have prepared a sample based on your requirement and you can download the same from the below link.  
 
 
Regards,  
Sivaraman 


Loader.
Up arrow icon