This week's book giveaways are in the Refactoring and Agile forums. We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line! See this thread and this one for details.
Everything goes fine until the object gets read at the server - a ClassCastException is generated... even if I only try to accept the Object object from is.readObject(). I am guessing that the problem is with my object serialization? Any suggestions?
SCJP 1.2, SCJP 5, SCBCD
Peter den Haan
posted 12 years ago
Can you give us the error message (a ClassCastException always tells you the offending class name, which would be useful for us to know), the stack trace, and the snippet of your code where the stacktrace indicates the problem is? - Peter [ May 23, 2003: Message edited by: Peter den Haan ]