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

DownloadsBytesAsync throws a NullReferenceException if options parameter is null

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 2.1
    • Affects Version/s: 2.1
    • Component/s: GridFS
    • Labels:
      None

      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.

            Assignee:
            robert@mongodb.com Robert Stam
            Reporter:
            robert@mongodb.com Robert Stam
            Votes:
            2 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: