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

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-ci.org by Unknown author, 1 year ago
via jenkins-ci.org by Unknown author, 1 year ago
via perforce.com by Unknown author, 1 year ago
Null value not allowed as an environment variable: P4_TICKET
via Stack Overflow by bmargulies
, 2 years ago
Null value not allowed as an environment variable: M2_HOME
java.lang.IllegalArgumentException: Null value not allowed as an environment variable: POM_PACKAGING
at hudson.EnvVars.put(EnvVars.java:356)
at hudson.maven.MavenModuleSetBuild.getEnvironment(MavenModuleSetBuild.java:194)
at hudson.scm.SubversionSCM.compareRemoteRevisionWith(SubversionSCM.java:1235)
at hudson.scm.SCM._compareRemoteRevisionWith(SCM.java:356)
at hudson.scm.SCM.poll(SCM.java:373)
at hudson.model.AbstractProject._poll(AbstractProject.java:1584)
at hudson.model.AbstractProject.poll(AbstractProject.java:1493)
at hudson.triggers.SCMTrigger$Runner.runPolling(SCMTrigger.java:456)
at hudson.triggers.SCMTrigger$Runner.run(SCMTrigger.java:485)
at hudson.util.SequentialExecutionQueue$QueueEntry.run(SequentialExecutionQueue.java:118)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:619)

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.