[CSHARP-2635] Executing query with joined collections throws NullReferenceException Created: 12/Jun/19  Updated: 25/Jun/20  Resolved: 25/Jun/20

Status: Closed
Project: C# Driver
Component/s: Linq
Affects Version/s: 2.8.1
Fix Version/s: None

Type: Bug Priority: Major - P3
Reporter: Roman Assignee: Wan Bachtiar
Resolution: Done Votes: 0
Labels: rfw
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Windows 10 pro, .NET core 2.2, Mongo hosted in docker


Attachments: Text File MongoStackTrace.txt    

 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.


Generated at Wed Feb 07 21:43:06 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.