microsoft/fsharplu

NullReferenceException on Discriminated Union serialization

Closed this issue · 2 comments

Consider DU:

type Claim = Read | Edit | Delete | Custom of string

Sometimes during serialization I get NullReferenceException, no matter the case.
Issue is present both for compact and standard modes.
It's a floating issue, I haven't noticed any pattern of it's reproducing

blumu commented

Thanks for reporting. On which version does this happen?
Could you also share the full call stack? @kagetoki

blumu commented

@kagetoki Closing this old bug. Feel free to reopen if this still reproes and if you can provide the requested information.