You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Valentin Kulichenko (JIRA)" <ji...@apache.org> on 2016/08/05 21:53:20 UTC

[jira] [Updated] (IGNITE-3635) StackOeverflowError in BinaryObject.toString()

     [ https://issues.apache.org/jira/browse/IGNITE-3635?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Valentin Kulichenko updated IGNITE-3635:
----------------------------------------
    Attachment: Test.java

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