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

failed to compute /manage/ad-health/ because .getDomains() is null

XMLWordPrintable

      If i try to open Active Directory Health Status the Domain list is empty.

      I have not configured the Domain by my self, so the Plugin is using ADSI.
      The only option i use is

      • "Require TLS"
      • "Matrix-based-security"

      It seams to work fine (create edit user-rights, loggin ...)

      Jenkins-Log:

      {{Aug 29, 2023 7:44:21 PM WARNING jenkins.util.ProgressiveRendering$1 run
      failed to compute /manage/ad-health/
      java.lang.NullPointerException: Cannot invoke "java.util.List.iterator()" because the return value of "hudson.plugins.active_directory.ActiveDirectoryStatus.getDomains()" is null
      	at hudson.plugins.active_directory.ActiveDirectoryStatus$1.compute(ActiveDirectoryStatus.java:110)
      	at jenkins.util.ProgressiveRendering$1.run(ProgressiveRendering.java:121)
      	at jenkins.security.ImpersonatingScheduledExecutorService$1.run(ImpersonatingScheduledExecutorService.java:67)
      	at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539)
      	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
      	at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:304)
      	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
      	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
      	at java.base/java.lang.Thread.run(Thread.java:833)}}
      

      I have create a logger with
      org.acegisecurity.providers.ldap
      org.acegisecurity.ldap
      jenkins.security
      hudson.security

      but there are only logs from hudson.security that all look ok.

            fbelzunc FĂ©lix Belzunce Arcos
            martinbauer Martin Bauer
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: