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

NSInvalidArgumentException: <UINavigationController: 0x1370f9400> is pushing the same view controller instance #20890

Closed
guarani opened this issue Jun 16, 2023 · 6 comments

Comments

@guarani
Copy link
Contributor

guarani commented Jun 16, 2023

This corresponds to one of the distinct crashes found in JETPACK-IOS-31:

NSInvalidArgumentException
<UINavigationController: 0x1370f9400> is pushing the same view controller instance (<WPMediaPickerViewController: 0x138021a00>) more than once which is not supported and is most likely an error in the application : com.automattic.jetpack
@guarani guarani changed the title NSInvalidArgumentException: -[__NSCFSet addObject:]: attempt to insert nil NSInvalidArgumentException: <UINavigationController: 0x1370f9400> is pushing the same view controller instance Jun 16, 2023
@sentry-io
Copy link

sentry-io bot commented Jul 12, 2023

Sentry issue: JETPACK-IOS-FXF

@guarani
Copy link
Contributor Author

guarani commented Jul 15, 2023

I reproduced this crash using these steps:

  1. To to My Site > Media
  2. Tap "plus button" and "Choose from my device"
  3. On the Albums screen, I have three rows: "Recent", "Recently Added", and "Videos"
  4. Tapping quickly on different rows with both hands, I reproduced the crash

Sentry created a new issue for this, JETPACK-IOS-RXC, although it could be merged with the others shown here.

Here's the screen recording of the crash:

RPReplay_Final1689380336.mov

@kean
Copy link
Contributor

kean commented Jul 15, 2023

@guarani, please, test if you can reproduce it in this branch #21105

@guarani
Copy link
Contributor Author

guarani commented Jul 15, 2023

Tested but still getting the crash: #21105 (comment)

@kean kean removed their assignment Jul 24, 2023
@kean
Copy link
Contributor

kean commented Aug 16, 2023

This will be fixed in the scope of #21190

@staskus
Copy link
Contributor

staskus commented Apr 8, 2024

Closing the issue, it's fixed.

@staskus staskus closed this as completed Apr 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
4 participants