ignite-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vladimir Ozerov (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (IGNITE-3635) StackOeverflowError in BinaryObject.toString()
Date Wed, 21 Sep 2016 09:39:20 GMT

    [ https://issues.apache.org/jira/browse/IGNITE-3635?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15509387#comment-15509387

Vladimir Ozerov commented on IGNITE-3635:

Reopened as another stack overflow was found there when {{IgniteUuid}} which is {{Iterable}}
is in the object.

> 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

View raw message