|
||||||||
|
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 [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Another scenario which causes the NullPointerException:
If the build selected in a RunParameter is deleted, you can no longer load any Environment variables from the parameterized build using groovy script, even non RunParameter environment variables.
A call to build.getEnvironment() will result in a call to RunParameterValue.buildEnvVars()
As the build selected for the RunParameter has been deleted, it will cause a null pointer when trying to access details from the Run.