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

Post List: Crash due to nil post permalink #21093

Closed
sentry-io bot opened this issue Jul 13, 2023 · 1 comment · Fixed by #23155
Closed

Post List: Crash due to nil post permalink #21093

sentry-io bot opened this issue Jul 13, 2023 · 1 comment · Fixed by #23155

Comments

@sentry-io
Copy link

sentry-io bot commented Jul 13, 2023

Sentry Issue: JETPACK-IOS-QW3

EXC_BREAKPOINT: Exception 6, Code 1, Subcode 4340587580
  File "PostListViewController.swift", in value
  File "PostListViewController.swift", line 667, in PostListViewController.viewStatsForPost
  File "PostListViewController.swift", line 686, in PostListViewController.stats
  File "<compiler-generated>", in thunk for closure
  File "<compiler-generated>", in thunk for closure
...
(31 additional frame(s) were not displayed)

Investigation

The stack trace indicates that this happens because the post's permaLink is nil:

let postURL = URL(string: apost.permaLink! as String)

Impact

At the time of writing, this issue is a low impact that affects just 1 user.

@dvdchr dvdchr changed the title EXC_BREAKPOINT: Exception 6, Code 1, Subcode 4340587580 Post List: Crash due to nil post permalink Jul 13, 2023
@kean
Copy link
Contributor

kean commented May 4, 2024

Fixed in #23155

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

Successfully merging a pull request may close this issue.

2 participants