java.lang.IllegalArgumentException: Environment variable 'ENDPOINTS_SERVICE_NAME' is not set

Stack Overflow | Bhargav Mehta | 2 months ago
  1. 0

    Google App Engine Endpoint using multi module maven application

    Stack Overflow | 2 months ago | Bhargav Mehta
    java.lang.IllegalArgumentException: Environment variable 'ENDPOINTS_SERVICE_NAME' is not set
  2. 0

    A user in a cloud setup in which there was one Maven installation defined, with no static installation directory but a plugin offering a location for cloud slaves, ran Subversion polling on a job and got this error: {code:none} 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:489) at hudson.maven.MavenModuleSetBuild.getEnvironment(MavenModuleSetBuild.java:172) 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:1521) at hudson.model.AbstractProject.poll(AbstractProject.java:1446) 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(Unknown Source) at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) {code}

    Jenkins JIRA | 3 years ago | Jesse Glick
    java.lang.IllegalArgumentException: Null value not allowed as an environment variable: M2_HOME
  3. 0

    When one uses Predefined Generator Parameters to trigger a parameterized build, this exception is raised where VARIABLE_NAME is the name of a defined Generator Parameter: 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 hudson.plugins.parameterizedtrigger.AbstractBuildParameters.getEnvironment(AbstractBuildParameters.java:47) 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)

    Jenkins JIRA | 3 years ago | Sylvain Benner
    java.lang.IllegalArgumentException: Null value not allowed as an environment variable: VARIABLE_NAME
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Jenkins fails on periodic build with Dynamic Choice Parameter Groovy script

    Stack Overflow | 2 years ago
    java.lang.IllegalArgumentException: Null value not allowed as an environment variable: Restore
  6. 0

    [JIRA] (JENKINS-38608) Null value not allowed as an environment variable: GIT_URL_2

    Google Groups | 2 months ago | kathleen...@aquilent.com (JIRA)
    java.lang.IllegalArgumentException: Null value not allowed as an environment variable: GIT_URL_2

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.IllegalArgumentException

      Environment variable 'ENDPOINTS_SERVICE_NAME' is not set

      at com.google.api.config.ServiceConfigSupplier.get()
    2. com.google.api
      ServiceConfigSupplier.get
      1. com.google.api.config.ServiceConfigSupplier.get(ServiceConfigSupplier.java:99)
      2. com.google.api.config.ServiceConfigSupplier.get(ServiceConfigSupplier.java:47)
      2 frames
    3. Guava
      Suppliers$ExpiringMemoizingSupplier.get
      1. com.google.common.base.Suppliers$ExpiringMemoizingSupplier.get(Suppliers.java:199)
      1 frame
    4. com.google.api
      ConfigFilter.init
      1. com.google.api.config.ServiceConfigFetcher.fetch(ServiceConfigFetcher.java:40)
      2. com.google.api.control.ServiceManagementConfigFilter$1.load(ServiceManagementConfigFilter.java:33)
      3. com.google.api.control.ConfigFilter.init(ConfigFilter.java:87)
      3 frames
    5. Jetty Server
      FilterHolder.doStart
      1. org.mortbay.jetty.servlet.FilterHolder.doStart(FilterHolder.java:97)
      1 frame
    6. Jetty Util
      AbstractLifeCycle.start
      1. org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
      1 frame
    7. Jetty Server
      WebAppContext.doStart
      1. org.mortbay.jetty.servlet.ServletHandler.initialize(ServletHandler.java:662)
      2. org.mortbay.jetty.servlet.Context.startContext(Context.java:140)
      3. org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1250)
      4. org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:517)
      5. org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:467)
      5 frames
    8. Jetty Util
      AbstractLifeCycle.start
      1. org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
      1 frame
    9. com.google.apphosting
      JettyServletEngineAdapter.serviceRequest
      1. com.google.apphosting.runtime.jetty.AppVersionHandlerMap.createHandler(AppVersionHandlerMap.java:206)
      2. com.google.apphosting.runtime.jetty.AppVersionHandlerMap.getHandler(AppVersionHandlerMap.java:179)
      3. com.google.apphosting.runtime.jetty.JettyServletEngineAdapter.serviceRequest(JettyServletEngineAdapter.java:136)
      3 frames
    10. appengine-managed-runtime
      JavaRuntime$RequestRunnable.run
      1. com.google.apphosting.runtime.JavaRuntime$RequestRunnable.run(JavaRuntime.java:504)
      1 frame
    11. Google tracing
      TraceContext$TraceContextRunnable.run
      1. com.google.tracing.TraceContext$TraceContextRunnable.runInContext(TraceContext.java:446)
      2. com.google.tracing.TraceContext$TraceContextRunnable$1.run(TraceContext.java:453)
      3. com.google.tracing.CurrentContext.runInContext(CurrentContext.java:276)
      4. com.google.tracing.TraceContext$AbstractTraceContextCallback.runInInheritedContextNoUnref(TraceContext.java:312)
      5. com.google.tracing.TraceContext$AbstractTraceContextCallback.runInInheritedContext(TraceContext.java:304)
      6. com.google.tracing.TraceContext$TraceContextRunnable.run(TraceContext.java:450)
      6 frames
    12. appengine-managed-runtime
      ThreadGroupPool$PoolEntry.run
      1. com.google.apphosting.runtime.ThreadGroupPool$PoolEntry.run(ThreadGroupPool.java:235)
      1 frame
    13. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:745)
      1 frame