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

NullPointerException: Attempt to invoke virtual method 'java.lang.String android.content.Context.getPackageName()' on a... #20847

Closed
sentry-io bot opened this issue May 18, 2024 · 1 comment · Fixed by #20848
Assignees

Comments

@sentry-io
Copy link

sentry-io bot commented May 18, 2024

Sentry Issue: JETPACK-ANDROID-MRK

NullPointerException: Attempt to invoke virtual method 'java.lang.String android.content.Context.getPackageName()' on a null object reference
    at org.wordpress.android.ui.reader.ReaderActivityLauncher.buildShowReaderCommentsIntent(ReaderActivityLauncher.java:274)
    Intent intent = new Intent(
    at org.wordpress.android.ui.reader.ReaderActivityLauncher.showReaderComments(ReaderActivityLauncher.java:237)
    Intent intent = buildShowReaderCommentsIntent(
    at org.wordpress.android.ui.reader.ReaderActivityLauncher.showReaderComments(ReaderActivityLauncher.java:214)
    showReaderComments(
    at org.wordpress.android.ui.notifications.NotificationsListFragmentPage$handleNoteClick$1.invoke(NotificationsListFragmentPage.kt:228)
    ReaderActivityLauncher.showReaderComments(
    at org.wordpress.android.ui.notifications.NotificationsListFragmentPage$handleNoteClick$1.invoke(NotificationsListFragmentPage.kt:225)
    viewModel.openNote(
...
(17 additional frame(s) were not displayed)
@dangermattic
Copy link
Collaborator

Thanks for reporting! 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants