java.lang.NullPointerException

Jenkins JIRA | Michael Barzilovich | 1 year ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    [JIRA] [jira-plugin] (JENKINS-33446) JIRA plugin: NPE When Jira Release version parameter defined

    Google Groups | 1 year ago | mbarzi...@gmail.com (JIRA)
    java.lang.NullPointerException
  2. 0

    Steps to reproduce: Jenkins: 1.652 JiraPlugin: 2.2 Add JIRA Release Version Parametr Build. Actual result: {code} Started by user Mikhail Barzilovich [EnvInject] - Loading node environment variables. Building on master in workspace /var/lib/jenkins/workspace/Jira-verparam-test ERROR: Build step failed with exception java.lang.NullPointerException at hudson.plugins.jira.versionparameter.JiraVersionParameterValue.buildEnvironment(JiraVersionParameterValue.java:28) at hudson.model.ParametersAction.buildEnvVars(ParametersAction.java:89) at hudson.model.AbstractBuild.getEnvironment(AbstractBuild.java:950) at hudson.tasks.CommandInterpreter.perform(CommandInterpreter.java:88) at hudson.tasks.CommandInterpreter.perform(CommandInterpreter.java:64) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:782) at hudson.model.Build$BuildExecution.build(Build.java:205) at hudson.model.Build$BuildExecution.doRun(Build.java:162) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:534) at hudson.model.Run.execute(Run.java:1738) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:98) at hudson.model.Executor.run(Executor.java:410) Build step 'Execute shell' marked build as failure Finished: FAILURE {code} Expected result: Job starts executing build steps

    Jenkins JIRA | 1 year ago | Michael Barzilovich
    java.lang.NullPointerException
  3. 0

    Steps to reproduce: Jenkins: 1.652 JiraPlugin: 2.2 Add JIRA Release Version Parametr Build. Actual result: {code} Started by user Mikhail Barzilovich [EnvInject] - Loading node environment variables. Building on master in workspace /var/lib/jenkins/workspace/Jira-verparam-test ERROR: Build step failed with exception java.lang.NullPointerException at hudson.plugins.jira.versionparameter.JiraVersionParameterValue.buildEnvironment(JiraVersionParameterValue.java:28) at hudson.model.ParametersAction.buildEnvVars(ParametersAction.java:89) at hudson.model.AbstractBuild.getEnvironment(AbstractBuild.java:950) at hudson.tasks.CommandInterpreter.perform(CommandInterpreter.java:88) at hudson.tasks.CommandInterpreter.perform(CommandInterpreter.java:64) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:782) at hudson.model.Build$BuildExecution.build(Build.java:205) at hudson.model.Build$BuildExecution.doRun(Build.java:162) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:534) at hudson.model.Run.execute(Run.java:1738) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:98) at hudson.model.Executor.run(Executor.java:410) Build step 'Execute shell' marked build as failure Finished: FAILURE {code} Expected result: Job starts executing build steps

    Jenkins JIRA | 1 year ago | Michael Barzilovich
    java.lang.NullPointerException
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    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.NullPointerException

      No message provided

      at hudson.plugins.jira.versionparameter.JiraVersionParameterValue.buildEnvironment()
    2. Hudson JIRA plugin
      JiraVersionParameterValue.buildEnvironment
      1. hudson.plugins.jira.versionparameter.JiraVersionParameterValue.buildEnvironment(JiraVersionParameterValue.java:28)
      1 frame
    3. Hudson
      Executor.run
      1. hudson.model.ParametersAction.buildEnvVars(ParametersAction.java:89)
      2. hudson.model.AbstractBuild.getEnvironment(AbstractBuild.java:950)
      3. hudson.tasks.CommandInterpreter.perform(CommandInterpreter.java:88)
      4. hudson.tasks.CommandInterpreter.perform(CommandInterpreter.java:64)
      5. hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
      6. hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:782)
      7. hudson.model.Build$BuildExecution.build(Build.java:205)
      8. hudson.model.Build$BuildExecution.doRun(Build.java:162)
      9. hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:534)
      10. hudson.model.Run.execute(Run.java:1738)
      11. hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
      12. hudson.model.ResourceController.execute(ResourceController.java:98)
      13. hudson.model.Executor.run(Executor.java:410)
      13 frames