Skip to content

java.lang.ArrayIndexOutOfBoundsException in explore map #6432

@RitikaPahwa4444

Description

@RitikaPahwa4444
STACK_TRACE=java.lang.ArrayIndexOutOfBoundsException: length=6; index=6
at java.util.concurrent.CopyOnWriteArrayList.elementAt(CopyOnWriteArrayList.java:394)
at java.util.concurrent.CopyOnWriteArrayList.get(CopyOnWriteArrayList.java:407)
at fr.free.nrw.commons.explore.map.ExploreMapFragment.recenterMarkerToPosition(ExploreMapFragment.kt:940)
at fr.free.nrw.commons.explore.map.ExploreMapFragment.locationPermissionGranted(ExploreMapFragment.kt:534)
at fr.free.nrw.commons.explore.map.ExploreMapFragment.recenterMap(ExploreMapFragment.kt:570)
at fr.free.nrw.commons.explore.map.ExploreMapPresenter.setActionListeners$lambda$0(ExploreMapPresenter.kt:101)
at fr.free.nrw.commons.explore.map.ExploreMapPresenter.$r8$lambda$oeKwezOmrjNThitzH6gJZdvS3es(ExploreMapPresenter.kt:0)
at fr.free.nrw.commons.explore.map.ExploreMapPresenter$$ExternalSyntheticLambda1.onClick(R8$$SyntheticClass:0)
at android.view.View.performClick(View.java:7686)
at android.view.View.performClickInternal(View.java:7659)
at android.view.View.-$$Nest$mperformClickInternal(Unknown Source:0)
at android.view.View$PerformClick.run(View.java:30462)

at android.os.Handler.handleCallback(Handler.java:958)
at
android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loopOnce(Looper.java:243)
at android.os.Looper.loop(Looper.java:338)
at android.app.ActivityThread.main(ActivityThread.java:8521)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:602)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1064)

Note

This has been reported by one of our users without any steps to reproduce, so an additional task would be to figure out when this happens.

Metadata

Metadata

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions