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

Guice failing on terminating ActiveDirectorySecurityRealm.shutDownthreadPoolExecutors

    Details

    • Similar Issues:

      Description

      After restart, we are seeing:

      INFO: Started termination
      Mar 24, 2017 12:47:07 PM jenkins.model.Jenkins$21 onTaskFailed
      SEVERE: Failed ActiveDirectorySecurityRealm.shutDownthreadPoolExecutors
      com.google.inject.ConfigurationException: Guice configuration errors:
      
      1) Could not find a suitable constructor in hudson.plugins.active_directory.ActiveDirectorySecurityRealm. Classes must have either one (and only one) constructor annotated with @Inject or a zero-argument constructor that is not private.
        at hudson.plugins.active_directory.ActiveDirectorySecurityRealm.class(ActiveDirectorySecurityRealm.java:108)
        while locating hudson.plugins.active_directory.ActiveDirectorySecurityRealm
      
      1 error
      	at com.google.inject.internal.InjectorImpl.getProvider(InjectorImpl.java:1042)
      	at com.google.inject.internal.InjectorImpl.getProvider(InjectorImpl.java:1001)
      	at com.google.inject.internal.InjectorImpl.getInstance(InjectorImpl.java:1051)
      	at jenkins.ProxyInjector.getInstance(ProxyInjector.java:98)
      	at hudson.init.TaskMethodFinder.lookUp(TaskMethodFinder.java:124)
      	at hudson.init.TaskMethodFinder.invoke(TaskMethodFinder.java:104)
      	at hudson.init.TaskMethodFinder$TaskImpl.run(TaskMethodFinder.java:175)
      	at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:282)
      	at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:210)
      	at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:117)
      	at jenkins.model.Jenkins$20.execute(Jenkins.java:3240)
      	at org.jvnet.hudson.reactor.Reactor$Node.runIfPossible(Reactor.java:139)
      	at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:128)
      	at jenkins.model.Jenkins$20.execute(Jenkins.java:3240)
      	at org.jvnet.hudson.reactor.Reactor$Node.runIfPossible(Reactor.java:139)
      	at org.jvnet.hudson.reactor.Reactor.execute(Reactor.java:263)
      	at jenkins.model.Jenkins._cleanUpRunTerminators(Jenkins.java:3237)
      	at jenkins.model.Jenkins.cleanUp(Jenkins.java:3159)
      	at hudson.lifecycle.UnixLifecycle.restart(UnixLifecycle.java:70)
      	at jenkins.model.Jenkins$25.run(Jenkins.java:4106)
      

        Attachments

          Activity

          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Félix Belzunce Arcos
          Path:
          src/main/java/hudson/plugins/active_directory/ActiveDirectorySecurityRealm.java
          http://jenkins-ci.org/commit/active-directory-plugin/a591b57c1a82f70128a685f724672b6411e4000a
          Log:
          JENKINS-43091 Guice failing on terminating ActiveDirectorySecurityRealm.shutDownthreadPoolExecutors

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Félix Belzunce Arcos Path: src/main/java/hudson/plugins/active_directory/ActiveDirectorySecurityRealm.java http://jenkins-ci.org/commit/active-directory-plugin/a591b57c1a82f70128a685f724672b6411e4000a Log: JENKINS-43091 Guice failing on terminating ActiveDirectorySecurityRealm.shutDownthreadPoolExecutors
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Felix Belzunce Arcos
          Path:
          src/main/java/hudson/plugins/active_directory/ActiveDirectorySecurityRealm.java
          http://jenkins-ci.org/commit/active-directory-plugin/5e653988a136a0f2d73105390a78ec617f89dc9d
          Log:
          Merge pull request #72 from fbelzunc/JENKINS-43091

          [FIXED JENKINS-43091] Guice failing on terminating ActiveDirectorySecurityRealm.shutDownthreadPoolExecutors

          Compare: https://github.com/jenkinsci/active-directory-plugin/compare/847ace3121c2...5e653988a136

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Felix Belzunce Arcos Path: src/main/java/hudson/plugins/active_directory/ActiveDirectorySecurityRealm.java http://jenkins-ci.org/commit/active-directory-plugin/5e653988a136a0f2d73105390a78ec617f89dc9d Log: Merge pull request #72 from fbelzunc/ JENKINS-43091 [FIXED JENKINS-43091] Guice failing on terminating ActiveDirectorySecurityRealm.shutDownthreadPoolExecutors Compare: https://github.com/jenkinsci/active-directory-plugin/compare/847ace3121c2...5e653988a136

            People

            • Assignee:
              fbelzunc Félix Belzunce Arcos
              Reporter:
              fbelzunc Félix Belzunce Arcos
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: