java.lang.NoSuchMethodError: org.jenkinsci.plugins.gitclient.GitClient.submoduleUpdate()Lorg/jenkinsci/plugins/gitclient/SubmoduleUpdateCommand;

Jenkins JIRA | Dane Xu | 3 years ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    *Steps to reproduce* 1. Create a project. 2. Set "Git Repository URL". The repository specified should use submodules. 3. In "Additional Behaviours", add "Advanced sub-modules behaviours" and check "Recursively update submodules". 4. Trigger a build *Expected result* Workspace should have git working tree and submodules. *Actual console log* {noformat} FATAL: org.jenkinsci.plugins.gitclient.GitClient.submoduleUpdate()Lorg/jenkinsci/plugins/gitclient/SubmoduleUpdateCommand; java.lang.NoSuchMethodError: org.jenkinsci.plugins.gitclient.GitClient.submoduleUpdate()Lorg/jenkinsci/plugins/gitclient/SubmoduleUpdateCommand; at hudson.plugins.git.extensions.impl.SubmoduleOption.onCheckoutCompleted(SubmoduleOption.java:83) at hudson.plugins.git.GitSCM.checkout(GitSCM.java:919) at hudson.model.AbstractProject.checkout(AbstractProject.java:1387) at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:676) at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:88) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:581) at hudson.model.Run.execute(Run.java:1593) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:247) {noformat}

    Jenkins JIRA | 3 years ago | Dane Xu
    java.lang.NoSuchMethodError: org.jenkinsci.plugins.gitclient.GitClient.submoduleUpdate()Lorg/jenkinsci/plugins/gitclient/SubmoduleUpdateCommand;
  2. 0

    *Steps to reproduce* 1. Create a project. 2. Set "Git Repository URL". The repository specified should use submodules. 3. In "Additional Behaviours", add "Advanced sub-modules behaviours" and check "Recursively update submodules". 4. Trigger a build *Expected result* Workspace should have git working tree and submodules. *Actual console log* {noformat} FATAL: org.jenkinsci.plugins.gitclient.GitClient.submoduleUpdate()Lorg/jenkinsci/plugins/gitclient/SubmoduleUpdateCommand; java.lang.NoSuchMethodError: org.jenkinsci.plugins.gitclient.GitClient.submoduleUpdate()Lorg/jenkinsci/plugins/gitclient/SubmoduleUpdateCommand; at hudson.plugins.git.extensions.impl.SubmoduleOption.onCheckoutCompleted(SubmoduleOption.java:83) at hudson.plugins.git.GitSCM.checkout(GitSCM.java:919) at hudson.model.AbstractProject.checkout(AbstractProject.java:1387) at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:676) at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:88) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:581) at hudson.model.Run.execute(Run.java:1593) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:247) {noformat}

    Jenkins JIRA | 3 years ago | Dane Xu
    java.lang.NoSuchMethodError: org.jenkinsci.plugins.gitclient.GitClient.submoduleUpdate()Lorg/jenkinsci/plugins/gitclient/SubmoduleUpdateCommand;

    Root Cause Analysis

    1. java.lang.NoSuchMethodError

      org.jenkinsci.plugins.gitclient.GitClient.submoduleUpdate()Lorg/jenkinsci/plugins/gitclient/SubmoduleUpdateCommand;

      at hudson.plugins.git.extensions.impl.SubmoduleOption.onCheckoutCompleted()
    2. hudson.plugins.git
      SubmoduleOption.onCheckoutCompleted
      1. hudson.plugins.git.extensions.impl.SubmoduleOption.onCheckoutCompleted(SubmoduleOption.java:83)
      1 frame
    3. Hudson GIT plugin
      GitSCM.checkout
      1. hudson.plugins.git.GitSCM.checkout(GitSCM.java:919)
      1 frame
    4. Hudson
      AbstractBuild$AbstractBuildExecution.defaultCheckout
      1. hudson.model.AbstractProject.checkout(AbstractProject.java:1387)
      2. hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:676)
      2 frames
    5. jenkins.scm
      SCMCheckoutStrategy.checkout
      1. jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:88)
      1 frame
    6. Hudson
      Executor.run
      1. hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:581)
      2. hudson.model.Run.execute(Run.java:1593)
      3. hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
      4. hudson.model.ResourceController.execute(ResourceController.java:88)
      5. hudson.model.Executor.run(Executor.java:247)
      5 frames