We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

NullReferenceException at SfDataGrid.XForms.XamarinExtentions.CreateTemplateContent


I'm receiving crashes because of a NullReferenceException in my production app.
I managed to create a demo app that should crash, when you start it.

Steps to reproduce:
1. Debug the demo app.
2. App should crash.

Xamarin Forms version:
SfDataGrid version:

Test device: Samsung Galaxy S7, Android 9.0.0

Attachment: SfDataGridBugDemo_3325ea4c.zip

3 Replies

SP Subburaj Pandian Veluchamy Syncfusion Team June 21, 2019 07:44 AM

Hi Halil, 
Thank you for contacting Syncfusion support. 
We have checked and we can able to reproduce the reported issue "Application is crashed while creating cell template view if we debug the shared application" in Xamarin.Forms Android. Currently, we are validating this issue, we will update you the further details on or before June 25, 2019. We appreciate your patience until then. 
Subburaj Pandian V  

PK Pradeep Kumar Balakrishnan Syncfusion Team June 26, 2019 12:18 AM

Hi Halil, 

Thank you for your patience. 

We have validated the issue “NullReferenceException is raised after debugging when we define GridTemplateColumn without CellTemplate in XAML” in Xamarin forms. for the same, we have logged a defect report. and the fix for the issue will be included in 2019 Volume 2 main release which is scheduled to be rolled out by mid of July 2019. We appreciate your patience until then. 

You can now track the status of this issue and contact us for any further inquiries through this link, 



Pradeep Kumar B 

SP Subburaj Pandian Veluchamy Syncfusion Team July 12, 2019 03:48 AM

Hi Halil, 
We are glad to announce that our Essential Studio 2019 Volume 2 Release version is rolled out with the reported issue fix “NullReferenceException is raised after debugging when we define GridTemplateColumn without CellTemplate in XAML” and is available for download under the following link. 
We thank you for your support and appreciate your patience in waiting for this release. Please get in touch with us if you would require any further assistance. 
Subburaj Pandian V 

Live Chat Icon For mobile
Up arrow icon