dcsimg
Problem
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Rohit_Seth
Posted On:   Tuesday, September 25, 2001 07:33 AM

I am able to Serialize my Object(say A.class) but while deserializing I get java.io.InvalidClassException:Local Class Not compatible.
However when I cut and paste the serialVersion UID in my class(A.java) and recomplie and run, I am getting new error:-
java.io.StreamCorruptedException:- Type Code Out Of Range, is 0
What cud be the possible reason? I dont seem to do any uncompatible changes to A.class. Pl Help!!!!! .

Re: Problem

Posted By:   Luigi_Viggiano  
Posted On:   Tuesday, September 25, 2001 08:10 AM

The server class and the client one are different. Check the classpath, maybe you are replacing a file that is ignored ?
About | Sitemap | Contact