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

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

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • ssh-plugin
    • Jenkins 2.60.1 on RHEL6 Linux

      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.

       

       

          [JENKINS-45203] SSH Plugin : system configuration error : ClassNotFoundException : sun.reflect.ConstructorAccessorImpl

          zendev 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?

          Łukasz Jąder added a comment - zendev 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?

          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).

          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).

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

          zendev Can you quote the admin security warnings you get?

          Additionally do you think we can close this ticket?

          Ł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/ zendev Can you quote the admin security warnings you get? Additionally do you think we can close this ticket?

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

              Created:
              Updated: