| Author |
serialization error
|
Mike Mitchell
Ranch Hand
Joined: May 28, 2008
Posts: 37
|
|
Hey guys. Having a bit of trouble seeing why the following runtime exception is generated by the following code. Any ideas? thanks. [ July 08, 2008: Message edited by: Mike Mitchell ]
|
SCJP 5, SCWCD 5
|
 |
Henry Wong
author
Sheriff
Joined: Sep 28, 2004
Posts: 16681
|
|
Having a bit of trouble seeing why the following runtime exception is generated by the following code. Any ideas? thanks.
Did you make a recent change to the car class, but forgot to update the .ser file with an updated instance? Henry
|
Books: Java Threads, 3rd Edition, Jini in a Nutshell, and Java Gems (contributor)
|
 |
subhasish nag
Ranch Hand
Joined: Apr 25, 2008
Posts: 101
|
|
hi, may be this is due to you run Jesus.java before SerialKiller.java.Kindly check& reply. subhasish
|
Thanks,<br />Subhasish
|
 |
Mike Mitchell
Ranch Hand
Joined: May 28, 2008
Posts: 37
|
|
Must have been as Henry suggested. I removed the three class files and recompiled. Then ran Jesus first to test Subhasish's idea (which resulted in a FileNotFoundException), then SerialKiller and Jesus again, this time with expected result. Thanks much!
|
 |
 |
|
|
subject: serialization error
|
|
|