Skip to content

[crash] java.lang.ArrayIndexOutOfBoundsException #2365

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
bmarty opened this issue Nov 9, 2020 · 0 comments · Fixed by #2373
Closed

[crash] java.lang.ArrayIndexOutOfBoundsException #2365

bmarty opened this issue Nov 9, 2020 · 0 comments · Fixed by #2373
Assignees
Labels
Milestone

Comments

@bmarty
Copy link
Member

bmarty commented Nov 9, 2020

Reported on the PlayStore: Total occurrences: 601 Impacted users: 459

java.lang.ArrayIndexOutOfBoundsException: 
  at java.util.ArrayList.get (ArrayList.java:439)
  at im.vector.app.features.media.RoomEventsAttachmentProvider.overlayViewAtPosition (RoomEventsAttachmentProvider.kt:2)
  at im.vector.lib.attachmentviewer.AttachmentViewerActivity.onSelectedPositionChanged (AttachmentViewerActivity.kt:15)
  at im.vector.app.features.media.VectorAttachmentViewerActivity$onCreate$3.run (VectorAttachmentViewerActivity.kt:1)
  at android.os.Handler.handleCallback (Handler.java:873)
  at android.os.Handler.dispatchMessage (Handler.java:99)
  at android.os.Looper.loop (Looper.java:193)
  at android.app.ActivityThread.main (ActivityThread.java:6718)
  at java.lang.reflect.Method.invoke (Native Method)
  at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:491)
  at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:858)
@bmarty bmarty added this to the Sprint 16 milestone Nov 9, 2020
@bmarty bmarty self-assigned this Nov 10, 2020
bmarty added a commit that referenced this issue Nov 10, 2020
Not sure how to reproduce it, but if the value is -1, it will crash for sure
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant