[ https://issues.apache.org/jira/browse/IGNITE-3635?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Valentin Kulichenko closed IGNITE-3635. --------------------------------------- > StackOeverflowError in BinaryObject.toString() > ---------------------------------------------- > > Key: IGNITE-3635 > URL: https://issues.apache.org/jira/browse/IGNITE-3635 > Project: Ignite > Issue Type: Bug > Components: binary > Affects Versions: 1.7 > Reporter: Valentin Kulichenko > Assignee: Valentin Kulichenko > Fix For: 1.8 > > Attachments: Test.java > > > If the object field is a collection or map and one the elements in the > collection is that object (circular reference), stack overflow happens in > {{toString}} method. This happens because handles which are tracked when > {{toString}} is called, are lost when {{Collection.toString()}} is called. We > should add special handling for collections and maps and print the out > manually, without delegating to their {{toString()}} method. > Test attached. -- This message was sent by Atlassian JIRA (v6.3.4#6332)