-
Type:
Bug
-
Status: Resolved (View Workflow)
-
Priority:
Major
-
Resolution: Fixed
-
Component/s: trilead-api-plugin
-
Labels:
-
Similar Issues:
Since version 2.59 there is a problem when checking out Git repositories on any of our projects. Jenkins seems to hang:
Fetching changes from the remote Git repository
Cleaning workspace
...and that's it.
When looking into the Jenkins logs I see the following exception:
May 08, 2017 11:34:47 AM hudson.init.impl.InstallUncaughtExceptionHandler$DefaultUncaughtExceptionHandler uncaughtException SEVERE: A thread (Thread-17/172) died unexpectedly due to an uncaught exception, this may leave your Jenkins in a bad way and is usually indicative of a bug in the code. java.lang.NullPointerException at com.trilead.ssh2.transport.KexManager.handleMessage(KexManager.java:447) at com.trilead.ssh2.transport.TransportManager.receiveLoop(TransportManager.java:790) at com.trilead.ssh2.transport.TransportManager$1.run(TransportManager.java:502) at java.lang.Thread.run(Thread.java:745)
—
Updated from 2.53 to 2.59, updated OpenJDK from 1.7 to 1.8. Jenkins running on Ubuntu 15.
Code changed in jenkins
User: Michael Clarke
Path:
src/com/trilead/ssh2/transport/KexManager.java
http://jenkins-ci.org/commit/trilead-ssh2/8ddd97a72e62f62e9eb04c873610893be1a8b053
Log:
Merge pull request #24 from mc1arke/jenkins-44120-fix-npe
JENKINS-44120Prevent NPE when using DH group 1 or 14 with SHA1 KEXCompare: https://github.com/jenkinsci/trilead-ssh2/compare/ef5cb143f9f5...8ddd97a72e62