• Post Reply Bookmark Topic Watch Topic
  • New Topic

StreamCorruptedException: invalid stream header:  RSS feed

 
Dean Pullen
Ranch Hand
Posts: 58
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm trying to read a key.ser file. This has been working fine until I recently changed the app server (Tomcat in Jboss 4.2.1GA) to UTF-8 etc, so I believe this is the problem.



This exception is thrown relating to the second line of the above code:


How do I rectify this?
 
Dean Pullen
Ranch Hand
Posts: 58
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I found that ant was corrupting my key file as the key file was being filtered.

Not good, but resolved!
 
Asim Shahzad
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hej guys!
i also have some issues with the inputstream. I got this error again and again.

MessageDispatcher interrupted for java.io.StreamCorruptedException: invalid stream header: 77617161
java.io.StreamCorruptedException: invalid stream header: 77617161
at java.io.ObjectInputStream.readStreamHeader(Unknown Source)
at java.io.ObjectInputStream.<init>(Unknown Source)
at unito.licha.io.ChatServer.run(ChatServer.java:115)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)

actually i am working on a peer to peer chat application and this error comes when i try to start a combine chat.
it would be great if you could give me a clue to solve it

 
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!