• Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Major Major
    • git-client-plugin
    • None
    • Linux, Jenkins

      After update to 1.6.1 I now get the following:

      Building on master in workspace /usr/local/NAS/jenkins_jobs/master-Documentation/workspace

      Deleting project workspace... done

      FATAL: org.jenkinsci.plugins.gitclient.GitClient
      java.lang.NoClassDefFoundError: org.jenkinsci.plugins.gitclient.GitClient
      at org.jenkinsci.plugins.gitclient.Git$1.invoke(Git.java:63)
      at org.jenkinsci.plugins.gitclient.Git$1.invoke(Git.java:54)
      at hudson.FilePath.act(FilePath.java:914)
      at hudson.FilePath.act(FilePath.java:887)
      at org.jenkinsci.plugins.gitclient.Git.getClient(Git.java:66)
      at hudson.plugins.git.GitSCM.createClient(GitSCM.java:569)
      at hudson.plugins.git.GitSCM.createClient(GitSCM.java:561)
      at hudson.plugins.git.GitSCM.checkout(GitSCM.java:866)
      at hudson.model.AbstractProject.checkout(AbstractProject.java:1411)
      at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:651)
      at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:88)
      at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:560)
      at hudson.model.Run.execute(Run.java:1670)
      at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
      at hudson.model.ResourceController.execute(ResourceController.java:88)
      at hudson.model.Executor.run(Executor.java:231)

      Reverting to 1.6.0 resolves the issue.

          [JENKINS-21520] NoClassDefFoundError in git client 1.6.1

          Mark Waite added a comment -

          A comment in JENKINS-20254 indicates that the ssh-credentials plugin must also be enabled. Could you double check that your ssh-credentials plugin is enabled on the failing configuration?

          Mark Waite added a comment - A comment in JENKINS-20254 indicates that the ssh-credentials plugin must also be enabled. Could you double check that your ssh-credentials plugin is enabled on the failing configuration?

          Mark Waite added a comment -

          I'm unable to duplicate this bug, nor do there seem to be ongoing reports of the problem. Closing it as "Cannot reproduce".

          Mark Waite added a comment - I'm unable to duplicate this bug, nor do there seem to be ongoing reports of the problem. Closing it as "Cannot reproduce".

          Code changed in jenkins
          User: Nicolas De Loof
          Path:
          src/main/java/org/jenkinsci/plugins/gitclient/CliGitAPIImpl.java
          http://jenkins-ci.org/commit/git-client-plugin/03409a462896c5c5cd118a88a9e4718c39f605df
          Log:
          JENKINS-21520 transient NoClassDefFoundError: javax/servlet/ServletException

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Nicolas De Loof Path: src/main/java/org/jenkinsci/plugins/gitclient/CliGitAPIImpl.java http://jenkins-ci.org/commit/git-client-plugin/03409a462896c5c5cd118a88a9e4718c39f605df Log: JENKINS-21520 transient NoClassDefFoundError: javax/servlet/ServletException

          Code changed in jenkins
          User: Nicolas De Loof
          Path:
          src/main/java/org/jenkinsci/plugins/gitclient/CliGitAPIImpl.java
          http://jenkins-ci.org/commit/git-client-plugin/f7e7c19b8bdf4080bcf6034818e2736c1fd09b18
          Log:
          JENKINS-21520 transient NoClassDefFoundError: javax/servlet/ServletException

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Nicolas De Loof Path: src/main/java/org/jenkinsci/plugins/gitclient/CliGitAPIImpl.java http://jenkins-ci.org/commit/git-client-plugin/f7e7c19b8bdf4080bcf6034818e2736c1fd09b18 Log: JENKINS-21520 transient NoClassDefFoundError: javax/servlet/ServletException

          Code changed in jenkins
          User: Nicolas De Loof
          Path:
          src/main/java/org/jenkinsci/plugins/gitclient/CliGitAPIImpl.java
          http://jenkins-ci.org/commit/git-client-plugin/fc708cf66cf4a432b9e4a215c24fc3befb23e6b6
          Log:
          JENKINS-21520 transient NoClassDefFoundError: javax/servlet/ServletException

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Nicolas De Loof Path: src/main/java/org/jenkinsci/plugins/gitclient/CliGitAPIImpl.java http://jenkins-ci.org/commit/git-client-plugin/fc708cf66cf4a432b9e4a215c24fc3befb23e6b6 Log: JENKINS-21520 transient NoClassDefFoundError: javax/servlet/ServletException

          Code changed in jenkins
          User: Nicolas De Loof
          Path:
          src/main/java/hudson/plugins/git/GitTool.java
          src/main/java/org/jenkinsci/plugins/gitclient/CliGitAPIImpl.java
          http://jenkins-ci.org/commit/git-client-plugin/377561efbb3263c05058ab15ffd8cadbaba4dc56
          Log:
          JENKINS-21520 transient NoClassDefFoundError: javax/servlet/ServletException

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Nicolas De Loof Path: src/main/java/hudson/plugins/git/GitTool.java src/main/java/org/jenkinsci/plugins/gitclient/CliGitAPIImpl.java http://jenkins-ci.org/commit/git-client-plugin/377561efbb3263c05058ab15ffd8cadbaba4dc56 Log: JENKINS-21520 transient NoClassDefFoundError: javax/servlet/ServletException

          Code changed in jenkins
          User: Mark Waite
          Path:
          src/main/java/hudson/plugins/git/GitTool.java
          src/main/java/org/jenkinsci/plugins/gitclient/CliGitAPIImpl.java
          http://jenkins-ci.org/commit/git-client-plugin/0b57fecc2bb9c6aa2087f5aceaf82326b62b5859
          Log:
          Merge pull request #171 from ndeloof/master

          JENKINS-21520 transient NoClassDefFoundError: javax/servlet/ServletException

          Compare: https://github.com/jenkinsci/git-client-plugin/compare/886a32277375...0b57fecc2bb9

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Mark Waite Path: src/main/java/hudson/plugins/git/GitTool.java src/main/java/org/jenkinsci/plugins/gitclient/CliGitAPIImpl.java http://jenkins-ci.org/commit/git-client-plugin/0b57fecc2bb9c6aa2087f5aceaf82326b62b5859 Log: Merge pull request #171 from ndeloof/master JENKINS-21520 transient NoClassDefFoundError: javax/servlet/ServletException Compare: https://github.com/jenkinsci/git-client-plugin/compare/886a32277375...0b57fecc2bb9

          Code changed in jenkins
          User: Mark Waite
          Path:
          src/main/java/hudson/plugins/git/util/BuildData.java
          src/test/java/hudson/plugins/git/AbstractGitRepository.java
          src/test/java/hudson/plugins/git/AbstractGitTestCase.java
          src/test/java/hudson/plugins/git/GitPublisherTest.java
          src/test/java/hudson/plugins/git/SCMTriggerTest.java
          http://jenkins-ci.org/commit/git-plugin/9369a12c7bc4cdee6cea399029f302533727595a
          Log:
          Inline references to hudson.Functions, trying to resolve JENKINS-21520

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Mark Waite Path: src/main/java/hudson/plugins/git/util/BuildData.java src/test/java/hudson/plugins/git/AbstractGitRepository.java src/test/java/hudson/plugins/git/AbstractGitTestCase.java src/test/java/hudson/plugins/git/GitPublisherTest.java src/test/java/hudson/plugins/git/SCMTriggerTest.java http://jenkins-ci.org/commit/git-plugin/9369a12c7bc4cdee6cea399029f302533727595a Log: Inline references to hudson.Functions, trying to resolve JENKINS-21520

          Mark Waite added a comment -

          The referenced git plugin changes are included in 2.4.0 which was released 18 Jul 2015.

          The referenced git client plugin changes are included in 1.18.0 which was released 18 Jul 2015.

          The root problem is not fixed by those changes and it is not clear if the referenced changes will be sufficient to resolve the issue. They did resolve the issue for ndeloof

          Mark Waite added a comment - The referenced git plugin changes are included in 2.4.0 which was released 18 Jul 2015. The referenced git client plugin changes are included in 1.18.0 which was released 18 Jul 2015. The root problem is not fixed by those changes and it is not clear if the referenced changes will be sufficient to resolve the issue. They did resolve the issue for ndeloof

          Jesse Glick added a comment -

          The general bug is in core, that there should be a blacklist of classes which should never be sent over a slave remoting channel. Cannot remember if that is filed or not.

          Jesse Glick added a comment - The general bug is in core, that there should be a blacklist of classes which should never be sent over a slave remoting channel. Cannot remember if that is filed or not.

            ndeloof Nicolas De Loof
            s7726 Gavin Swanson
            Votes:
            3 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: