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: Fatal: supplied item identifiers are not unique. Duplicate identifiers: {( #23170

Open
sentry-io bot opened this issue May 7, 2024 · 2 comments

Comments

@sentry-io
Copy link

sentry-io bot commented May 7, 2024

Sentry Issue: JETPACK-IOS-1AW8

NSInternalInconsistencyException: Fatal: supplied item identifiers are not unique. Duplicate identifiers: {(
    WordPress.AnyHashableImmuTableRow(immuTableRow: WordPress.DetailDataRow(rowData: WordPress.StatsTotalRowData(name: "High Voltages", data: "a year", mediaID: nil, postID: nil, dataBarPercent: nil, icon: nil, socialIconURL: nil, userIconURL: Optional(https://2.gravatar.com/avatar/ee00f796474b066bb13f950a9c60efac72038f6d23ecec41df239be118f05541?d=mm&s=60), nameDetail: nil, showDisclosure: false, disclosureURL: nil, childRows: Optional([]), statSection: Optional(WordPress.StatSection), isReferrerSpam: false), detailsDelegate: Optional(<WordPress.SiteStatsDetailTableViewController: 0x11d855400>), hideIndentedSeparator: false, hideFullSeparator: true, action: nil))
)}
  File "HashableImmutableRow.swift", line 47, in NSDiffableDataSourceSnapshot<T>.singleSectionSnapshot
  File "SiteStatsDetailsViewModel.swift", in SiteStatsDetailsViewModel.tableViewSnapshot
  File "SiteStatsDetailTableViewController.swift", line 177, in SiteStatsDetailTableViewController.refreshTableView
  File "SiteStatsDetailTableViewController.swift", line 148, in SiteStatsDetailTableViewController.initViewModel
  File "<compiler-generated>", in thunk for closure
...
(65 additional frame(s) were not displayed)
@dangermattic
Copy link
Collaborator

dangermattic commented May 7, 2024

Thanks for reporting! 👍

@wargcm wargcm added the Stats label May 7, 2024
@wargcm
Copy link
Contributor

wargcm commented May 7, 2024

There's a related crash, #23036. I separated them though due to this crash being slightly different with WordPress.DetailDataRow. #23036 was a crash with WordPress.TopTotalsPostStatsRow.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants