**[arthurdais](https://jira.spring.io/secure/ViewProfile.jspa?name=arthurdais)** opened **[DATAMONGO-2439](https://jira.spring.io/browse/DATAMONGO-2439?redirect=false)** and commented I've provided the attachment TestMongoBug.java as a POC, which shows everything, just run it and you'll see --- **Affects:** 2.2.3 (Moore SR3) **Attachments:** - [TestMongoBug.java](https://jira.spring.io/secure/attachment/27596/TestMongoBug.java) (_2.83 kB_) **Issue Links:** - [DATAMONGO-2437](https://jira.spring.io/browse/DATAMONGO-2437) Grouping after aggregation returns NULL _id when mapping to a class with compound key (_**"duplicates"**_)