Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

I keep getting an InvalidClassException when I read in my serialized objects. What am I doing wrong?

0
Posted

I keep getting an InvalidClassException when I read in my serialized objects. What am I doing wrong?

0

Location: http://www.jguru.com/faq/view.jsp?EID=28705 Created: Mar 26, 2000 Modified: 2000-03-26 22:54:31.294 Author: Tim Rohaly (http://www.jguru.com/guru/viewbio.jsp?EID=10) 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.

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123