Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-69783

ldaps:// URI throws an error

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • ldap-plugin
    • None
    • 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.

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

              Created:
              Updated: