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

SSH Plugin : system configuration error : ClassNotFoundException : sun.reflect.ConstructorAccessorImpl

    Details

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: Major
    • Resolution: Unresolved
    • Component/s: ssh-plugin
    • Labels:
    • Environment:
      Jenkins 2.60.1 on RHEL6 Linux
    • Similar Issues:

      Description

      Hi, 

      I updated Jenkins from 2.19.4 to 2.60.1. Then I cannot use 'SSH Plugin' anymore.

      On already configured 'SSH sites' in admin configuration, I have an 'ERROR' link under 'User Name' field. clicking on it gives a stack trace with 

      java.lang.ClassNotFoundException: sun.reflect.ConstructorAccessorImpl coming from com.jcraft.jsch.jce.AES256CTR.init,...javax.crypto.Cipher.chooseProvider...

      When adding a new SSH site configuration, the same error appears when losing focus (by clicking somewhere else) while editing the 'User Name' field.

       

       

        Attachments

          Activity

          Hide
          ljader Łukasz Jąder added a comment -

          Cyril Guillon please provide basic information:

          • which Java are you using (1.7 / 1.8 / 1.9 / OpenJDK / Oracle )
          • which particular RHEL6 version

          If you revert Jenkins to 2.19.4, is the bug still visible?

          Could you try to reproduce the bug on separate, vanilla Jenkins installation on the same machine?

          Show
          ljader Łukasz Jąder added a comment - Cyril Guillon please provide basic information: which Java are you using (1.7 / 1.8 / 1.9 / OpenJDK / Oracle ) which particular RHEL6 version If you revert Jenkins to 2.19.4, is the bug still visible? Could you try to reproduce the bug on separate, vanilla Jenkins installation on the same machine?
          Hide
          zendev Cyril Guillon added a comment -

          Java 1.8 used.
          The problem was solved by disabling some security settings (but now some admin security warnings are displayed in Jenkins).

          Show
          zendev Cyril Guillon added a comment - Java 1.8 used. The problem was solved by disabling some security settings (but now some admin security warnings are displayed in Jenkins).
          Hide
          ljader Łukasz Jąder added a comment -

          So this could be easily caused by any change between 2.19.6 and 2.60.1
          https://jenkins.io/changelog-stable/

          Cyril Guillon Can you quote the admin security warnings you get?

          Additionally do you think we can close this ticket?

          Show
          ljader Łukasz Jąder added a comment - So this could be easily caused by any change between 2.19.6 and 2.60.1 https://jenkins.io/changelog-stable/ Cyril Guillon Can you quote the admin security warnings you get? Additionally do you think we can close this ticket?

            People

            • Assignee:
              Unassigned
              Reporter:
              zendev Cyril Guillon
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: