Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-33859

NPE when well-formed Jira Issue doesn't exist

    XMLWordPrintable

Details

    Description

      A NPE is raised when a well-formed jira issue key doen't exist:

      Error updating JIRA issues. Saving issues for next build.
      java.lang.NullPointerException
      	at hudson.plugins.jira.JiraIssue.<init>(JiraIssue.java:31)
      	at hudson.plugins.jira.Updater.getJiraIssues(Updater.java:208)
      	at hudson.plugins.jira.Updater.perform(Updater.java:114)
      	at hudson.plugins.jira.JiraIssueUpdater.perform(JiraIssueUpdater.java:64)
      	at hudson.tasks.BuildStepCompatibilityLayer.perform(BuildStepCompatibilityLayer.java:78)
      	at hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:45)
      	at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:782)
      	at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:723)
      	at hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.post2(MavenModuleSetBuild.java:1047)
      	at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:668)
      	at hudson.model.Run.execute(Run.java:1763)
      	at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:531)
      	at hudson.model.ResourceController.execute(ResourceController.java:98)
      	at hudson.model.Executor.run(Executor.java:410)
      

      Attachments

        Issue Links

          Activity

            alobato Alvaro Lobato created issue -
            alobato Alvaro Lobato made changes -
            Field Original Value New Value
            Assignee Alvaro Lobato [ alobato ]
            alobato Alvaro Lobato made changes -
            Remote Link This issue links to "PR (Web Link)" [ 14130 ]
            alobato Alvaro Lobato made changes -
            Status Open [ 1 ] In Progress [ 3 ]
            warden Radek Antoniuk made changes -
            Labels jira-2.2.2
            warden Radek Antoniuk made changes -
            Resolution Fixed [ 1 ]
            Status In Progress [ 3 ] Resolved [ 5 ]
            warden Radek Antoniuk made changes -
            Labels jira-2.2.2 jira-plugin-2.3
            rtyler R. Tyler Croy made changes -
            Workflow JNJira [ 169857 ] JNJira + In-Review [ 198714 ]
            warden Radek Antoniuk made changes -
            Status Resolved [ 5 ] Closed [ 6 ]

            People

              alobato Alvaro Lobato
              alobato Alvaro Lobato
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: