NullPointerException when configuring LDAP Mapper

Solution Verified - Updated -

Issue

When configuring LDAP Mapper we are facing the error below:

ERROR [org.keycloak.services.error.KeycloakErrorHandler] (default task-22) Uncaught server error: java.lang.NullPointerException
        at java.lang.String.compareTo(String.java:1155)
        at java.lang.String.compareTo(String.java:111)
        at java.util.Comparator.lambda$comparing$77a9974f$1(Comparator.java:469)
        at java.util.TimSort.countRunAndMakeAscending(TimSort.java:355)
        at java.util.TimSort.sort(TimSort.java:220)
        at java.util.Arrays.sort(Arrays.java:1512)
        at java.util.ArrayList.sort(ArrayList.java:1454)

Environment

  • Red Hat Single Sign-On (RHSSO)
    • 7.3

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