This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Java in General and the fly likes serialization problem,Type code out of range,is 28 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "serialization problem,Type code out of range,is 28" Watch "serialization problem,Type code out of range,is 28" New topic
Author

serialization problem,Type code out of range,is 28

Bhagya Tangutur
Ranch Hand

Joined: Oct 21, 2002
Posts: 88
why do i get this error?what is 28 indicates?
i am writing my object to a file,and reading it back.
when i read the object from some PC's,It works well.where as the same is not working in som e PC's.
I tested the same with different versions JDK as it in another PC,it works well to me.same is not working for on some systems.
all systems have intermediate versions of JDK1.3.
any ideas....???
thanks


Sun Certified Java Programmer
Cindy Glass
"The Hood"
Sheriff

Joined: Sep 29, 2000
Posts: 8521
Kumar T,
Which machines and OS is it working on and which is it NOT working on? Did you check the Bug Parade at Sun to see if it is a problem?
Could you show us the code and / or the exact error message?
Also Kumar T,
Please change your name to be compliant with JavaRanch's naming policy. It should not be obviously fictitious.
Your displayed name should be 2 separate names with more than 1 letter each. We really would prefer that you use your REAL name.
You can change your name: here.
Thanks,
Cindy
Oh yeah, if we can't figure this out by tomorrow we will move it to the IO forum where they know LOTS about this stuff.


"JavaRanch, where the deer and the Certified play" - David O'Meara
Bhagya Tangutur
Ranch Hand

Joined: Oct 21, 2002
Posts: 88
I am working on windows 2000 machines.It's working on some and not on some(those are also Win 2000).
Yes..i did go through SUN website.I didn't find any bug related to that.
Regarding code,it just displays the message.It doesn't say anything more than this in trace.
Exception retrievng object.: Type code out of range, is 28^M
Bhagya Tangutur
Ranch Hand

Joined: Oct 21, 2002
Posts: 88
i am using code repository CVS and i added file with default "cvs add filename".CVS changis the file and that's why i was getting this error.
Simpel sol went like this.I have to add the file in to cvs in binary format.
cvs add -kb filename that solved the problem
Cindy Glass
"The Hood"
Sheriff

Joined: Sep 29, 2000
Posts: 8521

It is SO nice when someone comes back and shares the solution with the rest of us!!
Thanks.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: serialization problem,Type code out of range,is 28
 
Similar Threads
DriverManager.getConnection hangs from actionPerformed
Applet view problem
Type code out of range, is 28
Solaris 10 x86
[JSF] PropertyNotFoundException: Can't instantiate class