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

ActiveDirectory.updateUserCache uncaughtException

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • Jenkins 2.176.2
      active-directory:2.16

      Updated plugins using install_plugins.sh (the docker model).

       

      Upon startup, seeing the following the in the logs when user logs in. Login is successful however.

       

      hudson.init.impl.InstallUncaughtExceptionHandler$DefaultUncaughtExceptionHandler uncaughtException
      SEVERE: A thread (ActiveDirectory.updateUserCache 1/332) died unexpectedly due to an uncaught exception, this may leave your Jenkins in a bad way and is usually indicative of a bug in the code.
      java.lang.NullPointerException
         at hudson.Util.fileToPath(Util.java:1501)
         at hudson.model.UserIdMapper.createDirectoryForNewUser(UserIdMapper.java:145)
         at hudson.model.UserIdMapper.putIfAbsent(UserIdMapper.java:92)
         at hudson.model.User.putUserFolderIfAbsent(User.java:806)
         at hudson.model.User.constructUserConfigFile(User.java:802)
         at hudson.model.User.save(User.java:796)
         at hudson.model.User.addProperty(User.java:336)
         at hudson.plugins.active_directory.ActiveDirectoryUserDetail.updateUserInfo(ActiveDirectoryUserDetail.java:213)
         at hudson.plugins.active_directory.ActiveDirectoryUnixAuthenticationProvider$2.run(ActiveDirectoryUnixAuthenticationProvider.java:462)
         at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
         at java.lang.Thread.run(Thread.java:748) 

            fbelzunc Félix Belzunce Arcos
            ianw Ian Williams
            Votes:
            7 Vote for this issue
            Watchers:
            11 Start watching this issue

              Created:
              Updated: