Valentin Kulichenko created IGNITE-3635:
-------------------------------------------

             Summary: 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
             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)

Reply via email to