I keep getting an InvalidClassException when I read in my serialized objects. What am I doing wrong?
An InvalidClassException is thrown if the serial version of the object read from the stream does not match that of the loaded class. What probably happened is you changed your class definition since the time you wrote out the serialized instance.
To find out how to fix this, see the FAQ at http://www.jguru.com/jguru/faq/view.jsp?EID=5063.