{"action":"created","issue":{"url":"https://api.github.com/repos/facebook/AsyncDisplayKit/issues/1028","labels_url":"https://api.github.com/repos/facebook/AsyncDisplayKit/issues/1028/labels{/name}","comments_url":"https://api.github.com/repos/facebook/AsyncDisplayKit/issues/1028/comments","events_url":"https://api.github.com/repos/facebook/AsyncDisplayKit/issues/1028/events","html_url":"https://github.com/facebook/AsyncDisplayKit/issues/1028","id":124594174,"number":1028,"title":"[ASRangeController] Old range controller (current stable 1.9.4 release) issue when deleting items.","user":{"login":"binchensjtu","id":2069820,"avatar_url":"https://avatars.githubusercontent.com/u/2069820?v=3","gravatar_id":"","url":"https://api.github.com/users/binchensjtu","html_url":"https://github.com/binchensjtu","followers_url":"https://api.github.com/users/binchensjtu/followers","following_url":"https://api.github.com/users/binchensjtu/following{/other_user}","gists_url":"https://api.github.com/users/binchensjtu/gists{/gist_id}","starred_url":"https://api.github.com/users/binchensjtu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/binchensjtu/subscriptions","organizations_url":"https://api.github.com/users/binchensjtu/orgs","repos_url":"https://api.github.com/users/binchensjtu/repos","events_url":"https://api.github.com/users/binchensjtu/events{/privacy}","received_events_url":"https://api.github.com/users/binchensjtu/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/facebook/AsyncDisplayKit/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/facebook/AsyncDisplayKit/labels/community%20debugging","name":"community debugging","color":"009b95"}],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/facebook/AsyncDisplayKit/milestones/13","html_url":"https://github.com/facebook/AsyncDisplayKit/milestones/1.9.5","labels_url":"https://api.github.com/repos/facebook/AsyncDisplayKit/milestones/13/labels","id":1468155,"number":13,"title":"1.9.5","description":null,"creator":{"login":"appleguy","id":565251,"avatar_url":"https://avatars.githubusercontent.com/u/565251?v=3","gravatar_id":"","url":"https://api.github.com/users/appleguy","html_url":"https://github.com/appleguy","followers_url":"https://api.github.com/users/appleguy/followers","following_url":"https://api.github.com/users/appleguy/following{/other_user}","gists_url":"https://api.github.com/users/appleguy/gists{/gist_id}","starred_url":"https://api.github.com/users/appleguy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/appleguy/subscriptions","organizations_url":"https://api.github.com/users/appleguy/orgs","repos_url":"https://api.github.com/users/appleguy/repos","events_url":"https://api.github.com/users/appleguy/events{/privacy}","received_events_url":"https://api.github.com/users/appleguy/received_events","type":"User","site_admin":false},"open_issues":19,"closed_issues":17,"state":"open","created_at":"2015-12-20T04:35:21Z","updated_at":"2016-01-15T20:38:37Z","due_on":null,"closed_at":null},"comments":27,"created_at":"2016-01-02T14:55:30Z","updated_at":"2016-01-15T20:39:26Z","closed_at":"2016-01-15T20:38:37Z","body":"In ADK 1.9.4. It will throw exception when trying to delete items. It works fine in 1.9.3\r\n```\r\n2016-01-02 22:47:38.186 Sample[51411:3328724] *** Terminating app due to uncaught exception 'NSRangeException', reason: '*** -[NSArray objectsAtIndexes:]: index 5 in index set beyond bounds [0 .. 4]'\r\n*** First throw call stack:\r\n(\r\n\t0   CoreFoundation                      0x000000010dc4de65 __exceptionPreprocess + 165\r\n\t1   libobjc.A.dylib                     0x000000010d6c4deb objc_exception_throw + 48\r\n\t2   CoreFoundation                      0x000000010db8fad8 -[NSArray objectsAtIndexes:] + 952\r\n\t3   Sample                              0x000000010cb75c40 __ASFindElementsInMultidimensionalArrayAtIndexPaths_block_invoke + 128\r\n\t4   Sample                              0x000000010cb74c7d _ZL52ASRecursivelyUpdateMultidimensionalArrayAtIndexPathsP14NSMutableArrayPK7NSArrayRmP11NSIndexPathmU13block_pointerFvS0_P10NSIndexSetmE + 1533\r\n\t5   Sample                              0x000000010cb748ca _ZL52ASRecursivelyUpdateMultidimensionalArrayAtIndexPathsP14NSMutableArrayPK7NSArrayRmP11NSIndexPathmU13block_pointerFvS0_P10NSIndexSetmE + 586\r\n\t6   Sample                              0x000000010cb75803 ASFindElementsInMultidimensionalArrayAtIndexPaths + 675\r\n\t7   Sample                              0x000000010cb142f1 -[ASDataController nodesAtIndexPaths:] + 577\r\n\t8   Sample                              0x000000010caf9070 -[ASCollectionView rangeController:nodesAtIndexPaths:] + 96\r\n\t9   Sample                              0x000000010cb8805b -[ASRangeController _updateVisibleNodeIndexPaths] + 1547\r\n\t10  Foundation                          0x000000010d2acb89 __NSFireDelayedPerform + 402\r\n\t11  CoreFoundation                      0x000000010dbadc84 __CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__ + 20\r\n\t12  CoreFoundation                      0x000000010dbad831 __CFRunLoopDoTimer + 1089\r\n\t13  CoreFoundation                      0x000000010db6f241 __CFRunLoopRun + 1937\r\n\t14  CoreFoundation                      0x000000010db6e828 CFRunLoopRunSpecific + 488\r\n\t15  GraphicsServices                    0x000000011217dad2 GSEventRunModal + 161\r\n\t16  UIKit                               0x000000010e6c1610 UIApplicationMain + 171\r\n\t17  Sample                              0x000000010cac50af main + 111\r\n\t18  libdyld.dylib                       0x000000010fd4492d start + 1\r\n)\r\n```\r\n\r\nSeems relative to logic change in line https://github.com/facebook/AsyncDisplayKit/blob/1.9.4/AsyncDisplayKit/Details/ASRangeController.mm#L134"},"comment":{"url":"https://api.github.com/repos/facebook/AsyncDisplayKit/issues/comments/172086906","html_url":"https://github.com/facebook/AsyncDisplayKit/issues/1028#issuecomment-172086906","issue_url":"https://api.github.com/repos/facebook/AsyncDisplayKit/issues/1028","id":172086906,"user":{"login":"bsmith11","id":7103810,"avatar_url":"https://avatars.githubusercontent.com/u/7103810?v=3","gravatar_id":"","url":"https://api.github.com/users/bsmith11","html_url":"https://github.com/bsmith11","followers_url":"https://api.github.com/users/bsmith11/followers","following_url":"https://api.github.com/users/bsmith11/following{/other_user}","gists_url":"https://api.github.com/users/bsmith11/gists{/gist_id}","starred_url":"https://api.github.com/users/bsmith11/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bsmith11/subscriptions","organizations_url":"https://api.github.com/users/bsmith11/orgs","repos_url":"https://api.github.com/users/bsmith11/repos","events_url":"https://api.github.com/users/bsmith11/events{/privacy}","received_events_url":"https://api.github.com/users/bsmith11/received_events","type":"User","site_admin":false},"created_at":"2016-01-15T20:39:26Z","updated_at":"2016-01-15T20:39:26Z","body":"@appleguy Will do"}}