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

ArrayPipelineDataConverter : FullMessage will throw on null data

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Trivial
    • Resolution: Fixed
    • None
    • 0.16
    • REEF.NET
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: