This issue has been created
There are 2 updates.
 
 
LDAP / cid:jira-generated-image-avatar-2ecb5f61-b214-4aac-aa75-4d199df28b54 LDAP-160 Open

Users cannot login if mapped LDAP group is missing: 'Cannot invoke "java.util.Map.size()" because "groupMembers" is null'

 
View issue   ยท   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-a7bef46e-8f78-4abd-bfa5-2a0973d8f9e8 Clemens Robbenhaar created this issue on 23/Oct/25 16:27
 
Summary: Users cannot login if mapped LDAP group is missing: 'Cannot invoke "java.util.Map.size()" because "groupMembers" is null'
Issue Type: cid:jira-generated-image-avatar-2ecb5f61-b214-4aac-aa75-4d199df28b54 Bug
Affects Versions: 9.16.0
Assignee: Unassigned
Components: Authenticator
Created: 23/Oct/25 16:27
Priority: cid:jira-generated-image-static-critical-704f2786-9eae-4d58-adef-0c2aaea1db17 Critical
Reporter: Clemens Robbenhaar
Description:

If any of the group mappign lookup faisl, login via LDAP is no longer possible.

The error message actually does not show up in the log, until the level for the Logger org.xwiki.contrib.ldap has been set to debug.

Without that only a "Authentication failure with login [UserXY]" is logged, but the login fails anyway.

 
 

2 updates

 
cid:jira-generated-image-avatar-a7bef46e-8f78-4abd-bfa5-2a0973d8f9e8 Changes by Clemens Robbenhaar on 23/Oct/25 16:27
 
Description: If any of the group mappign mapping lookup faisl fails , login via LDAP is no longer possible.

The error message actually does not show up in the log, until the level for the Logger {{org.xwiki.contrib.ldap}} has been set to debug.

Without that only a "Authentication failure with login [UserXY]" is logged, but the login fails anyway.
Assignee: Clemens Robbenhaar