Details
-
Bug
-
Status: Resolved (View Workflow)
-
Major
-
Resolution: Fixed
-
Jenkins 1.509.3 - 1.537
Description
ProcStarter::envs() calls envs.clone(), but does not check envs variable for null. BTW, the variable may be null in the following case (see JENKINS-19506):
- There are several wrappers
- One of wrappers triggers remote call (Launcher::launch()) in setUp() or decorateLauncher() methods to setup variables (example: android-emulator) => it will make all other launchers to provide their environment variables
- One of other wrappers retrieves ProcStarter.envs() in setUp() or decorateLauncher()
- envs are empty for nested call => execution of other wrapper causes NPE inside core
Attachments
Issue Links
- is duplicated by
-
JENKINS-19086 NullPointerException on ProcStarter.envs (Launcher.java:302)
-
- Closed
-
- is related to
-
JENKINS-19506 [integration] - android-plugin + custom-tools installation fails due to NPE in ProcStarter::envs()
-
- Closed
-
Activity
Field | Original Value | New Value |
---|---|---|
Link |
This issue is related to |
Link |
This issue is duplicated by |
Resolution | Fixed [ 1 ] | |
Status | Open [ 1 ] | Resolved [ 5 ] |
Labels | launcher | launcher lts-candidate |
Labels | launcher lts-candidate | 1.565.1-fixed launcher |
Workflow | JNJira [ 152084 ] | JNJira + In-Review [ 194203 ] |