hi all,
I try to deserialize an Objectstream at the client.
Smaller Objects working fine, but bigger Objects
let the client abort the connection with the
following exception messsage :
// first there come some data like the first line
// and than the stream corrupt by something
[0x1][0xf]M[0xdb][0xae][0xe0][0x0][0x0][0x0][0x0][0x0][0x0][0x0][0x0][0x0]t[0x0][0x5]test4t[0x0].\folder1\file\test12\test10\test9\test7\test4\sq[0x0]~"
java.io.StreamCorruptedException
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1301)
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 java.util.ArrayList.readObject(ArrayList.java:554)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
(1) I serialize the data to a file, copy manual and deserialze,
everything was fine.
(2) The data is a kind of directory list in an Object.
I copied the directories that worked fine to subdirectories
to create a bigger objects with the same chars.
The stream with the bigger objects failed during the transfer.
It must have something to do with the size of the Object I want to
deserialize.
Maybe someone has a hint why the transfer occurs after a while?
thanks,
bastian
--
"Ein Herz für Kinder" - Ihre Spende hilft! Aktion: www.deutschlandsegelt.de
Unser Dankeschön: Ihr Name auf dem Segel der 1. deutschen America's Cup-Yacht!
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]