WordPress-iOS
WordPress-iOS copied to clipboard
NSInternalInconsistencyException: Expected a popover view, found (null)
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)
Thanks for reporting! 👍
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
@kean thanks for notifying me. I'll take a look
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 https://github.com/wordpress-mobile/WordPress-iOS/issues/22932
Stats crash doesn't look to be as crucial but I'll make sure it's taken care of.
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.
NSInternalInconsistencyException: Expected a popover view, found (null)。How did you solve this problem? I also encountered this problem on iPad. Can you help me?