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 'org.wordpress.mobile.WPAndroidGlue.GutenbergProps org.wordpress... #20831

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

Comments

@sentry-io
Copy link

sentry-io bot commented May 16, 2024

Sentry Issue: JETPACK-ANDROID-PE5

RuntimeException: Failure delivering result ResultInfo{who=null, request=1538644274, result=-1, data=Intent { (has extras) }} to activity {com.jetpack.android/org.wordpress.android.ui.posts.EditPostActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'org.wordpress.mobile.WPAndroidGlue.GutenbergProps org.wordpress.android.editor.gutenberg.GutenbergPropsBuilder.build(android.app.Activity, boolean)' on a null object reference
    at android.app.ActivityThread.deliverResults(ActivityThread.java:6063)
    at android.app.ActivityThread.handleSendResult(ActivityThread.java:6102)
    at android.app.servertransaction.ActivityResultItem.execute(ActivityResultItem.java:67)
    at android.app.servertransaction.ActivityTransactionItem.execute(ActivityTransactionItem.java:45)
    at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:139)
...
(9 additional frame(s) were not displayed)

NullPointerException: Attempt to invoke virtual method 'org.wordpress.mobile.WPAndroidGlue.GutenbergProps org.wordpress.android.editor.gutenberg.GutenbergPropsBuilder.build(android.app.Activity, boolean)' on a null object reference
    at org.wordpress.android.editor.gutenberg.GutenbergContainerFragment.updateCapabilities(GutenbergContainerFragment.java:319)
    at org.wordpress.android.editor.gutenberg.GutenbergEditorFragment.onActivityResult(GutenbergEditorFragment.java:684)
    at org.wordpress.android.ui.posts.EditPostActivity.onActivityResult(EditPostActivity.kt:2784)
    super.onActivityResult(requestCode, resultCode, data)
...
(19 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