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 Pawel Gronkiewicz, 2 years ago
Null value not allowed as an environment variable: M2_HOME
via Jenkins JIRA by Jesse Glick, 1 year ago
Null value not allowed as an environment variable: M2_HOME
via Jenkins JIRA by Jesse Glick, 2 years ago
Null value not allowed as an environment variable: M2_HOME
via Jenkins JIRA by Pawel Gronkiewicz, 1 year ago
Null value not allowed as an environment variable: M2_HOME
via Jenkins JIRA by Sankara Subramanian Hariharakumar, 1 year ago
Null value not allowed as an environment variable: M2_HOME
via Jenkins JIRA by Sankara Subramanian Hariharakumar, 2 years ago
Null value not allowed as an environment variable: M2_HOME
java.lang.IllegalArgumentException: Null value not allowed as an environment variable: M2_HOME at hudson.EnvVars.put(EnvVars.java:172) at hudson.tasks.Maven$MavenInstallation.buildEnvVars(Maven.java:492) at hudson.maven.MavenModuleSetBuild.getEnvironment(MavenModuleSetBuild.java:173) at hudson.scm.SubversionSCM.compareRemoteRevisionWith(SubversionSCM.java:1230) at hudson.scm.SCM._compareRemoteRevisionWith(SCM.java:356) at hudson.scm.SCM.poll(SCM.java:373) at hudson.model.AbstractProject._poll(AbstractProject.java:1523) at hudson.model.AbstractProject.poll(AbstractProject.java:1448) at hudson.triggers.SCMTrigger$Runner.runPolling(SCMTrigger.java:439) at hudson.triggers.SCMTrigger$Runner.run(SCMTrigger.java:468) at hudson.util.SequentialExecutionQueue$QueueEntry.run(SequentialExecutionQueue.java:118) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) at java.util.concurrent.FutureTask.run(FutureTask.java:166) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:722)