Bug 60458 - Crash in Platform listview renderers (iOS, Android) when filtering items in a listview
Summary: Crash in Platform listview renderers (iOS, Android) when filtering items in a...
Status: RESOLVED DUPLICATE of bug 59412
Alias: None
Product: Forms
Classification: Xamarin
Component: Forms ()
Version: 2.4.0
Hardware: PC Mac OS
: --- normal
Target Milestone: ---
Assignee: Bugzilla
URL: https://github.com/modplug/Xamarin-Fo...
Depends on:
Blocks:
 
Reported: 2017-10-31 19:40 UTC by Erlend Angelsen
Modified: 2017-10-31 20:11 UTC (History)
2 users (show)

Tags:
Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:
Status:
RESOLVED DUPLICATE of bug 59412

Description Erlend Angelsen 2017-10-31 19:40:19 UTC
I've created a repro project of this behavior at 

https://github.com/modplug/Xamarin-Forms-Infinite-Dynamic-Scroll

iOS: Stack

{System.ArgumentOutOfRangeException: Specified argument was out of the range of valid values.
Parameter name: index
  at Xamarin.Forms.ListProxy.get_Item (System.Int32 index) [0x0000b] in D:\agent\_work\1\s\Xamarin.Forms.Core\ListProxy.cs:127 
  at Xamarin…}

Android: Stack

10-31 19:30:11.521 I/MonoDroid( 4951): UNHANDLED EXCEPTION:
10-31 19:30:11.529 I/MonoDroid( 4951): System.ArgumentOutOfRangeException: Specified argument was out of the range of valid values.
10-31 19:30:11.529 I/MonoDroid( 4951): Parameter name: index
10-31 19:30:11.529 I/MonoDroid( 4951):   at Xamarin.Forms.ListProxy.get_Item (System.Int32 index) [0x0000b] in C:\BuildAgent3\work\ca3766cfc22354a1\Xamarin.Forms.Core\ListProxy.cs:127 
10-31 19:30:11.529 I/MonoDroid( 4951):   at Xamarin.Forms.ListProxy.System.Collections.IList.get_Item (System.Int32 index) [0x00000] in C:\BuildAgent3\work\ca3766cfc22354a1\Xamarin.Forms.Core\ListProxy.cs:441 
10-31 19:30:11.529 I/MonoDroid( 4951):   at Xamarin.Forms.Internals.TemplatedItemsList`2[TView,TItem].UpdateContent (TItem content, System.Int32 index) [0x00000] in C:\BuildAgent3\work\ca3766cfc22354a1\Xamarin.Forms.Core\TemplatedItemsList.cs:621 
10-31 19:30:11.529 I/MonoDroid( 4951):   at Xamarin.Forms.Internals.TemplatedItemsList`2[TView,TItem].Xamarin.Forms.ITemplatedItemsList<TItem>.UpdateContent (TItem content, System.Int32 index) [0x00000] in C:\BuildAgent3\work\ca3766cfc22354a1\Xamarin.Forms.Core\TemplatedItemsList.cs:626 
10-31 19:30:11.529 I/MonoDroid( 4951):   at Xamarin.Forms.Platform.Android.ListViewAdapter.GetView (System.Int32 position, Android.Views.View convertView, Android.Views.ViewGroup parent) [0x00155] in C:\BuildAgent3\work\ca3766cfc22354a1\Xamarin.Forms.Platform.Android\Renderers\ListViewAdapter.cs:254 
10-31 19:30:11.529 I/MonoDroid( 4951):   at Android.Widget.BaseAdapter.n_GetView_ILandroid_view_View_Landroid_view_ViewGroup_ (System.IntPtr jnienv, System.IntPtr native__this, System.Int32 position, System.IntPtr
Comment 1 Paul DiPietro [MSFT] 2017-10-31 20:11:41 UTC
I suspect this is related to 59412 so I'd like to keep them bundled together.

*** This bug has been marked as a duplicate of bug 59412 ***