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

DownloadsBytesAsync throws a NullReferenceException if options parameter is null

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • 2.1
    • 2.1
    • GridFS
    • None

    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

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

            Dates

              Created:
              Updated:
              Resolved: