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)

Reply via email to