Skip to content

Fatal Exception: java.util.ConcurrentModificationException #22

@AdamGrzybkowski

Description

@AdamGrzybkowski

I saw a crash lately with the following stack trace. Any idea if this is related to your lib or the way I interact with it? I've been using this one before and nothing like this happened.

Fatal Exception: java.util.ConcurrentModificationException
       at java.util.ArrayList$Itr.next(ArrayList.java:860)
       at org.phoenixframework.PhxChannel.trigger(PhxChannel.kt:384)
       at org.phoenixframework.PhxSocket.triggerChannelError(PhxSocket.kt:381)
       at org.phoenixframework.PhxSocket.remove(PhxSocket.kt:354)
       at org.phoenixframework.PhxSocket.remove(PhxSocket.kt:437)
       at okhttp3.internal.ws.RealWebSocket.failWebSocket(RealWebSocket.java:570)
       at okhttp3.internal.ws.RealWebSocket$2.onFailure(RealWebSocket.java:220)
       at okhttp3.RealCall$AsyncCall.execute(RealCall.java:161)
       at okhttp3.internal.NamedRunnable.run(NamedRunnable.java:32)
       at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1162)
       at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:636)
       at java.lang.Thread.run(Thread.java:764)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions