Valentin Kulichenko commented on IGNITE-3635:

Fix for {{IgniteUuid}} looks good to me. In case other similar cases exist, 
let's address them separately.

> 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

Reply via email to