NullPointerException: Argument 'role' must not be null

Problem

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

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

Solution

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.