Group search page in Keycloak fails with error: "b.map is not a function"

Solution Unverified - Updated -

Issue

  • After making modifications to group mapper, Groups tab gives an error, 'b.map is not a function' on initial access
  • Logs show following error from "GroupsResource.listGroups" call:

    ERROR [org.keycloak.services.error.KeycloakErrorHandler] (executor-thread-495) Uncaught server error: java.lang.NullPointerException: Cannot invoke "java.lang.Comparable.compareTo(Object)" because the return value of "java.util.function.Function.apply(Object)" is null
    

Environment

  • Red Hat build of Keycloak 22, 24
  • Red Hat Single Sign-On 7

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