java.lang.NullPointerException

Jenkins JIRA | Bella N | 10 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    Jira plugin does not work inside promotion block (outside of it works fine) {code} FATAL: Unable to release jira version RELNOTE-5.0.0/RELNOTE: java.lang.NullPointerException java.lang.NullPointerException at hudson.plugins.jira.VersionReleaser.perform(VersionReleaser.java:33) at hudson.plugins.jira.JiraReleaseVersionUpdaterBuilder.perform(JiraReleaseVersionUpdaterBuilder.java:52) at hudson.plugins.promoted_builds.Promotion$RunnerImpl.build(Promotion.java:344) at hudson.plugins.promoted_builds.Promotion$RunnerImpl.doRun(Promotion.java:286) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:537) at hudson.model.Run.execute(Run.java:1741) at hudson.model.Run.run(Run.java:1679) at hudson.plugins.promoted_builds.Promotion.run(Promotion.java:231) at hudson.model.ResourceController.execute(ResourceController.java:98) at hudson.model.Executor.run(Executor.java:410)enter code here {code} In Jenkins log I see the following exception: {code} RunListener failed java.lang.UnsupportedOperationException at hudson.plugins.promoted_builds.PromotionProcess.isFingerprintConfigured(PromotionProcess.java:430) at org.jenkinsci.plugins.buildenvironment.data.ProjectData.initializeDataMap(ProjectData.java:55) at org.jenkinsci.plugins.buildenvironment.data.ProjectData.<init>(ProjectData.java:28) at org.jenkinsci.plugins.buildenvironment.actions.BuildEnvironmentBuildAction.addDataHolders(BuildEnvironmentBuildAction.java:537) at org.jenkinsci.plugins.buildenvironment.actions.BuildEnvironmentBuildAction.<init>(BuildEnvironmentBuildAction.java:102) at org.jenkinsci.plugins.buildenvironment.data.EnvironmentDataWriter.onCompleted(EnvironmentDataWriter.java:24) at org.jenkinsci.plugins.buildenvironment.data.EnvironmentDataWriter.onCompleted(EnvironmentDataWriter.java:16) at hudson.model.listeners.RunListener.fireCompleted(RunListener.java:201) at hudson.model.Run.execute(Run.java:1786) at hudson.model.Run.run(Run.java:1679) at hudson.plugins.promoted_builds.Promotion.run(Promotion.java:231) at hudson.model.ResourceController.execute(ResourceController.java:98) at hudson.model.Executor.run(Executor.java:410) {code} Jenkins version 1.635 promotion plugin 2.27 jira plugin is 2.0.3. Thanks in advance, Bella

    Jenkins JIRA | 10 months ago | Bella N
    java.lang.NullPointerException
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

      at hudson.plugins.jira.VersionReleaser.perform()
    2. Hudson JIRA plugin
      JiraReleaseVersionUpdaterBuilder.perform
      1. hudson.plugins.jira.VersionReleaser.perform(VersionReleaser.java:33)
      2. hudson.plugins.jira.JiraReleaseVersionUpdaterBuilder.perform(JiraReleaseVersionUpdaterBuilder.java:52)
      2 frames
    3. hudson.plugins.promoted_builds
      Promotion$RunnerImpl.doRun
      1. hudson.plugins.promoted_builds.Promotion$RunnerImpl.build(Promotion.java:344)
      2. hudson.plugins.promoted_builds.Promotion$RunnerImpl.doRun(Promotion.java:286)
      2 frames
    4. Hudson
      Run.run
      1. hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:537)
      2. hudson.model.Run.execute(Run.java:1741)
      3. hudson.model.Run.run(Run.java:1679)
      3 frames
    5. hudson.plugins.promoted_builds
      Promotion.run
      1. hudson.plugins.promoted_builds.Promotion.run(Promotion.java:231)
      1 frame
    6. Hudson
      ResourceController.execute
      1. hudson.model.ResourceController.execute(ResourceController.java:98)
      1 frame