You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@reef.apache.org by "Rogan Carr (JIRA)" <ji...@apache.org> on 2017/04/13 04:36:41 UTC

[jira] [Created] (REEF-1775) ArrayPipelineDataConverter : FullMessage will throw on null data

Rogan Carr created REEF-1775:
--------------------------------

             Summary: ArrayPipelineDataConverter : FullMessage will throw on null data
                 Key: REEF-1775
                 URL: https://issues.apache.org/jira/browse/REEF-1775
             Project: REEF
          Issue Type: Bug
          Components: REEF.NET
            Reporter: Rogan Carr


ArrayPipelineDataConverter : FullMessage will throw on null data if there is more than one message in the pipeline.

This line:
`int nElements = pipelineMessage.Sum(v => v.Data.Length);`
assumes that all "Data" payloads are not null, which may not be the case. 

While these payloads are never knowingly constructed as null, we should still protect against this case.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)