java.nio.channels.ClosedByInterruptException: This exception has no message.

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via twill-dev by Kristoffer Sjögren, 1 year ago
This exception has no message.
via twill-dev by Poorna Chandra, 4 months ago
This exception has no message.
via twill-dev by Kristoffer Sjögren, 1 year ago
This exception has no message.
via twill-dev by Poorna Chandra, 4 months ago
This exception has no message.
via Stack Overflow by eric.itzhak
, 2 years ago
java.nio.channels.ClosedByInterruptException:
at java.nio.channels.spi.AbstractInterruptibleChannel.end(AbstractInterruptibleChannel.java:202)
at sun.nio.ch.SocketChannelImpl.poll(SocketChannelImpl.java:957)
at sun.nio.ch.SocketAdaptor$SocketInputStream.read(SocketAdaptor.java:204)
at sun.nio.ch.ChannelInputStream.read(ChannelInputStream.java:103)
at kafka.utils.Utils$.read(Unknown Source)
at kafka.network.BoundedByteBufferReceive.readFrom(Unknown Source)
at kafka.network.Receive$class.readCompletely(Unknown Source)
at kafka.network.BoundedByteBufferReceive.readCompletely(Unknown Source)
at kafka.network.BlockingChannel.receive(Unknown Source)
at kafka.producer.SyncProducer.liftedTree1$1(Unknown Source)
at kafka.producer.SyncProducer.kafka$producer$SyncProducer$$doSend(UnknownSource)
at kafka.producer.SyncProducer$$anonfun$send$1$$anonfun$apply$mcV$sp$1.apply$mcV$sp(UnknownSource)
at kafka.producer.SyncProducer$$anonfun$send$1$$anonfun$apply$mcV$sp$1.apply(UnknownSource)
at kafka.producer.SyncProducer$$anonfun$send$1$$anonfun$apply$mcV$sp$1.apply(UnknownSource)
at kafka.metrics.KafkaTimer.time(Unknown Source)
at kafka.producer.SyncProducer$$anonfun$send$1.apply$mcV$sp(Unknown Source)
at kafka.producer.SyncProducer$$anonfun$send$1.apply(Unknown Source)
at kafka.producer.SyncProducer$$anonfun$send$1.apply(Unknown Source)
at kafka.metrics.KafkaTimer.time(Unknown Source)
at kafka.producer.SyncProducer.send(Unknown Source)
at kafka.producer.async.DefaultEventHandler.kafka$producer$async$DefaultEventHandler$$send(UnknownSource)
at kafka.producer.async.DefaultEventHandler$$anonfun$dispatchSerializedData$2.apply(UnknownSource)
at scala.collection.TraversableLike$WithFilter$$anonfun$foreach$1.apply(TraversableLike.scala:772)
at scala.collection.mutable.HashMap$$anonfun$foreach$1.apply(HashMap.scala:98)
at scala.collection.mutable.HashMap$$anonfun$foreach$1.apply(HashMap.scala:98)
at scala.collection.mutable.HashTable$class.foreachEntry(HashTable.scala:226)
at scala.collection.mutable.HashMap.foreachEntry(HashMap.scala:39)
at scala.collection.mutable.HashMap.foreach(HashMap.scala:98)
at kafka.producer.async.DefaultEventHandler.dispatchSerializedData(UnknownSource)
at kafka.producer.async.DefaultEventHandler.handle(Unknown Source)
at kafka.producer.Producer.send(Unknown Source)
at org.apache.twill.internal.kafka.client.SimpleKafkaPublisher$SimplePreparer.send(SimpleKafkaPublisher.java:122)
at org.apache.twill.internal.logging.KafkaAppender.doPublishLogs(KafkaAppender.java:268)
at org.apache.twill.internal.logging.KafkaAppender.publishLogs(KafkaAppender.java:228)
at org.apache.twill.internal.logging.KafkaAppender.access$700(KafkaAppender.java:66)
at org.apache.twill.internal.logging.KafkaAppender$2.run(KafkaAppender.java:280)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)

Users with the same issue

2 times, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 6 months ago
24 times, 7 months ago
2 times, 11 months ago
5 times, 1 year ago
13 more bugmates

Know the solutions? Share your knowledge to help other developers to debug faster.