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

RuntimeException: Unable to destroy activity {com.jetpack.android/org.wordpress.android.ui.posts.EditPostActivity}:... #20232

Open
sentry-io bot opened this issue Feb 21, 2024 · 1 comment
Labels
Gutenberg Editing and display of Gutenberg blocks. [Pri] Medium [Type] Crash

Comments

@sentry-io
Copy link

sentry-io bot commented Feb 21, 2024

Sentry Issue: JETPACK-ANDROID-JM2

NullPointerException: Attempt to invoke virtual method 'void org.wordpress.mobile.ReactNativeGutenbergBridge.RNReactNativeGutenbergBridgeModule.notifyModalClosed()' on a null object reference
    at org.wordpress.mobile.WPAndroidGlue.WPAndroidGlueCode.onDetach(WPAndroidGlueCode.java:807)
    at org.wordpress.android.editor.gutenberg.GutenbergContainerFragment.onDetach(GutenbergContainerFragment.java:200)
    at androidx.fragment.app.Fragment.performDetach(Fragment.java:3386)
    at androidx.fragment.app.FragmentStateManager.detach(FragmentStateManager.java:850)
    at androidx.fragment.app.FragmentStateManager.moveToExpectedState(FragmentStateManager.java:349)
...
(27 additional frame(s) were not displayed)

RuntimeException: Unable to destroy activity {com.jetpack.android/org.wordpress.android.ui.posts.EditPostActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'void org.wordpress.mobile.ReactNativeGutenbergBridge.RNReactNativeGutenbergBridgeModule.notifyModalClosed()' on a null object reference
    at android.app.ActivityThread.performDestroyActivity(ActivityThread.java:4638)
    at android.app.ActivityThread.handleDestroyActivity(ActivityThread.java:4665)
    at android.app.ActivityThread.-wrap7(ActivityThread.java)
    at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1700)
    at android.os.Handler.dispatchMessage(Handler.java:102)
...
(5 additional frame(s) were not displayed)
@dangermattic
Copy link
Collaborator

dangermattic commented Feb 21, 2024

Thanks for reporting! 👍

@RenanLukas RenanLukas added [Pri] Medium [Type] Crash Gutenberg Editing and display of Gutenberg blocks. labels Feb 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Gutenberg Editing and display of Gutenberg blocks. [Pri] Medium [Type] Crash
Projects
None yet
Development

No branches or pull requests

2 participants