开发者社区 问答 正文

ClosedByInterruptException

otter 版本4.2.15 同步过程中canal经常会报ClosedByInterruptException SocketChannel.read(SocketChannel.java:49) 代码: if (null == channel) { throw new java.nio.channels.ClosedByInterruptException(); } 为什么channel突然变为null了呢? 日志里也没什么迹象。

原提问者GitHub用户gaoxing1105

展开
收起
古拉古拉 2023-06-16 20:48:26 92 分享 版权
1 条回答
写回答
取消 提交回答
  • otter 版本4.2.15 同步过程中canal经常会报ClosedByInterruptException SocketChannel.read(SocketChannel.java:49) 代码: if (null == channel) { throw new java.nio.channels.ClosedByInterruptException(); } 为什么channel突然变为null了呢? 日志里也没什么迹象。

    原提问者GitHub用户gaoxing1105

    2023-06-16 21:35:45
    赞同 展开评论
问答分类:
问答地址: