Getting "Uncaught server error: java.lang.NullPointerException" during read LDAP group on RH-SSO 7.4 after apply the patch 08

Solution Verified - Updated -

Issue

I am getting the following error when I try to read the LDAP group on RH-SSO 7.4 after applying patch 08:

ERROR [org.keycloak.services.error.KeycloakErrorHandler] (default task-1) Uncaught server error: java.lang.NullPointerException
         at org.keycloak.models.cache.infinispan.UserCacheSession.getUserByUsername(UserCacheSession.java:241)
         at org.keycloak.storage.ldap.LDAPStorageProvider.loadUsersByUsernames(LDAPStorageProvider.java:416)
         at org.keycloak.storage.ldap.mappers.membership.MembershipType$1.getGroupMembers(MembershipType.java:120)
         at org.keycloak.storage.ldap.mappers.membership.group.GroupLDAPStorageMapper.getGroupMembers(GroupLDAPStorageMapper.java:593)
         at org.keycloak.storage.ldap.LDAPStorageProvider.getGroupMembers(LDAPStorageProvider.java:403)

Environment

  • Red Hat Single Sign-On (RH-SSO) 7.4.8

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content