Skip to content

java.nio.channels.CancelledKeyException #129

@RoyJing

Description

@RoyJing

After our app was released, we had a lot of crashes like this. The SDK version is 3.0.2, this detailed stack information

Fatal Exception: java.nio.channels.CancelledKeyException
at sun.nio.ch.SelectionKeyImpl.ensureValid(SelectionKeyImpl.java:73)
at sun.nio.ch.SelectionKeyImpl.readyOps(SelectionKeyImpl.java:87)
at java.nio.channels.SelectionKey.isReadable(SelectionKey.java:289)
at org.xbill.DNS.NioUdpClient$Transaction.processReadyKey(NioUdpClient.java:119)
at org.xbill.DNS.Client.processReadyKeys(Client.java:79)
at org.xbill.DNS.Client.runSelector(Client.java:62)
at org.xbill.DNS.Client.lambda$jAWiqsJXxSKrE-3ZAhrF3bfbwqQ(Client.java)
at o.-$$Lambda$fnu$jAWiqsJXxSKrE-3ZAhrF3bfbwqQ.run(-.java)
at java.lang.Thread.run(Thread.java:764)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions