Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[JENKINS-38527] - Prevent NullPointerException in Slave#createLaunche…
…r() and add cause diagnostics (#2923) * [JENKINS-38527] - Prevent NullPointerException in Slave#createLauncher() and add cause diagnostics The original issue comes from the isUnix() unboxing, but we can also get into an issue later if we pass a null Channel instance to the logic. This change adds some diagnostics which discovers potential root causes of such potential NPEs due to the race conditions with Computer reconnection * [JENKINS-38527] - Also handle cases when Channel#isClosingOrClosed() as @stephenc suggested
- Loading branch information
1 parent
006fd89
commit 78a42d5
Showing
1 changed file
with
55 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
typo