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

Executing query with joined collections throws NullReferenceException

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • None
    • 2.8.1
    • Linq
    • Windows 10 pro, .NET core 2.2, Mongo hosted in docker

    Description

      I'm using this driver in F#, here's code translation to C#: https://pastebin.com/YTj7Fyh0
      When I try to execute this query in any way (ToList, ToListAsync or just foreach), I get NullReferenceException.
      Stacktrace is attached.

      Attachments

        Activity

          People

            wan.bachtiar@mongodb.com Wan Bachtiar
            atsapura Roman
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: