ldaps:// URI throws an error

XMLWordPrintable

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Minor
    • Component/s: ldap-plugin
    • None
    • Environment:
      Jenkins 2.346.3 and LDAP Plugin Version 2.12

      Hi all,

      When changing from clear text to LDAPS with the URI ldaps://my.server.domain in the "Server" field and then testing the config via "Test LDAP settings" with username:password I get the following error:

      Okt. 05, 2022 7:02:00 NACHM. WARNUNG hudson.init.impl.InstallUncaughtExceptionHandler handleException
      
      Caught unhandled exception with ID e19f4d11-9a36-4008-9fba-15ef3dc9d889
      java.lang.NullPointerException
      	at hudson.security.LDAPSecurityRealm$DescriptorImpl.validate(LDAPSecurityRealm.java:1594)
      	at hudson.security.LDAPSecurityRealm$DescriptorImpl.doValidate(LDAPSecurityRealm.java:1549)
      	at java.base/java.lang.invoke.MethodHandle.invokeWithArguments(MethodHandle.java:710)
      	at org.kohsuke.stapler.Function$MethodFunction.invoke(Function.java:397)
      [...]

      Any help would be much appreciated.

            Assignee:
            Unassigned
            Reporter:
            Markus Uckelmann
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: