You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ignite.apache.org by "Vladimir Ozerov (JIRA)" <ji...@apache.org> on 2015/12/08 12:34:10 UTC

[jira] [Created] (IGNITE-2105) DirectMessageWriter cannot write nested collections.

Vladimir Ozerov created IGNITE-2105:
---------------------------------------

             Summary: DirectMessageWriter cannot write nested collections.
                 Key: IGNITE-2105
                 URL: https://issues.apache.org/jira/browse/IGNITE-2105
             Project: Ignite
          Issue Type: Bug
          Components: 1.4
    Affects Versions: ignite-1.4
            Reporter: Vladimir Ozerov
            Priority: Critical
             Fix For: 1.5


Steps to reproduce:
1) Run GridMessageCollectionTest in ignite-1.5 branch
2) Observe class-cast exception.

The problem is caused by DirectByteBufferStreamImplV2 which is re-used across all nested objects. 

This class is stateful. When nested collection is written, instead of writing collection element it writes element of another collection which is upper in call stack.

Looks pretty critical for me.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)