Skip to content

Preconditions.outOfBounds: ChatServiceImpl crash #87

@ninjanynke

Description

@ninjanynke

Hi Amazon Chat team,

We're using your chat in our project. It came back recently with a crash as the following:

Fatal Exception: java.lang.IndexOutOfBoundsException: Index 95 out of bounds for length 95 at jdk.internal.util.Preconditions.outOfBounds(Preconditions.java:64) at jdk.internal.util.Preconditions.outOfBoundsCheckIndex(Preconditions.java:70) at jdk.internal.util.Preconditions.checkIndex(Preconditions.java:266) at java.util.Objects.checkIndex(Objects.java:385) at java.util.ArrayList.get(ArrayList.java:434) at kotlin.collections.CollectionsKt___CollectionsKt.indexOfFirst(CollectionsKt___Collections.kt:351) at com.amazon.connect.chat.sdk.repository.ChatServiceImpl$handleTranscriptItemUpdate$1.invokeSuspend(ChatService.kt:389) at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33) at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:100) 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:9067) at java.lang.reflect.Method.invoke(Method.java) at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:593) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:932)

We are currently on 2.0.2. Do you have any insights in whether this crash was fixed in the most recent version?
Thanks a lot for your answer in advance!

Nynke

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions