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 05:21:41 UTC
[jira] [Updated] (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 ]
Rogan Carr updated REEF-1775:
-----------------------------
Priority: Trivial (was: Major)
> 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
> Priority: Trivial
>
> 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)