java.io.IOException - Java
NickName:Satya Ask DateTime:2014-07-25T23:12:24

java.io.IOException - Java

I am getting repeatedly below error while running java application on IBM - WebSphere Application Server.

[ 00000024 TCP E org.jgroups.protocols.TP$IncomingPacket run failed handling incoming message
                    java.io.IOException: failed reading header
at org.jgroups.Message.readHeader(Message.java:757)
at org.jgroups.Message.readFrom(Message.java:643)
at org.jgroups.protocols.TP.readMessage(TP.java:1502)
at org.jgroups.protocols.TP.access$700(TP.java:49)
at org.jgroups.protocols.TP$IncomingPacket.run(TP.java:1804)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:906)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:929)
at java.lang.Thread.run(Thread.java:773)
        Caused by: java.io.EOFException
at java.io.DataInputStream.readShort(DataInputStream.java:309)
at org.jgroups.Message.readHeader(Message.java:734)
... 7 more


java.io.IOException: failed reading header
at org.jgroups.Message.readHeader(Message.java:757)
at org.jgroups.Message.readFrom(Message.java:643)
at org.jgroups.protocols.TP.readMessage(TP.java:1502)
at org.jgroups.protocols.TP.access$700(TP.java:49)
at org.jgroups.protocols.TP$IncomingPacket.run(TP.java:1804)
at java.util.concurrent.ThreadPoolExecutor$CallerRunsPolicy.rejectedExecution(ThreadPoolExecutor.java:1763)
at org.jgroups.util.ShutdownRejectedExecutionHandler.rejectedExecution(ShutdownRejectedExecutionHandler.java:39)
at java.util.concurrent.ThreadPoolExecutor.reject(ThreadPoolExecutor.java:779)
at java.util.concurrent.ThreadPoolExecutor.execute(ThreadPoolExecutor.java:667)
at org.jgroups.protocols.TP.dispatchToThreadPool(TP.java:1354)
at org.jgroups.protocols.TP.receive(TP.java:1321)
at org.jgroups.protocols.BasicTCP.receive(BasicTCP.java:258)
at org.jgroups.blocks.BasicConnectionTable.receive(BasicConnectionTable.java:239)
at    org.jgroups.blocks.BasicConnectionTable$Connection.run(BasicConnectionTable.java:664)
at java.lang.Thread.run(Thread.java:773)

Caused by: java.io.EOFException
at java.io.DataInputStream.readShort(DataInputStream.java:309)
at org.jgroups.Message.readHeader(Message.java:734)
... 14 more

Application has file export operation. Somehow files are deleted from specified location and whenever I try to run application through above exception continuously. I tried killing java but that too do not help.

Please suggest how to resolve.

Copyright Notice:Content Author:「Satya」,Reproduced under the CC 4.0 BY-SA copyright license with a link to the original source and this disclaimer.
Link to original article:https://stackoverflow.com/questions/24958945/java-io-ioexception-java

More about “java.io.IOException - Java” related questions

java.io.IOException - Java

I am getting repeatedly below error while running java application on IBM - WebSphere Application Server. [ 00000024 TCP E org.jgroups.protocols.TP$IncomingPacket run failed handling incoming mess...

Show Detail

java.io.IOException with hudson

I use Hudson, and source code is controlled by SVN. When a new workspace checkout on slave, it displays: hudson.util.IOException2:remote file operation failed caused by :java.io.IOException:remot...

Show Detail

unreported exception java.io.IOException

What's wrong with this code import java.io.IOException; import java.net.ServerSocket; import java.net.Socket; /** * * @author Master */ public class Server { try { ServerSocket S =.

Show Detail

java.io.IOException java

We trying to get bytes from a file using below code. getBytes("/home/1.ks"); Before that, we have make sure the file is exists. public static void getBytes(final String resource) throws IOExcep...

Show Detail

Unhandled Exception java.io.iOException

I am getting unhandled exception java.io.IOException at compile time. I have posted the code below and pointed out the error line. I searched many post regarding to this issue but I don't get any

Show Detail

java.io.IOException with gradle

I am using gradle 2.7 as a build tool on a linux amd64 m/c. When I try to do build using gradle I get java IO Exception. gradle --info FAILURE: Build failed with an exception. * What went wrong:

Show Detail

java.io.IOException: error=11

I am experiencing a weird problem with the Java ProcessBuilder. The code is shown below (in a slightly simplified form) public class Whatever implements Runnable { public void run(){ //

Show Detail

java.io.IOException: Job failed

I'm trying to index a site with "Apache Nutch 1.4" and when I run the command below, the following error occurs "java.io.IOException: Job failed" bin/nutch solrindex http://localhost:8983/solr/ cr...

Show Detail

java.io.IOException Android

Trying to download a large file on Android 2.3.5 on a HTC explorer. I keep getting the exception java.io.IOException at this point : while ((oneChar = is.read()) != -1) FYI is - InputStream. It

Show Detail

java.io.IOException The device is not ready

I'm trying to create a new file on a directory shared in a network. However I get this exception: java.io.IOException: The device is not ready at java.io.WinNTFileSystem.createFileExclusively(Nat...

Show Detail