Akka - StackOverflowError during object serialization?

Are you using java.util. LinkedList, or a custom linked list of your own? If the latter, you need to write a custom writeObject() method for it that avoids the recursion that would happen if you didn't have one.

The likely candidate for the problem is an object which has a reference to itself. Given your expression of the domain I suspect a child has a linked list which includes itself, or a cyclic reference. That is, one of the nodes it is linked to has a link to it in turn.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions