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

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

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

Markus Weimer resolved REEF-1775.
---------------------------------
       Resolution: Fixed
         Assignee: Rogan Carr
    Fix Version/s: 0.16

Resolved via [#1289|https://github.com/apache/reef/pull/1289/]

> 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
>            Assignee: Rogan Carr
>            Priority: Trivial
>             Fix For: 0.16
>
>
> 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)