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: Expected a popover view, found (null) #23008

Open
sentry-io bot opened this issue Apr 15, 2024 · 5 comments
Open

NSInternalInconsistencyException: Expected a popover view, found (null) #23008

sentry-io bot opened this issue Apr 15, 2024 · 5 comments
Assignees

Comments

@sentry-io
Copy link

sentry-io bot commented Apr 15, 2024

Sentry Issue: JETPACK-IOS-60

NSInternalInconsistencyException: Expected a popover view, found (null)
  File "main.swift", line 7, in main
...
(18 additional frame(s) were not displayed)
@dangermattic
Copy link
Collaborator

dangermattic commented Apr 15, 2024

Thanks for reporting! 👍

@kean
Copy link
Contributor

kean commented Apr 15, 2024

There seems to be a crash in SiteStatsPeriodTableViewControllerDeprecated:

NSInternalInconsistencyException: Expected a popover view, found (null)
Error
13:31:39
ui.lifecycle

{
beingPresented: false,
parentViewController: UIPageViewController,
screen: SiteStatsPeriodTableViewControllerDeprecated
}

The issue it a bit confusing because it looks like there are more crashes rolled into it:

the cell returned from -collectionView:cellForItemAtIndexPath: does not have a reuseIdentifier - cells must be retrieved by calling -dequeueReusableCellWithReuseIdentifier:forIndexPath:

It looks like it might be in the Stats area, and it's currently in a top 3 or crashes. @staskus, can you folks look into it, please?

Hi

@staskus
Copy link
Contributor

staskus commented Apr 15, 2024

@kean thanks for notifying me. I'll take a look

@staskus
Copy link
Contributor

staskus commented Apr 15, 2024

Yes, there are more crashes rolled into this one Sentry report. https://docs.google.com/spreadsheets/d/1GniPO2fF-8-5G4LW9C2C2C_yijE2d_Xnsq07n3rpRNE/edit#gid=0

The most popular for 24.5 is the cell returned from -collectionView:cellForItemAtIndexPath: does not have a reuseIdentifier happening in ReaderSelectInterestsViewController. Which is an issue I reported before here #22932

Stats crash doesn't look to be as crucial but I'll make sure it's taken care of.

@dvdchr
Copy link
Contributor

dvdchr commented May 6, 2024

the cell returned from -collectionView:cellForItemAtIndexPath: does not have a reuseIdentifier - cells must be retrieved by calling -dequeueReusableCellWithReuseIdentifier:forIndexPath:

👋 FYI: For this issue, I've created #23158 to fix/mitigate it.

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

4 participants