java.lang.IllegalArgumentException: Node ec2-beefy-slave-406.vpc.cloudera.com seems to be offline

Jenkins JIRA | Andrew Bayer | 2 years ago
  1. 0

    We've been having a problem lately with some of our cloud slaves getting killed during the build - when this happens, email-ext/token-macro fails to actually transform any tokens, ending up with a useless email. Here's the stacktrace from the logs: {code} Jun 20, 2014 2:34:35 AM hudson.plugins.emailext.plugins.ContentBuilder transformText SEVERE: null java.lang.IllegalArgumentException: Node ec2-beefy-slave-406.vpc.cloudera.com seems to be offline at hudson.tools.ToolInstaller.preferredLocation(ToolInstaller.java:120) at hudson.tools.JDKInstaller.performInstallation(JDKInstaller.java:109) at hudson.tools.InstallerTranslator.getToolHome(InstallerTranslator.java:61) at hudson.tools.ToolLocationNodeProperty.getToolHome(ToolLocationNodeProperty.java:107) at hudson.tools.ToolInstallation.translateFor(ToolInstallation.java:204) at hudson.model.JDK.forNode(JDK.java:126) at hudson.model.AbstractProject.getEnvironment(AbstractProject.java:359) at hudson.model.Run.getEnvironment(Run.java:2173) at hudson.model.AbstractBuild.getEnvironment(AbstractBuild.java:914) at org.jenkinsci.plugins.tokenmacro.TokenMacro.expandAll(TokenMacro.java:229) at hudson.plugins.emailext.plugins.ContentBuilder.transformText(ContentBuilder.java:71) at hudson.plugins.emailext.ExtendedEmailPublisher.setSubject(ExtendedEmailPublisher.java:585) at hudson.plugins.emailext.ExtendedEmailPublisher.createMail(ExtendedEmailPublisher.java:473) at hudson.plugins.emailext.ExtendedEmailPublisher.sendMail(ExtendedEmailPublisher.java:290) at hudson.plugins.emailext.ExtendedEmailPublisher._perform(ExtendedEmailPublisher.java:281) at hudson.plugins.emailext.ExtendedEmailPublisher.perform(ExtendedEmailPublisher.java:233) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:785) at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:757) at hudson.model.Build$BuildExecution.cleanUp(Build.java:192) at hudson.model.Run.execute(Run.java:1710) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:246) {code}

    Jenkins JIRA | 2 years ago | Andrew Bayer
    java.lang.IllegalArgumentException: Node ec2-beefy-slave-406.vpc.cloudera.com seems to be offline
  2. 0

    We've been having a problem lately with some of our cloud slaves getting killed during the build - when this happens, email-ext/token-macro fails to actually transform any tokens, ending up with a useless email. Here's the stacktrace from the logs: {code} Jun 20, 2014 2:34:35 AM hudson.plugins.emailext.plugins.ContentBuilder transformText SEVERE: null java.lang.IllegalArgumentException: Node ec2-beefy-slave-406.vpc.cloudera.com seems to be offline at hudson.tools.ToolInstaller.preferredLocation(ToolInstaller.java:120) at hudson.tools.JDKInstaller.performInstallation(JDKInstaller.java:109) at hudson.tools.InstallerTranslator.getToolHome(InstallerTranslator.java:61) at hudson.tools.ToolLocationNodeProperty.getToolHome(ToolLocationNodeProperty.java:107) at hudson.tools.ToolInstallation.translateFor(ToolInstallation.java:204) at hudson.model.JDK.forNode(JDK.java:126) at hudson.model.AbstractProject.getEnvironment(AbstractProject.java:359) at hudson.model.Run.getEnvironment(Run.java:2173) at hudson.model.AbstractBuild.getEnvironment(AbstractBuild.java:914) at org.jenkinsci.plugins.tokenmacro.TokenMacro.expandAll(TokenMacro.java:229) at hudson.plugins.emailext.plugins.ContentBuilder.transformText(ContentBuilder.java:71) at hudson.plugins.emailext.ExtendedEmailPublisher.setSubject(ExtendedEmailPublisher.java:585) at hudson.plugins.emailext.ExtendedEmailPublisher.createMail(ExtendedEmailPublisher.java:473) at hudson.plugins.emailext.ExtendedEmailPublisher.sendMail(ExtendedEmailPublisher.java:290) at hudson.plugins.emailext.ExtendedEmailPublisher._perform(ExtendedEmailPublisher.java:281) at hudson.plugins.emailext.ExtendedEmailPublisher.perform(ExtendedEmailPublisher.java:233) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:785) at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:757) at hudson.model.Build$BuildExecution.cleanUp(Build.java:192) at hudson.model.Run.execute(Run.java:1710) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:246) {code}

    Jenkins JIRA | 2 years ago | Andrew Bayer
    java.lang.IllegalArgumentException: Node ec2-beefy-slave-406.vpc.cloudera.com seems to be offline
  3. 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
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    1.28 fails with NPEs

    GitHub | 1 year ago | arcivanov
    java.lang.IllegalArgumentException: Null value not allowed as an environment variable: ghprbAuthorRepoGitUrl
  6. 0

    Jenkins bails when gitlabDescription is null

    GitHub | 1 year ago | mattiasb
    java.lang.IllegalArgumentException: Null value not allowed as an environment variable: gitlabDescription

    1 unregistered visitors
    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

      Node ec2-beefy-slave-406.vpc.cloudera.com seems to be offline

      at hudson.tools.ToolInstaller.preferredLocation()
    2. Hudson
      AbstractBuild.getEnvironment
      1. hudson.tools.ToolInstaller.preferredLocation(ToolInstaller.java:120)
      2. hudson.tools.JDKInstaller.performInstallation(JDKInstaller.java:109)
      3. hudson.tools.InstallerTranslator.getToolHome(InstallerTranslator.java:61)
      4. hudson.tools.ToolLocationNodeProperty.getToolHome(ToolLocationNodeProperty.java:107)
      5. hudson.tools.ToolInstallation.translateFor(ToolInstallation.java:204)
      6. hudson.model.JDK.forNode(JDK.java:126)
      7. hudson.model.AbstractProject.getEnvironment(AbstractProject.java:359)
      8. hudson.model.Run.getEnvironment(Run.java:2173)
      9. hudson.model.AbstractBuild.getEnvironment(AbstractBuild.java:914)
      9 frames
    3. Token Macro Plugin
      TokenMacro.expandAll
      1. org.jenkinsci.plugins.tokenmacro.TokenMacro.expandAll(TokenMacro.java:229)
      1 frame
    4. Hudson Email Extension Plugin
      ExtendedEmailPublisher.perform
      1. hudson.plugins.emailext.plugins.ContentBuilder.transformText(ContentBuilder.java:71)
      2. hudson.plugins.emailext.ExtendedEmailPublisher.setSubject(ExtendedEmailPublisher.java:585)
      3. hudson.plugins.emailext.ExtendedEmailPublisher.createMail(ExtendedEmailPublisher.java:473)
      4. hudson.plugins.emailext.ExtendedEmailPublisher.sendMail(ExtendedEmailPublisher.java:290)
      5. hudson.plugins.emailext.ExtendedEmailPublisher._perform(ExtendedEmailPublisher.java:281)
      6. hudson.plugins.emailext.ExtendedEmailPublisher.perform(ExtendedEmailPublisher.java:233)
      6 frames
    5. Hudson
      Executor.run
      1. hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
      2. hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:785)
      3. hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:757)
      4. hudson.model.Build$BuildExecution.cleanUp(Build.java:192)
      5. hudson.model.Run.execute(Run.java:1710)
      6. hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
      7. hudson.model.ResourceController.execute(ResourceController.java:88)
      8. hudson.model.Executor.run(Executor.java:246)
      8 frames