[JIRA] (JENKINS-58940) ActiveDirectory.updateUserCache uncaughtException
Title: Message Title Ian Williams commented on JENKINS-58940 Re: ActiveDirectory.updateUserCache uncaughtException Charles Tudor, We (the OP) do not have Prometheus or plugin permissive-script-security installed. While ldap plugin is installed, we use AD, not ldap, so the issue remains unresolved. Add Comment This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.201284.1565805612000.1399.1568227440307%40Atlassian.JIRA.
[JIRA] (JENKINS-58940) ActiveDirectory.updateUserCache uncaughtException
Title: Message Title Charles Tudor commented on JENKINS-58940 Re: ActiveDirectory.updateUserCache uncaughtException We are getting a NPE when logging in. I was able to narrow down the plugins to ldap:1.20 prometheus:2.0.6 jobConfigHistory:2.24 permissive-script-security:0.5 Going back to prometheus:2.0.0 or permissive-script-security:0.4 fixes the issue. Stack trace 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.security.LDAPSecurityRealm.updateUserDetails(LDAPSecurityRealm.java:835) at hudson.security.LDAPSecurityRealm.updateUserDetails(LDAPSecurityRealm.java:796) at hudson.security.LDAPSecurityRealm.loadUserByUsername(LDAPSecurityRealm.java:786) at jenkins.security.UserDetailsCache$Retriever.call(UserDetailsCache.java:172) at jenkins.security.UserDetailsCache$Retriever.call(UserDetailsCache.java:161) at com.google.common.cache.LocalCache$LocalManualCache$1.load(LocalCache.java:4767) at com.google.common.cache.LocalCache$LoadingValueReference.loadFuture(LocalCache.java:3568) at com.google.common.cache.LocalCache$Segment.loadSync(LocalCache.java:2350) at com.google.common.cache.LocalCache$Segment.lockedGetOrLoad(LocalCache.java:2313) at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2228) Caused: com.google.common.util.concurrent.UncheckedExecutionException at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2234) at com.google.common.cache.LocalCache.get(LocalCache.java:3965) at com.google.common.cache.LocalCache$LocalManualCache.get(LocalCache.java:4764) at jenkins.security.UserDetailsCache.loadUserByUsername(UserDetailsCache.java:127) at hudson.model.User$UserIDCanonicalIdResolver.resolveCanonicalId(User.java:1239) at hudson.model.User$CanonicalIdResolver.resolve(User.java:1180) at hudson.model.User.get(User.java:505) at hudson.model.User.getOrCreateByIdOrFullName(User.java:570) at hudson.model.User.get(User.java:551) at hudson.security.LDAPSecurityRealm.updateUserDetails(LDAPSecurityRealm.java:802) at hudson.security.LDAPSecurityRealm.updateUserDetails(LDAPSecurityRealm.java:796) at hudson.security.LDAPSecurityRealm.updateUserDetails(LDAPSecurityRealm.java:790) at hudson.security.LDAPSecurityRealm$LDAPAuthenticationManager.authenticate(LDAPSecurityRealm.java:997) at org.acegisecurity.ui.webapp.AuthenticationProcessingFilter.attemptAuthentication(AuthenticationProcessingFilter.java:74) at org.acegisecurity.ui.AbstractProcessingFilter.doFilter(AbstractProcessingFilter.java:252) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at jenkins.security.BasicHeaderProcessor.doFilter(BasicHeaderProcessor.java:93) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(HttpSessionContextIntegrationFilter.java:249) at hudson.security.HttpSessionContextIntegrationFilter2.doFilter(HttpSessionContextIntegrationFilter2.java:67) at
[JIRA] (JENKINS-58940) ActiveDirectory.updateUserCache uncaughtException
Title: Message Title Peter Ntende commented on JENKINS-58940 Re: ActiveDirectory.updateUserCache uncaughtException In addition to the Prometheus Metrics plugin, I also had to remove to roll back influxDb, Git plugin and all git related plugins to previous versions. Add Comment This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.201284.1565805612000.6784.1567623540358%40Atlassian.JIRA.
[JIRA] (JENKINS-58940) ActiveDirectory.updateUserCache uncaughtException
Title: Message Title Ian Williams commented on JENKINS-58940 Re: ActiveDirectory.updateUserCache uncaughtException We (the OP) do not have Prometheus plugin installed, so the issue remains unresolved. Add Comment This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.201284.1565805612000.6737.1567615440185%40Atlassian.JIRA.
[JIRA] (JENKINS-58940) ActiveDirectory.updateUserCache uncaughtException
Title: Message Title Paulius Bulotas commented on JENKINS-58940 Re: ActiveDirectory.updateUserCache uncaughtException I can confirm that downgrading Prometheus plugin solved issues we are seeing... Add Comment This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.201284.1565805612000.6659.1567607040193%40Atlassian.JIRA.
[JIRA] (JENKINS-58940) ActiveDirectory.updateUserCache uncaughtException
Title: Message Title Julien Duchesne commented on JENKINS-58940 Re: ActiveDirectory.updateUserCache uncaughtException Weirdly, on my instances, I had that issue and the bug was caused by the update of the `Prometheus Metrics` plugin from 2.0.0 to 2.0.6 Add Comment This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.201284.1565805612000.6626.1567605420317%40Atlassian.JIRA.
[JIRA] (JENKINS-58940) ActiveDirectory.updateUserCache uncaughtException
Title: Message Title Paulius Bulotas commented on JENKINS-58940 Re: ActiveDirectory.updateUserCache uncaughtException Another one: 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.git.GitChangeSet.setMail(GitChangeSet.java:416) at hudson.plugins.git.GitChangeSet.findOrCreateUser(GitChangeSet.java:407) at hudson.plugins.git.GitChangeSet.getAuthor(GitChangeSet.java:466) at jenkins.scm.RunWithSCM.calculateCulprits(RunWithSCM.java:137) Add Comment This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.201284.1565805612000.6277.1567578660195%40Atlassian.JIRA.
[JIRA] (JENKINS-58940) ActiveDirectory.updateUserCache uncaughtException
Title: Message Title Paulius Bulotas commented on JENKINS-58940 Re: ActiveDirectory.updateUserCache uncaughtException Different stacktrace in the begining, ends the same: There were no failing Constraints! The build will be marked as SUCCESS FATAL: java.lang.NullPointerException 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.security.LDAPSecurityRealm.updateUserDetails(LDAPSecurityRealm.java:835) at hudson.security.LDAPSecurityRealm.updateUserDetails(LDAPSecurityRealm.java:796) at hudson.security.LDAPSecurityRealm.loadUserByUsername(LDAPSecurityRealm.java:786) at jenkins.security.UserDetailsCache$Retriever.call(UserDetailsCache.java:172) at jenkins.security.UserDetailsCache$Retriever.call(UserDetailsCache.java:161) at com.google.common.cache.LocalCache$LocalManualCache$1.load(LocalCache.java:4767) at com.google.common.cache.LocalCache$LoadingValueReference.loadFuture(LocalCache.java:3568) at com.google.common.cache.LocalCache$Segment.loadSync(LocalCache.java:2350) at com.google.common.cache.LocalCache$Segment.lockedGetOrLoad(LocalCache.java:2313) at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2228) Caused: com.google.common.util.concurrent.UncheckedExecutionException at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2234) at com.google.common.cache.LocalCache.get(LocalCache.java:3965) at com.google.common.cache.LocalCache$LocalManualCache.get(LocalCache.java:4764) at jenkins.security.UserDetailsCache.loadUserByUsername(UserDetailsCache.java:127) at hudson.model.User$UserIDCanonicalIdResolver.resolveCanonicalId(User.java:1239) at hudson.model.User$CanonicalIdResolver.resolve(User.java:1180) at hudson.model.User.get(User.java:505) at hudson.model.User.get(User.java:475) at hudson.plugins.git.GitChangeSet.findOrCreateUser(GitChangeSet.java:398) at hudson.plugins.git.GitChangeSet.getAuthor(GitChangeSet.java:466) at jenkins.scm.RunWithSCM.calculateCulprits(RunWithSCM.java:137) at hudson.model.AbstractBuild.calculateCulprits(AbstractBuild.java:341) at jenkins.scm.RunWithSCM.getCulprits(RunWithSCM.java:95) at hudson.model.AbstractBuild.getCulprits(AbstractBuild.java:330) at jenkins.scm.RunWithSCM.calculateCulprits(RunWithSCM.java:132) at hudson.model.AbstractBuild.calculateCulprits(AbstractBuild.java:341) at jenkins.scm.RunWithSCM.getCulprits(RunWithSCM.java:95) at hudson.model.AbstractBuild.getCulprits(AbstractBuild.java:330) at jenkins.scm.RunWithSCM.calculateCulprits(RunWithSCM.java:132) at hudson.model.AbstractBuild.calculateCulprits(AbstractBuild.java:341) at jenkins.scm.RunWithSCM.getCulprits(RunWithSCM.java:95) at hudson.model.AbstractBuild.getCulprits(AbstractBuild.java:330) at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:639) at hudson.model.Run.execute(Run.java:1843) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:97) at hudson.model.Executor.run(Executor.java:429)
[JIRA] (JENKINS-58940) ActiveDirectory.updateUserCache uncaughtException
Title: Message Title Paulius Bulotas edited a comment on JENKINS-58940 Re: ActiveDirectory.updateUserCache uncaughtException 2.176.3, after updating bunch of plugins, I get NPE when logging in or saving user preferences:{code:java} 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.doConfigSubmit(User.java:868){code}And we are using LDAP, CentOS 7 with SELinux enabled. Add Comment This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.201284.1565805612000.2683.1567084980176%40Atlassian.JIRA.
[JIRA] (JENKINS-58940) ActiveDirectory.updateUserCache uncaughtException
Title: Message Title Paulius Bulotas commented on JENKINS-58940 Re: ActiveDirectory.updateUserCache uncaughtException 2.176.3, after updating bunch of plugins, I get NPE when logging in or saving user preferences: 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.doConfigSubmit(User.java:868) And we are using LDAP, CentOS 7 Add Comment This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.201284.1565805612000.2679.1567084862042%40Atlassian.JIRA.
[JIRA] (JENKINS-58940) ActiveDirectory.updateUserCache uncaughtException
Title: Message Title Michelle Pogado edited a comment on JENKINS-58940 Re: ActiveDirectory.updateUserCache uncaughtException Experiencing the same exact issue.Environment:{code :java }Jenkins 2.189 Active Directory Plugin 2.16CentOS 7{code} *Plugins updated via the Plugin Manager UI Update:Tried downgrading AD Plugin from 2.16 to 2.14 and still getting the exact same stack trace above.Are there any workarounds for this? Add Comment This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.201284.1565805612000.1312.1566958260963%40Atlassian.JIRA.
[JIRA] (JENKINS-58940) ActiveDirectory.updateUserCache uncaughtException
Title: Message Title Michelle Pogado edited a comment on JENKINS-58940 Re: ActiveDirectory.updateUserCache uncaughtException Experiencing the same exact issue. Environment:{code} Jenkins 2.189 Active Directory Plugin 2.16 CentOS 7 {code} *Plugins updated via the Plugin Manager UI Add Comment This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.201284.1565805612000.1309.1566957240141%40Atlassian.JIRA.
[JIRA] (JENKINS-58940) ActiveDirectory.updateUserCache uncaughtException
Title: Message Title Michelle Pogado edited a comment on JENKINS-58940 Re: ActiveDirectory.updateUserCache uncaughtException Experiencing the same issue.Jenkins 2.189Active Directory Plugin 2.16 *Plugins updated via the Plugin Manager UI Add Comment This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.201284.1565805612000.1306.1566956820138%40Atlassian.JIRA.
[JIRA] (JENKINS-58940) ActiveDirectory.updateUserCache uncaughtException
Title: Message Title Michelle Pogado commented on JENKINS-58940 Re: ActiveDirectory.updateUserCache uncaughtException Experiencing the same issue. Jenkins 2.189 Active Directory Plugin 2.16 Add Comment This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.201284.1565805612000.1303.1566956760183%40Atlassian.JIRA.
[JIRA] (JENKINS-58940) ActiveDirectory.updateUserCache uncaughtException
Title: Message Title Ian Williams updated an issue Jenkins / JENKINS-58940 ActiveDirectory.updateUserCache uncaughtException Change By: Ian Williams Attachment: active_dir.dump.txt Add Comment This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.201284.1565805612000.3131.1565826780149%40Atlassian.JIRA.
[JIRA] (JENKINS-58940) ActiveDirectory.updateUserCache uncaughtException
Title: Message Title Ian Williams updated an issue Jenkins / JENKINS-58940 ActiveDirectory.updateUserCache uncaughtException Change By: Ian Williams Issue Type: Improvement Bug Add Comment This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.201284.1565805612000.2954.1565805840234%40Atlassian.JIRA.
[JIRA] (JENKINS-58940) ActiveDirectory.updateUserCache uncaughtException
Title: Message Title Ian Williams updated an issue Jenkins / JENKINS-58940 ActiveDirectory.updateUserCache uncaughtException Change By: Ian Williams 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) }} Add Comment
[JIRA] (JENKINS-58940) ActiveDirectory.updateUserCache uncaughtException
Title: Message Title Ian Williams updated an issue Jenkins / JENKINS-58940 ActiveDirectory.updateUserCache uncaughtException Change By: Ian Williams 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) }} Add Comment
[JIRA] (JENKINS-58940) ActiveDirectory.updateUserCache uncaughtException
Title: Message Title Ian Williams created an issue Jenkins / JENKINS-58940 ActiveDirectory.updateUserCache uncaughtException Issue Type: Improvement Assignee: Félix Belzunce Arcos Components: active-directory-plugin Created: 2019-08-14 18:00 Environment: Jenkins 2.176.2 active-directory:2.16 Priority: Major Reporter: Ian Williams 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)