SfListView exception after update to Xamarin.Forms 4.7.0.968 on iOS

Hello,

I noticed that after Xamarin.Forms update from 4.6.0.967 to 4.7.0.968 SfListView swipe left and right gesture throw exception (only on iOS, Android is fine).

Best regards,
Radoslaw kubas

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

  at Xamarin.Forms.Platform.iOS.VisualElementTracker.UpdateClip () [0x00072] in D:\a\1\s\Xamarin.Forms.Platform.iOS\VisualElementTracker.cs:413 

  at Xamarin.Forms.Platform.iOS.VisualElementTracker.UpdateNativeControl () [0x0006c] in D:\a\1\s\Xamarin.Forms.Platform.iOS\VisualElementTracker.cs:386 

  at Xamarin.Forms.Platform.iOS.VisualElementTracker.HandlePropertyChanged (System.Object sender, System.ComponentModel.PropertyChangedEventArgs e) [0x00064] in D:\a\1\s\Xamarin.Forms.Platform.iOS\VisualElementTracker.cs:97 

  at (wrapper delegate-invoke) <Module>.invoke_void_object_PropertyChangedEventArgs(object,System.ComponentModel.PropertyChangedEventArgs)

  at Xamarin.Forms.BindableObject.OnPropertyChanged (System.String propertyName) [0x00000] in D:\a\1\s\Xamarin.Forms.Core\BindableObject.cs:229 

  at Xamarin.Forms.Element.OnPropertyChanged (Sy

stem.String propertyName) [0x00000] in D:\a\1\s\Xamarin.Forms.Core\Element.cs:353 

  at Xamarin.Forms.BindableObject.SetValueActual (Xamarin.Forms.BindableProperty property, Xamarin.Forms.BindableObject+BindablePropertyContext context, System.Object value, System.Boolean currentlyApplying, Xamarin.Forms.Internals.SetValueFlags attributes, System.Boolean silent) [0x00114] in D:\a\1\s\Xamarin.Forms.Core\BindableObject.cs:461 

  at Xamarin.Forms.BindableObject.SetValueCore (Xamarin.Forms.BindableProperty property, System.Object value, Xamarin.Forms.Internals.SetValueFlags attributes, Xamarin.Forms.BindableObject+SetValuePrivateFlags privateAttributes) [0x00173] in D:\a\1\s\Xamarin.Forms.Core\BindableObject.cs:397 

  at Xamarin.Forms.BindableObject.SetValue (Xamarin.Forms.BindableProperty property, System.Object value, System.Boolean fromStyle, System.Boolean checkAccess) [0x00042] in D:\a\1\s\Xamarin.Forms.Core\BindableObject.cs:334 

  at Xamarin.Forms.BindableObject.SetValue (Xamarin.Forms.BindablePropertyKey p

ropertyKey, System.Object value) [0x0000e] in D:\a\1\s\Xamarin.Forms.Core\BindableObject.cs:318 

  at Xamarin.Forms.VisualElement.set_X (System.Double value) [0x00000] in D:\a\1\s\Xamarin.Forms.Core\VisualElement.cs:463 

  at Xamarin.Forms.VisualElement.set_Bounds (Xamarin.Forms.Rectangle value) [0x00043] in D:\a\1\s\Xamarin.Forms.Core\VisualElement.cs:314 

  at Xamarin.Forms.VisualElement.Layout (Xamarin.Forms.Rectangle bounds) [0x00000] in D:\a\1\s\Xamarin.Forms.Core\VisualElement.cs:708 

  at Syncfusion.ListView.XForms.LayoutBase.LayoutSwipedItem (Syncfusion.ListView.XForms.ListViewItem item, System.Boolean canAnimateReset, System.Boolean canAnimateLayout) [0x001c5] in <ee55715f4e8e4345b1e86268c4bf6e03>:0 

  at Syncfusion.ListView.XForms.SwipeController.LayoutSwipeView (Syncfusion.ListView.XForms.ListViewItemInfoBase itemInfo, System.Boolean canAnimate) [0x00011] in <ee55715f4e8e4345b1e86268c4bf6e03>:0 

  at Syncfusion.ListView.XForms.SwipeController.ProcessTouchMove (Syncfusion.ListView.XForms.ListViewIte

mInfoBase itemInfo, Xamarin.Forms.Point point) [0x0022d] in <ee55715f4e8e4345b1e86268c4bf6e03>:0 

  at Syncfusion.ListView.XForms.SwipeController.HandleTouchInteractions (Syncfusion.ListView.XForms.ListViewItemInfoBase itemInfo, Xamarin.Forms.GestureStatus status, Xamarin.Forms.Point point) [0x00068] in <ee55715f4e8e4345b1e86268c4bf6e03>:0 

  at Syncfusion.ListView.XForms.iOS.ListViewItemRenderer.OnPanChanged (UIKit.UIPanGestureRecognizer panGesture) [0x000e3] in <a2150a9aa7204a3f85fe0c4bec5b8fe9>:0 

  at UIKit.UIPanGestureRecognizer+Callback.Activated (UIKit.UIPanGestureRecognizer sender) [0x00000] in /Library/Frameworks/Xamarin.iOS.framework/Versions/13.18.2.1/src/Xamarin.iOS/UIKit/UIGestureRecognizer.cs:247

--- End of stack trace from previous location where exception was thrown ---


5 Replies

LN Lakshmi Natarajan Syncfusion Team June 22, 2020 09:29 AM UTC

Hi Radoslaw, 
 
Thank you for using Syncfusion products. 
 
We have checked the reported query “SfListView Swiping breaking with Xamarin.Forms version 4.7” from our end. On further analysis, we would like to inform you that the reported issue is a break from Xamarin.Forms version 4.7. Kindly follow up with the following bug report for further updates, 
 
 
Please let us know if you need further assistance. 
 
Regards, 
Lakshmi Natarajan 
 



RK Radoslaw Kubas June 22, 2020 01:10 PM UTC

Thank you for the information. 


LN Lakshmi Natarajan Syncfusion Team June 23, 2020 05:21 AM UTC

Hi Radoslaw,  
  
Thank you for the update. 
  
Please let us know if you would require any further assistance. As always we are happy to help you out.  
  
Regards,  
Lakshmi Natarajan  



SU Suthahar April 28, 2021 06:15 PM UTC

Hi team,

I am getting same issue, do you have any update on this 


LN Lakshmi Natarajan Syncfusion Team April 29, 2021 04:50 PM UTC

Hi Suthahar, 
 
Thank you for using Syncfusion products. 
 
We have checked the reported scenario at our side. We would like to inform you that the reported issue is a framework level issue in Xamarin.Forms 4.7.0.968 and it has been fixed in the later Xamarin.Forms 4.7.0.1142 version. 
 
Please refer to the following issue report for the same, 
 
Please update the Xamarin.Forms to v 4.7.0.1142 to resolve the issue. Please let us know if you need further assistance. 
 
Regards, 
Lakshmi Natarajan 


Loader.
Up arrow icon