java.lang.IllegalStateException: Channel closed [channel=fileChannel]. Due to java.io.EOFException: null

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

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via Server Fault by Summer Nguyen
, 1 year ago
Channel closed [channel=fileChannel]. Due to java.io.EOFException: null
via serverfault.com by Unknown author, 1 year ago
Channel closed [channel=fileChannel]. Due to java.io.EOFException: null
via huawei.com by Unknown author, 1 year ago
Channel closed [channel=hdfs_channel]. Due to java.io.FileNotFoundException: /usr/local/channel/dataDirs/in_use.lock (Permission denied)
via Stack Overflow by Raghuveer
, 1 year ago
Channel closed [channel=c1]. Due to java.io.EOFException: null
via Apache's JIRA Issue Tracker by Roshan Naik, 7 months ago
Channel closed [channel=channel_nontx]
java.lang.IllegalStateException: Channel closed [channel=fileChannel]. Due to java.io.EOFException: null
at java.io.RandomAccessFile.readInt(RandomAccessFile.java:827)
at java.io.RandomAccessFile.readLong(RandomAccessFile.java:860)
at org.apache.flume.channel.file.EventQueueBackingStoreFactory.get(EventQueueBackingStoreFactory.java:80)
at org.apache.flume.channel.file.Log.replay(Log.java:426)
at org.apache.flume.channel.file.FileChannel.start(FileChannel.java:290)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:304)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:178)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
4 times, 1 year ago

Write tip

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