The Artima Developer Community
Sponsored Link

Java Answers Forum
invalid stream header

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Belkorin

Posts: 1
Nickname: belkorin
Registered: Jul, 2004

invalid stream header Posted: Jul 15, 2004 6:56 AM
Reply to this message Reply
Advertisement
I am trying to run a chat server, but any time I try to connect to it I get the following error and the server shuts down. Does anyone have any ideas about what could be causing this to happen?

java.io.StreamCorruptedException: invalid stream header
at java.io.ObjectInputStream.readStreamHeader(ObjectInputStream.java:737)
at java.io.ObjectInputStream.<init>(ObjectInputStream.java:253)
at org.datashare.TcpSocket.<init>(Unknown Source)
at org.datashare.TcpSocketServer.run(Unknown Source)
Debug Network removing/closing socket Socket-TCP-24.213.62.37:42422-24.213.62.39:1163
Error GeneralStatus ******* DataShareServer:Lost our commandStatusPort listening socket!!!!!!
Debug GeneralStatus Shutting down all connections and Threads...
Debug Network removing socket server TCP:42422
Error GeneralStatus ******* DataShareServer:Lost our commandStatusPort listening socket!!!!!!
java.lang.NullPointerException
at org.datashare.TcpSocket.stopThreadAndCloseSocket(Unknown Source)
at org.datashare.TcpSocket.<init>(Unknown Source)
at org.datashare.TcpSocketServer.run(Unknown Source)
Debug Network Thread DataShare.SocketServer.TCP:42422 has stopped
shutdownHook()...

Topic: gaming in java Previous Topic   Next Topic Topic: jsp to tomcat

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use