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

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 Google Groups by kathleen...@aquilent.com (JIRA), 9 months ago
Null value not allowed as an environment variable: GIT_URL_2
via Jenkins JIRA by Saurabh Sonar, 11 months ago
Null value not allowed as an environment variable: GIT_URL_3
via Jenkins JIRA by Bobby Dineen, 1 year ago
Null value not allowed as an environment variable: GIT_COMMIT
via Jenkins JIRA by Bobby Dineen, 1 year ago
Null value not allowed as an environment variable: GIT_COMMIT
java.lang.IllegalArgumentException: Null value not allowed as an environment variable: GIT_URL_2
at hudson.EnvVars.put(EnvVars.java:356)
at hudson.EnvVars.put(EnvVars.java:74)
at hudson.model.AbstractBuild.getEnvironment(AbstractBuild.java:927)
at hudson.scm.SCM.checkout(SCM.java:495)
at hudson.model.AbstractProject.checkout(AbstractProject.java:1269)
at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86)
at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:529)
at hudson.model.Run.execute(Run.java:1741)
at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
at hudson.model.ResourceController.execute(ResourceController.java:98)
at hudson.model.Executor.run(Executor.java:410)

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.