Crash with SfPullToRefresh

I am using SfPullToRefresh in a Xamarin.Forms application with the latest Xamarin.Forms package. I am also using the new feature Shapes in the application.
This is the error:

at Xamarin.Forms.Platform.iOS.VisualElementTracker.ShouldUpdateClip () [0x00037] in D:\a\1\s\Xamarin.Forms.Platform.iOS\VisualElementTracker.cs:452 
  at Xamarin.Forms.Platform.iOS.VisualElementTracker.UpdateClip () [0x00000] in D:\a\1\s\Xamarin.Forms.Platform.iOS\VisualElementTracker.cs:394 
  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 (System.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 propertyKey, System.Object value) [0x0000e] in D:\a\1\s\Xamarin.Forms.Core\BindableObject.cs:318 
  at Xamarin.Forms.VisualElement.set_Width (System.Double value) [0x00000] in D:\a\1\s\Xamarin.Forms.Core\VisualElement.cs:451 
  at Xamarin.Forms.VisualElement.SetSize (System.Double width, System.Double height) [0x00013] in D:\a\1\s\Xamarin.Forms.Core\VisualElement.cs:1080 
  at Xamarin.Forms.VisualElement.set_Bounds (Xamarin.Forms.Rectangle value) [0x0005d] in D:\a\1\s\Xamarin.Forms.Core\VisualElement.cs:316 
  at Xamarin.Forms.VisualElement.Layout (Xamarin.Forms.Rectangle bounds) [0x00000] in D:\a\1\s\Xamarin.Forms.Core\VisualElement.cs:708 
  at Syncfusion.SfPullToRefresh.XForms.SfProgressCircleView.RenderProgress (System.Double yPosition) [0x0005e] in <7e260588838c4984ab277d0b3cf9d04f>:0 
  at Syncfusion.SfPullToRefresh.XForms.SfPullToRefresh.LayoutPullingView (System.Double yPosition) [0x0005c] in <7e260588838c4984ab277d0b3cf9d04f>:0 
  at Syncfusion.SfPullToRefresh.XForms.SfPullToRefresh.RaisePullingEvent (System.Double progressYPosition) [0x00473] in <7e260588838c4984ab277d0b3cf9d04f>:0 
  at Syncfusion.SfPullToRefresh.XForms.SfPullToRefresh.OnPanUpdated (System.Object sender, Xamarin.Forms.PanUpdatedEventArgs args) [0x001eb] in <7e260588838c4984ab277d0b3cf9d04f>:0 
  at Xamarin.Forms.PanGestureRecognizer.SendPan (Xamarin.Forms.Element sender, System.Double totalX, System.Double totalY, System.Int32 gestureId) [0x00000] in D:\a\1\s\Xamarin.Forms.Core\PanGestureRecognizer.cs:20 
  at Xamarin.Forms.Platform.iOS.EventTracker+<>c__DisplayClass15_0.<GetNativeRecognizer>b__2 (UIKit.UIPanGestureRecognizer r) [0x00107] in D:\a\1\s\Xamarin.Forms.Platform.iOS\EventTracker.cs:403 
  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 

1 Reply 1 reply marked as answer

SS Sivaraman Sivagurunathan Syncfusion Team July 9, 2020 05:37 AM UTC

Hi Jasper, 

Thanks for using Syncfusion controls. 

We have checked the reported issue “Application crashed when using SfPullToRefresh” in Xamarin forms IOS. After analysis, we have found that this issue is not related to our library it is related to Xamarin forms version 4.7. Same issue is already logged in Xamarin framework.    
   
You can track the status of the issue report by the following link.    

Regards, 
Sivaraman S 


Marked as answer
Loader.
Up arrow icon