NullPointerException: Argument 'role' must not be null


While starting the Datameer service configured for external authentication, the following error occurs:

[anonymous] WARN [<timestamp>] [ldap-cache-update-operation] ( - Updating cached LDAP users and groups failed 
java.lang.NullPointerException: Argument 'role' must not be null


The issue is caused by missing user roles, so not all users could be provided with at least one role. To solve this issue, add the missing roles in Datameer UI and under Administration and Roles. You might need to login using the local superuser account.