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

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 Chiel de Koningh, 1 year ago
Null value not allowed as an environment variable: Restore
via Stack Overflow by Unknown author, 2 years ago
Null value not allowed as an environment variable: Restore
via Jenkins JIRA by Chiel de Koningh, 1 year ago
Null value not allowed as an environment variable: Restore
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 GitHub by mattiasb
, 2 years ago
Null value not allowed as an environment variable: gitlabDescription
java.lang.IllegalArgumentException: Null value not allowed as an environment variable: Restore
at hudson.EnvVars.put(EnvVars.java:356)
at hudson.model.StringParameterValue.buildEnvironment(StringParameterValue.java:56)
at hudson.model.ParametersAction.buildEnvVars(ParametersAction.java:88)
at hudson.model.AbstractBuild.getEnvironment(AbstractBuild.java:929)
at hudson.plugins.mercurial.MercurialSCM.checkout(MercurialSCM.java:533)
at hudson.scm.SCM.checkout(SCM.java:484)
at hudson.model.AbstractProject.checkout(AbstractProject.java:1270)
at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86)
at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:531)
at hudson.model.Run.execute(Run.java:1750)
at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
at hudson.model.ResourceController.execute(ResourceController.java:89)
at hudson.model.Executor.run(Executor.java:240)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 2 years ago

Write tip

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