I some times have the same problem but with mine it only happens very
rarely.  It will work thousands of times and then not work once with this
java.io.StreamCorruptedException  I'm using Input and Output streams from an
applet talking to a servlet.  I'm sending a Vector in all cases -- how is a
vector not serializable?  I've also heard reports that certain locations
that access this applet always get this exception.

James

-----Original Message-----
From: A mailing list for discussion about Sun Microsystem's Java Servlet
API Technology. [mailto:[EMAIL PROTECTED]]On Behalf Of
Scholnick Steve
Sent: Thursday, August 03, 2000 9:55 AM
To: [EMAIL PROTECTED]
Subject: Re: java.io.StreamCorruptedException: Type code out of range,
is 60


we had the same problem (different type code) here.

you have put something on the stream that is not serializable.  double check
what you are sending across the wire.

to debug the code...

take the applet code for sending the data and transfer it to a dummy
application.  then
write the data out to a file as serialized.

-steve

> -----Original Message-----
> From: Nelson [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, August 03, 2000 11:38 AM
> To: [EMAIL PROTECTED]
> Subject: java.io.StreamCorruptedException: Type code out of
> range, is 60
>
>
> Hi everyone,
>
> I keep getting this exception
> "java.io.StreamCorruptedException: Type code
> out of range, is 60" being raised, but I really don't
> understand what it
> really means. I can't imagine what is causing this, I am only sending
> String's via ObjectInputStream / ObjectOutputStream from an
> applet to a
> servlet and back again. Any help would be greatly appreciated!
>

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to