reef-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rogan Carr (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (REEF-1775) ArrayPipelineDataConverter : FullMessage will throw on null data
Date Thu, 13 Apr 2017 05:21:41 GMT

     [ 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)

Mime
View raw message