Skip to content

improve exception logging on ClosedChannelException in IngressImpl.readData #15

@kortemik

Description

@kortemik

Description

[pool-2-thread-116] ERROR com.teragrep.net_01.channel.context.IngressImpl - run() threw
java.nio.channels.ClosedChannelException
        at java.base/sun.nio.ch.SocketChannelImpl.ensureOpenAndConnected(SocketChannelImpl.java:180)
        at java.base/sun.nio.ch.SocketChannelImpl.read(SocketChannelImpl.java:377)
        at java.base/java.nio.channels.SocketChannel.read(SocketChannel.java:486)
        at com.teragrep.net_01.channel.socket.PlainSocket.read(PlainSocket.java:65)
        at com.teragrep.net_01.channel.context.IngressImpl.readData(IngressImpl.java:246)
        at com.teragrep.net_01.channel.context.IngressImpl.run(IngressImpl.java:103)
        at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
        at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
        at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
        at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
        at java.base/java.lang.Thread.run(Thread.java:829)

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

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions