Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Java > Type code out of range... when get Object?

Reply
Thread Tools

Type code out of range... when get Object?

 
 
Jeffrey
Guest
Posts: n/a
 
      07-09-2003
Dear all,

I have got a strange problem when I try to get object in servlet from
applet(Yes, applet write the object to servlet via stream). It works ,but
sometime(even diffrent in several servers) I got
"java.io.StreamCorruptedException: Type code out of range,is 0..." Does
anyone have any suggestion?

Well, the object'size is not big, but, it is a Hashtable containing a
vector. I hear that hashtable will meet problems and implements
SingleThreadModal in servlet can make it work. But it seems that applys only
to getting object from servlet, right?

Thanks very much in advance.

Jeffrey


---
Posted via news://freenews.netfront.net
Complaints to
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
type(d) != type(d.copy()) when type(d).issubclass(dict) kj Python 5 12-26-2010 06:48 PM
#define ALLOCIT(Type) ((Type*) malloc (sizeof (Type))) Yevgen Muntyan C Programming 10 02-13-2007 02:52 AM
Re: Type casting- a larger type to a smaller type pete C Programming 4 04-02-2004 05:19 PM
Re: Type casting- a larger type to a smaller type heyo C Programming 3 04-01-2004 06:35 PM
The conversion of a char data type to a datetime data type resulted in an out-of-range datetime value. luna ASP .Net 1 02-13-2004 01:15 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57