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

Getting "java.lang.ClassNotFoundException: com.jcraft.jsch.Buffer" error

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved (View Workflow)
    • Minor
    • Resolution: Duplicate
    • None
    • Ubuntu 12.04.2 LTS
      Jenkins ver. 1.633
      Gerrit Trigger 2.14.0 (same error with 2.16.0)
      GIT client plugin 1.19.0
      GIT plugin 2.4.0
      java version "1.7.0_51"

    Description

      After updating our Jenkins server and all plugins I get the "java.lang.ClassNotFoundException: com.jcraft.jsch.Buffer" exception when using the Gerrit Trigger plugin - e.g. Clicking on the "Query and Trigger Gerrit Patches" menu entry

      Attachments

        Issue Links

          Activity

            After downgrading our Jenkins server from 1.633 to 1.624 the Gerrit trigger plugin works again (also with Gerrit Trigger version 2.16.0).

            cweinreben Christian Rataj-Weinreben added a comment - After downgrading our Jenkins server from 1.633 to 1.624 the Gerrit trigger plugin works again (also with Gerrit Trigger version 2.16.0).
            orgads Orgad Shaneh added a comment -

            I confirm this happens to me too. Regression from 1.632 -> 1.633.

            orgads Orgad Shaneh added a comment - I confirm this happens to me too. Regression from 1.632 -> 1.633.

            After Orgad Shaneh comment I have updated Jenkins. I can also confirm that the Gerrit Trigger version 2.16.0 still works with Jenkins 1.632 .

            cweinreben Christian Rataj-Weinreben added a comment - After Orgad Shaneh comment I have updated Jenkins. I can also confirm that the Gerrit Trigger version 2.16.0 still works with Jenkins 1.632 .
            tcollege Tim College added a comment -

            Confirmed here, too. Now to Google "how to downgrade Jenkins"

            tcollege Tim College added a comment - Confirmed here, too. Now to Google "how to downgrade Jenkins"

            Sorry, forgot to post the temporary solution (if you have a Debian/Ubuntu) setup:

            cweinreben Christian Rataj-Weinreben added a comment - Sorry, forgot to post the temporary solution (if you have a Debian/Ubuntu) setup: from http://pkg.jenkins-ci.org/debian/ download the http://pkg.jenkins-ci.org/debian/binary/jenkins_1.632_all.deb using wget wget http://pkg.jenkins-ci.org/debian/binary/jenkins_1.632_all.deb Install the downloaded package sudo dpkg -i jenkins_1.632_all.deb
            tcollege Tim College added a comment - - edited

            Thanks. I'm on redhat, and the solution there is:

            yum downgrade jenkins
            

            Followed by disabling the repo for now.

            Downgrading fixes the issue for me, as well.

            tcollege Tim College added a comment - - edited Thanks. I'm on redhat, and the solution there is: yum downgrade jenkins Followed by disabling the repo for now. Downgrading fixes the issue for me, as well.
            danielbeck Daniel Beck added a comment -

            This issue duplicates JENKINS-30820. While this one has more watchers, the proposed fix(es) reference the other issue, so any progress should be tracked there.

            danielbeck Daniel Beck added a comment - This issue duplicates JENKINS-30820 . While this one has more watchers, the proposed fix(es) reference the other issue, so any progress should be tracked there.

            As workaround I copied the jsch-0.1.53.jar to the lib folder of my tomcat. It seems to work...

            zerzuben Christian Zerzuben added a comment - As workaround I copied the jsch-0.1.53.jar to the lib folder of my tomcat. It seems to work...

            People

              Unassigned Unassigned
              cweinreben Christian Rataj-Weinreben
              Votes:
              12 Vote for this issue
              Watchers:
              15 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: