I’m running into this problem in 2 different environments, including UAT, see stacktrace and animated gif in attachment. Looks like this issue has been going on since at least September 24, so please, @d.kremnev what can we do to resolve this?
In my case the code is TENANT-USER-FULL-ACCESS-ROLE
The problem does not always arise, only sometimes. When it happens, there is a null value in the roles cache for this entry. After clearing the cache in the debugger, everything works again. (see screenshot for the cache)
Note that this problem seems to go hand-in-hand with another problem where logging-in becomes impossible. Sometimes I’m just unable to log in. after multiple tries and/or switching tabs, it works again. I will try to pay more attention in the future to what exactly I do that allows me to log in again.


jmix role npe.txt (191.4 KB)
EDIT
as expected the login problem I described is related to same issue. The login action ends up in the same cache.

