Forums Register Login

Why this error StreamCorruptedException

+Pie Number of slices to send: Send
Hello,
I was trying to communicate to another program using Net Package and streams...the code snippet is given below...
But it fails to send the request and give me following error:


java.io.StreamCorruptedException: Caught EOFException while reading the stream h
eader
at java.io.ObjectInputStream.readStreamHeader(ObjectInputStream.java:727
)
at java.io.ObjectInputStream.<init>(ObjectInputStream.java:165)
at LogoServer.test.NewServer.readLocal(Compiled Code)
at LogoServer.test.NewServer.run(NewServer.java:46)



[ April 08, 2002: Message edited by: arun mahajan ]
+Pie Number of slices to send: Send
Let's keep it to one post...
There were millions of the little blood suckers. But thanks to this tiny ad, I wasn't bitten once.
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com


reply
reply
This thread has been viewed 1105 times.
Similar Threads
Why this stand alone app cannot communicate with servlet
Why this stand alone app cannot communicate with servlet
Why this code snippet does not send the msg ?
Basic questions...Memory management and all
Why it fails to update record
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 08:26:39.