SPSubburaj Pandian Veluchamy Syncfusion Team February 1, 2019 12:14 PM UTC
Thank you for contacting Syncfusion support.
Based on the provided information, we have checked the reported issue “Throws null exception in the output log with SfDataGrid touch event” and it is working fine as expected. We have prepared sample for the same, please find the sample by the following link.
Note: Since the mentioned exact device not available with us, we have checked with (Lenovo A536 and Samsung S7)
Can you please check the sample with your device (Lenovo P1ma40) and let us the issue still persist in the provided sample as well? If not kindly modify the sample based on your scenario and revert to us with the details. It will be helpful for us to check on it and provide you the solution.
Subburaj Pandian V
EMEmilJune 1, 2019 11:07 PM UTC
I am not able to reproduce this error as i cant know the steps to reproduce it. it only happens in production for some devices. I have just got this error also Samsung Galaxy S7 with Android: 8.0.0
I dont know which action is below OnTouchEvent. You can give me a hint about it maybe? Obviously there is something null in this event and since i dont have source code,
i cannot guess what it could be. if I had to source code, i could at least guess what might cause the null exception.
SPSubburaj Pandian Veluchamy Syncfusion Team June 3, 2019 01:31 PM UTC
Thank you for your update.
We prepared a sample based on the details you shared "NullReferenceException is raised in Syncfusion. SfDataGrid. XForms. Droid. VirtualizingCellControlRenderer. OnTouchEvent" and checked the possibilities of null objects in that method. We handle swiping actions in this method, we tried to replicate the null reference exception with the same device, but the issue is not reproduced on our side. We attached the tested sample for your reference in the following link,
Please check the sample and let us know if you still face the same problem. If so, please get back to us with the Syncfusion product version, Xamarin forms version, and share the details of your application's DataGrid settings, it will be helpful for us to provide the solution earlier.
Regards, Subburaj Pandian V
TVThanh VuAugust 5, 2019 07:33 AM UTC
I'm facing same problem, and still don't know how to reproduce the exception in production.
BSBalasubramani Sundaram Syncfusion Team August 6, 2019 02:25 PM UTC
Hi Thanh Vu,
Thank you for your update.
We have tried to replicate the issue same, but its working fine in our side, also we have placed the null check in possible case of touch related action in “VirtualizingCellControlRenderer” class and provided a patch. If the patch works fine in your application, we will include the code change in our upcoming release.
Please find the patch for the issue from following link.
Recommended approach - exe will perform automatic configuration
Please find the patch setup from following location: