• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

serialization error

 
Mike Mitchell
Ranch Hand
Posts: 38
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 ]
 
Henry Wong
author
Marshal
Pie
Posts: 21422
84
C++ Chrome Eclipse IDE Firefox Browser Java jQuery Linux VI Editor Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
subhasish nag
Ranch Hand
Posts: 101
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi,
may be this is due to you run Jesus.java before SerialKiller.java.Kindly check& reply.
subhasish
 
Mike Mitchell
Ranch Hand
Posts: 38
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic