Win a copy of Head First Go this week in the Go forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Bear Bibeault
  • Paul Clapham
  • Jeanne Boyarsky
Sheriffs:
  • Devaka Cooray
  • Junilu Lacar
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Ron McLeod
  • Tim Holloway
  • Claude Moore
  • Stephan van Hulst
Bartenders:
  • Winston Gutkowski
  • Carey Brown
  • Frits Walraven

StreamCorruptedException: invalid stream header:  RSS feed

 
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!
 
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

  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!