java.lang.IllegalArgumentException: Null value not allowed as an environment variable: VARIABLE_NAME

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Jenkins JIRA by Sylvain Benner, 1 year ago
via Jenkins JIRA by Sylvain Benner, 1 year ago
via GitHub by bes3
, 2 years ago
Null value not allowed as an environment variable: MY_VARIABLE
via Google Groups by trunov.ms@gmail.com (JIRA), 1 year ago
via Jenkins JIRA by Chiel de Koningh, 1 year ago
Null value not allowed as an environment variable: Restore
java.lang.IllegalArgumentException: Null value not allowed as an environment variable: VARIABLE_NAME
at hudson.EnvVars.put(EnvVars.java:356)
at hudson.model.StringParameterValue.buildEnvironment(StringParameterValue.java:56)
at hudson.model.ParametersAction.buildEnvVars(ParametersAction.java:85)
at hudson.model.AbstractBuild.getEnvironment(AbstractBuild.java:883)
at org.jenkinsci.plugins.jobgenerator.parameterizedtrigger.PredefinedGeneratorParameters.getAction(PredefinedGeneratorParameters.java:59)
at org.jenkinsci.plugins.jobgenerator.GeneratorRun$GeneratorImpl.gatherDownstreamGenerators(GeneratorRun.java:493)
at org.jenkinsci.plugins.jobgenerator.GeneratorRun$GeneratorImpl.doRun(GeneratorRun.java:299)
at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:523)
at hudson.model.Run.execute(Run.java:1688)
at org.jenkinsci.plugins.jobgenerator.GeneratorRun.run(GeneratorRun.java:284)
at hudson.model.ResourceController.execute(ResourceController.java:88)
at hudson.model.Executor.run(Executor.java:231)
at hudson.model.OneOffExecutor.run(OneOffExecutor.java:43)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago

Know the solutions? Share your knowledge to help other developers to debug faster.