I want to draw your attention to the T514321: ASPxGridListEditor - FormatException is thrown when selecting an object in a lookup ListView shown from an aggregated collection issue, which is already fixed in XAF for v16.2.7/17.1.4.
If you came across a similar issue (check the call stack), the highlighted thread contains the hotfix installation for v17.1.
