Uploaded image for project: 'C# Driver'
  1. C# Driver
  2. CSHARP-1418

DownloadsBytesAsync throws a NullReferenceException if options parameter is null

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: 2.1
    • Fix Version/s: 2.1
    • Component/s: GridFS
    • Labels:
      None
    • Sprint:
      C# Sprint 27

      Description

      The options parameter to the DownloadAsBytesAsync method in GridFSBucket is optional, and defaults to null.

      But if no options are provided, DownloadAsBytesAsync throws a NullReferenceException instead of using default options.

        Attachments

          Activity

            People

            Assignee:
            rstam Robert Stam
            Reporter:
            rstam Robert Stam
            Participants:
            Votes:
            2 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: