-
Type:
Bug
-
Resolution: Unresolved
-
Priority:
Major
-
Component/s: active-directory-plugin
-
Environment: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)Â