EOFException - please help
800424Jan 9 2006 — edited Feb 10 2006Hi all,
My RMI implementation works fine for awhile, then it stops working for the EOFException below. It is weird because it start behaving like this after a week of working perfectly. I have restarted the whole process; and the same thing happened after about a week,
java.rmi.UnmarshalException: Error unmarshaling return; nested exception is:
java.io.EOFException
at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:217)
at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:350)
at com.hitachigst.GCE3.NodeImpl_Stub.getNodesInfo(Unknown Source)
at com.hitachigst.GCE3.GnodeInfo.getNodesInfo(GnodeInfo.java:156)
at com.hitachigst.GCE3.GnodeInfo.getNodeInf4all(GnodeInfo.java:170)
at com.hitachigst.GCE3.GnodeInfo.main(GnodeInfo.java:201)
Caused by: java.io.EOFException
at java.io.ObjectInputStream$BlockDataInputStream.peekByte(ObjectInputStream.java:2435)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1245)
at java.io.ObjectInputStream.readArray(ObjectInputStream.java:1603)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1271)
at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1845)
at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1769)
at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1646)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:324)
at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:215)
... 5 more