apps-android-commons icon indicating copy to clipboard operation
apps-android-commons copied to clipboard

Crash when marking multiple pictures as not for upload ("Show already actioned pictures" enabled)

Open nicolas-raoul opened this issue 1 year ago • 2 comments

Introduced by pull request #5576

https://github.com/commons-app/apps-android-commons/assets/99590/660de479-199d-4332-b3ee-c08e2e752415

STACK_TRACE=java.util.ConcurrentModificationException
at java.util.ArrayList$Itr.checkForComodification(ArrayList.java:1029)
at java.util.ArrayList$Itr.next(ArrayList.java:982)
at fr.free.nrw.commons.customselector.ui.selector.CustomSelectorActivity$insertIntoNotForUpload$1.invokeSuspend(CustomSelectorActivity.kt:506)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)
at android.os.Handler.handleCallback(Handler.java:959)
at android.os.Handler.dispatchMessage(Handler.java:100)
at android.os.Looper.loopOnce(Looper.java:232)
at android.os.Looper.loop(Looper.java:317)
at android.app.ActivityThread.main(ActivityThread.java:8501)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:552)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:878)
Suppressed: kotlinx.coroutines.DiagnosticCoroutineContextException: [StandaloneCoroutine{Cancelling}@7166044, Dispatchers.Main]

nicolas-raoul avatar Mar 18 '24 06:03 nicolas-raoul

Isn't this a duplicate of Issue #5628?

shashankiitbhu avatar Mar 18 '24 11:03 shashankiitbhu

@nicolas-raoul I think this one is Fixed with #5628 by #5639

shashankiitbhu avatar Mar 22 '24 18:03 shashankiitbhu

@nicolas-raoul I think this one is Fixed with #5628 by #5639

Yeah, i was not able to reproduce this issue in the current version of the app.

Kota-Jagadeesh avatar Nov 13 '25 13:11 Kota-Jagadeesh