You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Not sure how to reproduce.
I uploaded a pic then browsed my contributions, then went to Explore, I think.
APP_VERSION_NAME=5.1.2-debug-main
ANDROID_VERSION=15
PHONE_MODEL=Pixel 9 Pro
STACK_TRACE=java.lang.IllegalStateException: Context is null
at fr.free.nrw.commons.di.CommonsDaggerSupportFragment.getContext(CommonsDaggerSupportFragment.kt:69)
at fr.free.nrw.commons.media.MediaDetailFragment$onResume$1.onGlobalLayout(MediaDetailFragment.kt:533)
at android.view.ViewTreeObserver.dispatchOnGlobalLayout(ViewTreeObserver.java:1142)
at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:4214)
at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:3009)
at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:10514)
at android.view.Choreographer$CallbackRecord.run(Choreographer.java:1566)
at android.view.Choreographer$CallbackRecord.run(Choreographer.java:1575)
at android.view.Choreographer.doCallbacks(Choreographer.java:1175)
at android.view.Choreographer.doFrame(Choreographer.java:1104)
at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:1549)
at android.os.Handler.handleCallback(Handler.java:991)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loopOnce(Looper.java:232)
at android.os.Looper.loop(Looper.java:317)
at android.app.ActivityThread.main(ActivityThread.java:8934)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:591)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:911)
The text was updated successfully, but these errors were encountered:
However, the if condition checks the context for null. But, its getter is throwing the IllegalStateException when the context is null, that's why this check if(context == null) is redundant.
Not sure how to reproduce.
I uploaded a pic then browsed my contributions, then went to Explore, I think.
The text was updated successfully, but these errors were encountered: