Skip to Main Content

Java APIs

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

java.io.StreamCorruptedException: invalid type code: ACI

622501May 6 2008 — edited May 11 2008
The above exception comes in my client server multithreaded chat system when the instanace of ObjectOutputStream is not closed after sending messages.If the instance of the ObjectOutputStream is closed after sending the messages then the Exception comes is:java.net.Socket Exception Socket is Closed.

I am really tensed and confused what to do and what not to do.Can any one help me, please!
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 8 2008
Added on May 6 2008
34 comments
674 views