Issue Type: Bug Bug
Assignee: Oleg Nenashev
Components: core
Created: 13/Nov/13 12:28 PM
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
Environment: Jenkins 1.509.3 - 1.537
Project: Jenkins
Labels: launcher
Priority: Major Major
Reporter: Oleg Nenashev
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

--
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to