This week's book giveaway is in the Kotlin forum.
We're giving away four copies of Kotlin in Action and have Dmitry Jemerov & Svetlana Isakova on-line!
See this thread for details.
Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

stream corrupted exception in Object streams  RSS feed

 
satyendra adhikari
Ranch Hand
Posts: 52
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello! one of our applications was running good in developement enviroment (apache/tomcat) but when we put it over internet it started showing stream corrupted exception at places where we were using ObjectInput/OutputStream.It involved
use of URLConnection in applet/servlet communication..and we were trying to read /write String/Hashtable/Vector. can someone please explain what actually is happening here.For the time
beeing we changed all sreams with byte streams and it is working fine.
Thank you for your time and help
regards
 
Rajasekaran Anand
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
You have said that u got StreamCorruptedException
while using stream classes.Actually this is a
generalized exception occurs along with (type code) which u can see in the exception.There are many type codes.According to the type code
only we can find out what is the problem not
alone with the exception.Just e-mail the
type code so that it is possible to find the
exception.
Anand
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!