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

ServerHostKeyVerifier has been compiled by a more recent version of the Java Runtime (class file version 55.0)

      FATAL: com/trilead/ssh2/ServerHostKeyVerifier has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0

          [JENKINS-69229] ServerHostKeyVerifier has been compiled by a more recent version of the Java Runtime (class file version 55.0)

          Alex Bond created issue -

          Could you confirm the trilead-api plugin version, Jenkins Core version, and JDK you are using? 
          If you are using the latest version of trilead-api on a JDK 8 the release notes warm about is no longer compatible with Java 8.

          Ivan Fernandez Calvo added a comment - Could you confirm the trilead-api plugin version, Jenkins Core version, and JDK you are using?  If you are using the latest version of trilead-api on a JDK 8 the release notes warm about is no longer compatible with Java 8.
          Ivan Fernandez Calvo made changes -
          Component/s New: trilead-api-plugin [ 22324 ]
          Ivan Fernandez Calvo made changes -
          Summary Original: failed owasp related jenkins jobs New: ServerHostKeyVerifier has been compiled by a more recent version of the Java Runtime (class file version 55.0)

          I'm running into this same issue after updating and there isn't an option to downgrade it in the pugin manager.

          Henry Borchers added a comment - I'm running into this same issue after updating and there isn't an option to downgrade it in the pugin manager.

          okay, I was able to get this running again by manually rolling back trilead-api to 1.67.vc3938a_35172f. It looks like it's a JDK 8 issues. I thought I had until September 1st before things like this would break.

          Henry Borchers added a comment - okay, I was able to get this running again by manually rolling back trilead-api to 1.67.vc3938a_35172f. It looks like it's a JDK 8 issues. I thought I had until September 1st before things like this would break.

          I just got burned by this same issue. Running Jenkins 2.346.2 on Java 8; now have Trilead API Plugin
          Version1.71.v9e7860a_67a_df and my syslog is filling up with:

          jenkins[1803]: java.lang.UnsupportedClassVersionError: com/trilead/ssh2/crypto/cipher/BlockCipher has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0 

          I foolishly assumed upgrading would be safe because other plugins had notes saying they weren't updating to the latest available version, so I figured they would not install on an unsupported Java version. Shame on me for not searching for the Trilead release notes!

          Benjamin Ragheb added a comment - I just got burned by this same issue. Running Jenkins 2.346.2 on Java 8; now have Trilead API Plugin Version1.71.v9e7860a_67a_df and my syslog is filling up with: jenkins[1803]: java.lang.UnsupportedClassVersionError: com/trilead/ssh2/crypto/cipher/BlockCipher has been compiled by a more recent version of the Java Runtime ( class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0 I foolishly assumed upgrading would be safe because other plugins had notes saying they weren't updating to the latest available version, so I figured they would not install on an unsupported Java version. Shame on me for not searching for the Trilead release notes!
          Sebastian Magin made changes -
          Attachment New: Stacktrace.txt [ 58645 ]
          Sebastian Magin made changes -
          Comment [ My Jenkins runs on Java 11 and I still faced this issue after upgrading.  ]

          kredens added a comment -

          I'm running Jenkins 2.346.2 on JRE 11, however some agents our teams use are still running on JRE 8, and trying to run jobs on them results in this error. 

          kredens added a comment - I'm running Jenkins 2.346.2 on JRE 11, however some agents our teams use are still running on JRE 8, and trying to run jobs on them results in this error. 

            ifernandezcalvo Ivan Fernandez Calvo
            alex27 Alex Bond
            Votes:
            3 Vote for this issue
            Watchers:
            17 Start watching this issue

              Created:
              Updated:
              Resolved: