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

Jenkins JIRA | Andreas Galek | 3 years ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    We updated the PTC Integrity Plugin from version 1.18 to version 1.20. Since then, when we start a build job retrieving project sources from MKS SI then the following error messages appears in Jenkins and the build job stops processing: >>> Started by user XYZ [EnvInject] - Loading node environment variables. Building on master in workspace d:\Data\Jenkins\jobs\myproject\workspace FATAL: Null value not allowed as an environment variable: MKSSI_HOST java.lang.IllegalArgumentException: Null value not allowed as an environment variable: MKSSI_HOST at hudson.EnvVars.put(EnvVars.java:172) at hudson.EnvVars.put(EnvVars.java:64) at hudson.scm.IntegritySCM.buildEnvVars(IntegritySCM.java:538) at hudson.model.AbstractBuild.getEnvironment(AbstractBuild.java:915) at hudson.scm.IntegritySCM.checkout(IntegritySCM.java:685) at hudson.model.AbstractProject.checkout(AbstractProject.java:1411) at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:652) at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:88) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:557) at hudson.model.Run.execute(Run.java:1665) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:230) <<< It's strange but as soon as we make any change in the configuration of the build job then the error disappears. But this method is not a solution when you have dozens of build jobs. Thank you in advance.

    Jenkins JIRA | 3 years ago | Andreas Galek
    java.lang.IllegalArgumentException: Null value not allowed as an environment variable: MKSSI_HOST
  2. 0

    We updated the PTC Integrity Plugin from version 1.18 to version 1.20. Since then, when we start a build job retrieving project sources from MKS SI then the following error messages appears in Jenkins and the build job stops processing: >>> Started by user XYZ [EnvInject] - Loading node environment variables. Building on master in workspace d:\Data\Jenkins\jobs\myproject\workspace FATAL: Null value not allowed as an environment variable: MKSSI_HOST java.lang.IllegalArgumentException: Null value not allowed as an environment variable: MKSSI_HOST at hudson.EnvVars.put(EnvVars.java:172) at hudson.EnvVars.put(EnvVars.java:64) at hudson.scm.IntegritySCM.buildEnvVars(IntegritySCM.java:538) at hudson.model.AbstractBuild.getEnvironment(AbstractBuild.java:915) at hudson.scm.IntegritySCM.checkout(IntegritySCM.java:685) at hudson.model.AbstractProject.checkout(AbstractProject.java:1411) at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:652) at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:88) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:557) at hudson.model.Run.execute(Run.java:1665) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:230) <<< It's strange but as soon as we make any change in the configuration of the build job then the error disappears. But this method is not a solution when you have dozens of build jobs. Thank you in advance.

    Jenkins JIRA | 3 years ago | Andreas Galek
    java.lang.IllegalArgumentException: Null value not allowed as an environment variable: MKSSI_HOST
  3. 0

    Allow empty value in uno-choice widgets

    GitHub | 2 years ago | bes3
    java.lang.IllegalArgumentException: Null value not allowed as an environment variable: MY_VARIABLE
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.IllegalArgumentException

      Null value not allowed as an environment variable: MKSSI_HOST

      at hudson.EnvVars.put()
    2. Hudson
      AbstractBuild$AbstractBuildExecution.defaultCheckout
      1. hudson.EnvVars.put(EnvVars.java:172)
      2. hudson.EnvVars.put(EnvVars.java:64)
      3. hudson.scm.IntegritySCM.buildEnvVars(IntegritySCM.java:538)
      4. hudson.model.AbstractBuild.getEnvironment(AbstractBuild.java:915)
      5. hudson.scm.IntegritySCM.checkout(IntegritySCM.java:685)
      6. hudson.model.AbstractProject.checkout(AbstractProject.java:1411)
      7. hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:652)
      7 frames
    3. jenkins.scm
      SCMCheckoutStrategy.checkout
      1. jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:88)
      1 frame
    4. Hudson
      Executor.run
      1. hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:557)
      2. hudson.model.Run.execute(Run.java:1665)
      3. hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
      4. hudson.model.ResourceController.execute(ResourceController.java:88)
      5. hudson.model.Executor.run(Executor.java:230)
      5 frames