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

IllegalStateException: Jenkins has not been started, or was already shut down

XMLWordPrintable

    • 2.8.2

      Call over remoting failing sometimes when running checkout scm in a multibranch pipeline

      This is when using a github app,

      likely caused by: https://github.com/jenkinsci/github-branch-source-plugin/pull/223

      12:03:53  java.lang.IllegalStateException: Jenkins has not been started, or was already shut down
      12:03:53  	at org.apache.commons.lang3.Validate.validState(Validate.java:829)
      12:03:53  	at com.cloudbees.jenkins.GitHubWebHook.getJenkinsInstance(GitHubWebHook.java:155)
      12:03:53  	at org.jenkinsci.plugins.github_branch_source.Connector.getProxy(Connector.java:516)
      12:03:53  	at org.jenkinsci.plugins.github_branch_source.Connector.createGitHubBuilder(Connector.java:416)
      12:03:53  	at org.jenkinsci.plugins.github_branch_source.Connector.createGitHubBuilder(Connector.java:399)
      12:03:53  	at org.jenkinsci.plugins.github_branch_source.GitHubAppCredentials.generateAppInstallationToken(GitHubAppCredentials.java:111)
      12:03:53  	at org.jenkinsci.plugins.github_branch_source.GitHubAppCredentials.getPassword(GitHubAppCredentials.java:157)
      12:03:53  	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.createPasswordFile(CliGitAPIImpl.java:2180)
      12:03:53  	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandWithCredentials(CliGitAPIImpl.java:2002)
      12:03:53  	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.access$500(CliGitAPIImpl.java:81)
      12:03:53  	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl$1.execute(CliGitAPIImpl.java:569)
      12:03:53  	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl$2.execute(CliGitAPIImpl.java:798)
      12:03:53  	at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler$GitCommandMasterToSlaveCallable.call(RemoteGitImpl.java:161)
      12:03:53  	at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler$GitCommandMasterToSlaveCallable.call(RemoteGitImpl.java:154)
      12:03:53  	at hudson.remoting.UserRequest.perform(UserRequest.java:211)
      12:03:53  	at hudson.remoting.UserRequest.perform(UserRequest.java:54)
      12:03:53  	at hudson.remoting.Request$2.run(Request.java:369)
      12:03:53  	at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)
      12:03:53  	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
      12:03:53  	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
      12:03:53  	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
      12:03:53  	at java.base/java.lang.Thread.run(Thread.java:834) 

            jglick Jesse Glick
            timja Tim Jacomb
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: