wordpress-mobile / gutenberg-mobile

Mobile version of Gutenberg - native iOS and Android
GNU General Public License v2.0
236 stars 55 forks source link

IllegalStateException: Fragment GutenbergEditorFragment{e07d0c6} (2367db94-efe0-4e90-84c6-6d1234a2646b) not attached to ... #6088

Open sentry-io[bot] opened 11 months ago

sentry-io[bot] commented 11 months ago

Sentry Issue: JETPACK-ANDROID-AP6

IllegalStateException: Fragment GutenbergEditorFragment{e07d0c6} (2367db94-efe0-4e90-84c6-6d1234a2646b) not attached to a context.
    at androidx.fragment.app.Fragment.requireContext(Fragment.java:970)
    at androidx.fragment.app.Fragment.getResources(Fragment.java:1034)
    at androidx.fragment.app.Fragment.getString(Fragment.java:1056)
    at org.wordpress.android.editor.gutenberg.GutenbergEditorFragment.initOtherMediaImageOptions(GutenbergEditorFragment.java:738)
    at org.wordpress.android.editor.gutenberg.GutenbergEditorFragment.access$1500(GutenbergEditorFragment.java:96)
...
(13 additional frame(s) were not displayed)
derekblank commented 11 months ago

This issue appears to be related to the Media Picker, or initOtherMediaImageOptions.

SiobhyB commented 11 months ago

Noting that I believe a couple other instances of this error have been grouped separately by Sentry: JETPACK-ANDROID-85K, JETPACK-ANDROID-8GV, JETPACK-ANDROID-AP6

From those reports, this issue was first introduced two months ago, in 22.5, and has impacted a total of 14 users to date.

geriux commented 2 months ago

JETPACK-ANDROID-BK9 Updated event