I keep getting a StackOverflowError when I try to serialize my objects. What does this mean and how can I stop it?

Tim Rohaly

Serialization is a recursive process. If your object graph is too deep, then you could overflow the JVM stack. To prevent this, implement readObject() and writeObject() and use your superior knowledge of the structure of your object graph to efficiently serialize your objects.

About | Sitemap | Contact