Description
This can happen in the provider when the user profile document is in the cache and an extension is upgraded or uninstalled on the same namespace as the OIDC provider.
It's basically the same problem as OIDC-88 but for a different object.
The possible workarounds for that are:
- any modification to the user profile
- a restart of XWiki