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
When uploading a set of pictures with a single depiction and catgeory (selected from history-based suggestions), crash happened just after tapping the final button of the Upload Wizard:
java.lang.NullPointerException
at fr.free.nrw.commons.upload.categories.UploadCategoriesFragment.setCategories$lambda$7$lambda$6(UploadCategoriesFragment.kt:215)
at fr.free.nrw.commons.upload.categories.UploadCategoriesFragment.$r8$lambda$owLK7FoF_b1xCizSC5b-dKgyZek(Unknown Source:0)
at fr.free.nrw.commons.upload.categories.UploadCategoriesFragment$$ExternalSyntheticLambda10.run(D8$$SyntheticClass:0)
at android.os.Handler.handleCallback(Handler.java:995)
at android.os.Handler.dispatchMessage(Handler.java:103)
at android.os.Looper.loopOnce(Looper.java:248)
at android.os.Looper.loop(Looper.java:338)
at android.app.ActivityThread.main(ActivityThread.java:8982)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:593)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:932)
The text was updated successfully, but these errors were encountered:
I made some fixes in the code to address the crash. Since the issue is not consistently reproducible, how can we verify if the fix works? Should I go ahead and create a PR?
When uploading a set of pictures with a single depiction and catgeory (selected from history-based suggestions), crash happened just after tapping the final button of the Upload Wizard:
The text was updated successfully, but these errors were encountered: