Original Post
Hi, I am not creating a tree (not actaully a tree but the way each object is linked by reference it is a tree in effect) and i was hoping to simply write my object to disk so i can read/write at will. what i thought was to use xmlencoder as an object can be written straight to disk but it doesnt work with a large tree, i get the following Exception in thread "main" java.lang.StackOverflowError at java.lang.Class.privateGetDeclaredMethods(Unknown Source) at java.lang.Class.getMethod0(Unknown Source) at java.lang.Class.getMethod(Unknown Source) ... ... ... does this mean that the depth of my tree is too large? has anyone had any experience of this at all? thanks Danny =)