https://sentry.io/share/issue/2b746139caca4d53b3e076c767f23457/
NSInvalidArgumentException: -[_UIConcretePasteboard setImage:]: Argument is not an object of type UIImage [(null)]
File "main.swift", line 7, in main
...
(38 additional frame(s) were not displayed)
WORDPRESS-IOS-54Q
Events in 14.3.0.3 since it was released 18d ago on Mar 9: 460
Total events in the last 90 days: 7100
Users affected in the last 90 days: 1800
First seen: Jun 3, 2019 9:35:07 PM UTC in org.wordpress-12.5
Events in the last 90d: 10,600
Events in the last 11d for 14.9: 249 in 14.9 since it was released on 2020-06-01
Users affected in the last 90d: 2,500
https://sentry.io/share/issue/2b746139caca4d53b3e076c767f23457/

Hi @designsimply!. The issue that causes the exception:
NSInvalidArgumentException: -[_UIConcretePasteboard setImage:]: Argument is not an object of type UIImage [(null)] is likely due to the current peek & pop in ReaderDetailViewController:

the image is blank, and tapping on copy image will cause that exception.
Talked to @leandroalonso , the new version of 'Reader Detail' will be enabled at the end of this week and released in 15.2, and should resolve this issue. So I'll leave it open for now until that gets released.
What was the fix for this exception @Gio2018? Seems like a UIKit bug isn't it? Can you point me to the commit that fixed it?
@dzenbot unfortunately we haven't directly fixed this one. We changed how this screen was implemented and the issue vanished.
NSInvalidArgumentException: -[_UIConcretePasteboard setImage:]: Argument is not an object of type UIImage [(null)]is likely due to the current peek & pop in ReaderDetailViewController […] the new version of 'Reader Detail' will be enabled at the end of this week and released in 15.2, and should resolve this issue.
Indeed! A search for that error is looking like it's clearing up! 🎉
As for the WORDPRESS-IOS-54Q issue, ~10/day in the latest release is a pretty low count (see next graph below) but shows that crash is still happening, definitely trending down though if you look at the 90d graph (2nd graph below).
WORDPRESS-IOS-54Q
Events in the last 90d: 12,000
Users affected in the last 90d: 1,900
Events in the latest release. last 30d: 92 (15.3 released 13d ago on 2020-07-24)
https://sentry.io/share/issue/2b746139caca4d53b3e076c767f23457/
@designsimply the main issue was NSInvalidArgumentException: -[_UIConcretePasteboard setImage:]: Argument is not an object of type UIImage [(null)] but all the links points to an exception of the type NSInvalidArgumentException: Application tried to present modal view controller on itself. Presenting controller is <UISearchC....
I guess these are different things, what do you think? The main issue here was fixed with the new Reader Detail screen. :)
@leandroalonso I went to https://sentry.io/share/issue/2b746139caca4d53b3e076c767f23457/ and clicked Details at top right (requires access/Sentry login) and looked for NSInvalidArgumentException: Application tried to present modal view controller on itself. Presenting controller is <UISearchC... but I couldn't see anything like that. In any case, if the exception type you're seeing is different then it's possible this Sentry issue has had an incorrect merge or that I am not looking at the right link! I'll investigate.
I see it now 😑 and I feel the Sentry issue contains two separate issues which we can track separately as @leandroalonso suggested.
I made a new issue at https://github.com/wordpress-mobile/WordPress-iOS/issues/14603 and am closing this one as fixed. 🎉 Thank you @leandroalonso!
Most helpful comment
@dzenbot unfortunately we haven't directly fixed this one. We changed how this screen was implemented and the issue vanished.