I am getting below exception on sflistview. I am not sure in which case OnDown is used but i see crashes in my app center logs. can you please check this stack trace below? i am using XF version 126.96.36.1998062
SRSangeetha Raju Syncfusion Team October 21, 2019 07:24 AM
We have checked the reported query from our side with Xamarin Forms version as 188.8.131.528062 and SfListView version as 184.108.40.206. While checking with the reported query we did not face any issues in Android as reported. We have attached the tested sample for your reference. Please find the sample from the follwoing link.
Could you please check with the above sample?. We suspect that the issue may occur at particular scenario as existing in yours. So, we recommend you to revert us the issue with reproducible sample or replication procedure to reproduce it which will help us to analyze your query better and provide appropriate solution at our end.
TTTaras TeslyaOctober 25, 2019 04:35 AM
I also see same issue
Xamarin Exception Stack:
System.NullReferenceException: Object reference not set to an instance of an object
at Syncfusion.ListView.XForms.Android.ListViewItemRenderer.OnDown (Android.Views.MotionEvent e) [0x00019] in <47babd519fd9454a85e0bfae52f037f0>:0
at Android.Views.GestureDetector+IOnGestureListenerInvoker.n_OnDown_Landroid_view_MotionEvent_ (System.IntPtr jnienv, System.IntPtr native__this, System.IntPtr native_e) [0x00011] in <7f15356de6644318af3142390ce1e7ae>:0
at (wrapper dynamic-method) Android.Runtime.DynamicMethodNameCounter.102(intptr,intptr,intptr)
I can't reproduce it on my phone, but I see that some users have crashes.
I see such errors with XF 220.127.116.118062 and in XF 18.104.22.1688675.
Previously I had XF 22.214.171.1249228, and no issues.
MMMageshyadav M Syncfusion Team October 28, 2019 10:24 AM
We have mentioned earlier in our previous update we unable to reproduce the reported issue in Android as reported at our end.
Could you please check with the above sample in our perivious update?. We suspect that the issue may occur at particular scenario as existing in yours such as machine version. So, we recommend you to revert us the issue with reproducible sample or revert back us with following details.
Device configuration details.
Syncfusion control and Xamarin.Forms versions used.
It will be helpful for us to check on it and provide you the solution at the earliest.
TTTaras TeslyaOctober 30, 2019 04:47 AM
I don't have reproducible sample. I see it in AppCenter list of errors.
From AppCenter logs I see that it happens on many pages with different SfListViews.
I started receiving this error after switching to XF 4.2, with 3.6 I didn't have it. After migrating to XF 4.3 I still see error.
SFListView 126.96.36.199, 188.8.131.52
I could give you information about devices from AppCenter.
Information about devices:
EMEmilOctober 30, 2019 06:21 AM
yes same for me. i cannot reproduce myself but in appcenter logs many crashes from other users. It apparently crashing with null reference exception for the mentioned function.
GSGokul Saravanan Syncfusion Team October 30, 2019 08:37 AM
Thank you for the update.
We could not able to replicate the reported issue with the shared details from our end. To proceed further, please share the following details,
·Did you handled any touch gestures for views inside ListView ItemTemplate - If so, please share the code snippets.
·Any touch-related codes handled in custom renderers, for SfListView or its child views used in DataTemplate.
·Handled any SfListView selection / tap events.
Kindly share the details mentioned above, it will be helpful for us to analyze better at our end and find the cause where OnDown() method throws the exception and provide you the solution at the earliest.
GPGnana Priya Namasivayam Syncfusion Team October 31, 2019 07:37 AM
We have added possible null check based on the provided call stack. We would like to inform that fix will be included in the upcoming 2019 Vol 3 SP1 release which is scheduled to be rolled out on first week of November, 2019. We will appreciate your patience until then.
In the meantime, please share the requested details in the previous update to ensure from our end.
We published today version with controls from 184.108.40.206 update. I will check app center logs after few days, and let you know about your fix.
Anyway we will remove that gesture control from code later.
TTTaras TeslyaNovember 5, 2019 04:59 PM
And thank you for your fix.
SRSangeetha Raju Syncfusion Team November 6, 2019 01:32 AM
Thank you for the update. Please let us know if you require any further assistance.
EMEmilDecember 31, 2019 10:13 PM
@Taras: are you not seeing this crash any longer? which version did you update last? I am seeing still crashes on 220.127.116.11
GPGnana Priya Namasivayam Syncfusion Team January 2, 2020 01:53 AM
We would like to inform you that we have fixed the reported issue based on call stack and included in sfListView v18.104.22.168. Kindly update SfListView to fixed version to resolve the reported issue. We have also mentioned in our release notes, please find them from below for your reference.