Re: Getting stackoverflow error

2017-06-07 Thread Amit Pandey
Hey, Okay, thanks ... I did find it out by removing the parent. regards On Wed, Jun 7, 2017 at 11:19 PM, Galen M O'Sullivan wrote: > Hi Amit, > > PDX cannot serialize objects with cycles in them. If the child references > the parent and the parent references the child, you will get infinite >

Re: Getting stackoverflow error

2017-06-07 Thread Galen M O'Sullivan
Hi Amit, PDX cannot serialize objects with cycles in them. If the child references the parent and the parent references the child, you will get infinite recursion and this type of error. You can solve this by marking the reference to the parent as `transient` (as these links will not be followed),

Re: Getting stackoverflow error

2017-06-06 Thread Amit Pandey
Hey Barry, Yes there is. There is reference to a parent which is of the same type as the value being serialized Regards On Wed, Jun 7, 2017 at 1:56 AM, Barry Oglesby wrote: > Amit, > > What is being serialized? Is there any chance the value being serialized > references itself? > > Thanks, > B

Re: Getting stackoverflow error

2017-06-06 Thread Barry Oglesby
Amit, What is being serialized? Is there any chance the value being serialized references itself? Thanks, Barry Oglesby On Tue, Jun 6, 2017 at 12:40 PM, Amit Pandey wrote: > Hi , > > Can any one please help with below error. I get it whenever I am trying to > load a region > > SystemFailure W

Getting stackoverflow error

2017-06-06 Thread Amit Pandey
Hi , Can any one please help with below error. I get it whenever I am trying to load a region SystemFailure Watchdog: [warning] failure detected java.lang.StackOverflowError at java.nio.HeapByteBuffer.putLong(HeapByteBuffer.java:423) at org.apache.geode.internal.HeapDataOutputStre