Uploaded image for project: 'REEF'
  1. REEF
  2. REEF-1775

ArrayPipelineDataConverter : FullMessage will throw on null data

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.16
    • Component/s: REEF.NET
    • Labels:
      None

      Description

      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.

        Attachments

          Activity

            People

            • Assignee:
              rogan Rogan Carr
              Reporter:
              rogan Rogan Carr
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: