• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Paul Clapham
  • Ron McLeod
Sheriffs:
  • Jeanne Boyarsky
  • Liutauras Vilda
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Roland Mueller
  • Piet Souris
Bartenders:

serialization problem,Type code out of range,is 28

 
Ranch Hand
Posts: 88
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
"The Hood"
Posts: 8521
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
Bhagya Tangutur
Ranch Hand
Posts: 88
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 88
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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"
Posts: 8521
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

It is SO nice when someone comes back and shares the solution with the rest of us!!
Thanks.
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic