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

Executing query with joined collections throws NullReferenceException

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 2.8.1
    • Component/s: Linq
    • Environment:
      Windows 10 pro, .NET core 2.2, Mongo hosted in docker

      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.

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

              Created:
              Updated:
              Resolved: