Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NSInternalInconsistencyException: Invalid update: invalid number of items in section 0. The number of items contained in an existin... #21183

Closed
sentry-io bot opened this issue Jul 25, 2023 · 2 comments

Comments

@sentry-io
Copy link

sentry-io bot commented Jul 25, 2023

Sentry Issue: JETPACK-IOS-VAC

NSInternalInconsistencyException: Invalid update: invalid number of items in section 0. The number of items contained in an existing section after the update (4393) must be equal to the number of items contained in that section before the update (75), plus or minus the number of items inserted or deleted from that section (0 inserted, 0 deleted) and plus or minus the number of items moved into or out of that section (0 moved in, 0 moved out). Collection view: <UICollectionView: 0x10a059000; frame = (0 0; 414 640); clipsToBounds = YES; gestureRecognizers = <NSArray: 0x281f1aeb0>; backgroundColor = <UIDynamicProviderColor: 0x2813ee660; provider = <__NSMallocBlock__: 0x281de0d80>>; layer = <CALayer: 0x28154e1e0>; contentOffset: {0, -85.333333333333329}; contentSize: {414, 2060}; adjustedContentInset: {85.333333333333329, 0, 0, 0}; layout: <UICollectionViewFlowLayout: 0x109c21030>; dataSource: <WPMediaPickerViewController: 0x10a025000>>
  File "WPMediaPickerViewController.m", line 740, in -[WPMediaPickerViewController updateDataWithRemoved:inserted:changed:moved:]
  File "WPMediaPickerViewController.m", line 137, in __58-[WPMediaPickerViewController registerDataSourceObservers]_block_invoke
  File "WPAndDeviceMediaLibraryDataSource.m", line 166, in __65-[WPAndDeviceMediaLibraryDataSource registerChangeObserverBlock:]_block_invoke.8
  File "MediaLibraryPickerDataSource.m", line 184, in -[MediaLibraryPickerDataSource notifyObserversWithIncrementalChanges:removed:inserted:changed:moved:]
  File "MediaLibraryPickerDataSource.m", line 510, in -[MediaLibraryPickerDataSource controllerDidChangeContent:]
...
(28 additional frame(s) were not displayed)
@peril-wordpress-mobile
Copy link

Fails
🚫

Please add a type label to this issue. e.g. '[Type] Enhancement'

🚫 Please add a feature label to this issue. e.g. 'Stats'

Generated by 🚫 dangerJS

@staskus
Copy link
Contributor

staskus commented Jul 25, 2023

Duplicate of #21102

@staskus staskus marked this as a duplicate of #21102 Jul 25, 2023
@staskus staskus closed this as completed Jul 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant