jamesmontemagno / Xamarin.Forms-PullToRefreshLayout

Pull To Refresh a ScrollView or ListView in Xamarin.Forms
218 stars 49 forks source link

ObjectDisposedException: Cannot access a disposed object. Object name: 'Refractored.XamForms.PullToRefresh.Droid.PullToRefreshLayoutRenderer'. #32

Closed draugaslt closed 6 years ago

draugaslt commented 6 years ago

Android: 6.0.1 Android Build: MMB29M Manufacturer: OnePlus Model: ONE A2003 CrashReporter Key: 17ddf61a-51bb-4433-8151-d8bad4953225 Start Date: 2017-10-26T17:11:27.465Z Date: 2017-10-26T17:15:00.548Z

Xamarin Exception Stack: System.ObjectDisposedException: Cannot access a disposed object. Object name: 'Refractored.XamForms.PullToRefresh.Droid.PullToRefreshLayoutRenderer'. at Java.Interop.JniPeerMembers.AssertSelf (Java.Interop.IJavaPeerable self) [0x00029] in <1d799d87381c4db5b1252825fd105b84>:0 at Java.Interop.JniPeerMembers+JniInstanceMethods.InvokeVirtualBooleanMethod (System.String encodedMember, Java.Interop.IJavaPeerable self, Java.Interop.JniArgumentValue* parameters) [0x00000] in <1d799d87381c4db5b1252825fd105b84>:0 at Android.Views.View.get_IsInLayout () [0x0000a] in :0 at Xamarin.Forms.Platform.Android.VisualElementTracker.MaybeRequestLayout () [0x00016] in <398cf4d138ad48c7a756f39dfc252737>:0 at Xamarin.Forms.Platform.Android.VisualElementTracker.HandleRedrawNeeded (System.Object sender, Xamarin.Forms.Internals.EventArg1[T] e) [0x00049] in <398cf4d138ad48c7a756f39dfc252737>:0 at (wrapper delegate-invoke) System.EventHandler1[Xamarin.Forms.Internals.EventArg1[Xamarin.Forms.VisualElement]]:invoke_void_object_TEventArgs (object,Xamarin.Forms.Internals.EventArg1) at Xamarin.Forms.VisualElement.BatchCommit () [0x00031] in :0 at Xamarin.Forms.VisualElement.set_Bounds (Xamarin.Forms.Rectangle value) [0x00071] in :0 at Xamarin.Forms.VisualElement.Layout (Xamarin.Forms.Rectangle bounds) [0x00000] in :0 at Xamarin.Forms.Layout.LayoutChildIntoBoundingRegion (Xamarin.Forms.VisualElement child, Xamarin.Forms.Rectangle region) [0x0016b] in :0 at Xamarin.Forms.Grid.LayoutChildren (System.Double x, System.Double y, System.Double width, System.Double height) [0x00152] in :0 at Xamarin.Forms.Layout.UpdateChildrenLayout () [0x000c7] in :0 at Xamarin.Forms.Layout.OnSizeAllocated (System.Double width, System.Double height) [0x0000f] in :0 at Xamarin.Forms.VisualElement.SizeAllocated (System.Double width, System.Double height) [0x00000] in :0 at Xamarin.Forms.VisualElement.SetSize (System.Double width, System.Double height) [0x00021] in :0 at Xamarin.Forms.VisualElement.set_Bounds (Xamarin.Forms.Rectangle value) [0x0006c] in :0 at Xamarin.Forms.VisualElement.Layout (Xamarin.Forms.Rectangle bounds) [0x00000] in :0 at Xamarin.Forms.Layout.LayoutChildIntoBoundingRegion (Xamarin.Forms.VisualElement child, Xamarin.Forms.Rectangle region) [0x0016b] in :0 at Xamarin.Forms.AbsoluteLayout.LayoutChildren (System.Double x, System.Double y, System.Double width, System.Double height) [0x00046] in :0 at Xamarin.Forms.Layout.UpdateChildrenLayout () [0x000c7] in :0 at Xamarin.Forms.Layout.OnSizeAllocated (System.Double width, System.Double height) [0x0000f] in :0 at Xamarin.Forms.VisualElement.SizeAllocated (System.Double width, System.Double height) [0x00000] in :0 at Xamarin.Forms.VisualElement.SetSize (System.Double width, System.Double height) [0x00021] in :0 at Xamarin.Forms.VisualElement.set_Bounds (Xamarin.Forms.Rectangle value) [0x0006c] in :0 at Xamarin.Forms.VisualElement.Layout (Xamarin.Forms.Rectangle bounds) [0x00000] in :0 at Xamarin.Forms.Layout.LayoutChildIntoBoundingRegion (Xamarin.Forms.VisualElement child, Xamarin.Forms.Rectangle region) [0x0016b] in :0 at Xamarin.Forms.Page.LayoutChildren (System.Double x, System.Double y, System.Double width, System.Double height) [0x0010d] in :0 at Xamarin.Forms.Page.UpdateChildrenLayout () [0x000c6] in :0 at Xamarin.Forms.Page.OnSizeAllocated (System.Double width, System.Double height) [0x0000f] in :0 at Common.Pages.BaseContentPage.OnSizeAllocated (System.Double width, System.Double height) [0x00000] in :0 at Xamarin.Forms.VisualElement.SizeAllocated (System.Double width, System.Double height) [0x00000] in :0 at Xamarin.Forms.VisualElement.SetSize (System.Double width, System.Double height) [0x00021] in :0 at Xamarin.Forms.VisualElement.set_Bounds (Xamarin.Forms.Rectangle value) [0x0006c] in :0 at Xamarin.Forms.VisualElement.Layout (Xamarin.Forms.Rectangle bounds) [0x00000] in :0 at Xamarin.Forms.Layout.LayoutChildIntoBoundingRegion (Xamarin.Forms.VisualElement child, Xamarin.Forms.Rectangle region) [0x0000a] in :0 at Xamarin.Forms.Page.LayoutChildren (System.Double x, System.Double y, System.Double width, System.Double height) [0x0010d] in :0 at Xamarin.Forms.Page.UpdateChildrenLayout () [0x000c6] in :0 at Xamarin.Forms.Page.OnSizeAllocated (System.Double width, System.Double height) [0x0000f] in :0 at Xamarin.Forms.VisualElement.SizeAllocated (System.Double width, System.Double height) [0x00000] in :0 at Xamarin.Forms.Page.ForceLayout () [0x0000d] in :0 at Xamarin.Forms.Page.set_ContainerArea (Xamarin.Forms.Rectangle value) [0x0001d] in :0 at Xamarin.Forms.Platform.Android.AppCompat.TabbedPageRenderer.OnLayout (System.Boolean changed, System.Int32 l, System.Int32 t, System.Int32 r, System.Int32 b) [0x000da] in <398cf4d138ad48c7a756f39dfc252737>:0 at Xamarin.Forms.Platform.Android.FormsViewGroup.n_OnLayout_ZIIII (System.IntPtr jnienv, System.IntPtr native__this, System.Boolean p0, System.Int32 p1, System.Int32 p2, System.Int32 p3, System.Int32 p4) [0x00008] in :0 at (wrapper dynamic-method) System.Object:617584bb-3014-41c5-bc70-45528c2fcd9f (intptr,intptr,bool,int,int,int,int)

jamesmontemagno commented 6 years ago

Duplicate of #12