Bug 26449 - NSInternalInconsistencyException thrown on ListView reset
Summary: NSInternalInconsistencyException thrown on ListView reset
Alias: None
Product: Forms
Classification: Xamarin
Component: Forms ()
Version: 1.3.2
Hardware: Macintosh Mac OS
: Normal normal
Target Milestone: ---
Assignee: Eric Maupin
Depends on:
Reported: 2015-01-27 05:20 UTC by Brian Medley
Modified: 2015-06-01 15:21 UTC (History)
4 users (show)

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

Complete iOS project that shows the bug (173.34 KB, application/octet-stream)
2015-01-27 05:25 UTC, Brian Medley

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:

Description Brian Medley 2015-01-27 05:20:50 UTC
Only tested on iOS - run on phone or in debug mode.  Click any number and delete it.

I could be updating the ListView incorrectly; however; I've never seen the "correct" way to reset a ListView.

Objective-C exception thrown.  Name: NSInternalInconsistencyException Reason: Invalid update: invalid number of rows in section 0.  The number of rows contained in an existing section after the update (2) must be equal to the number of rows contained in that section before the update (8), plus or minus the number of rows inserted or deleted from that section (0 inserted, 0 
deleted) and plus or minus the number of rows moved into or out of that section (0 moved in, 0 moved out).
Comment 1 Brian Medley 2015-01-27 05:25:44 UTC
Created attachment 9514 [details]
Complete iOS project that shows the bug
Comment 2 Eric Maupin 2015-06-01 15:21:43 UTC
This appears to be fixed in the current version.