![]() |
|
|
|
|
Change By:
|
Mark Leith
(26/Mar/15 11:39 AM)
|
|
Description:
|
After upgrade to version 1.10, jobs that ran fine before now fail with this NPE:
{code} 11:47:01 FATAL: null 11:47:01 java.lang.NullPointerException 11:47:01 at info.bluefloyd.jenkins.IssueUpdatesBuilder.updateIssueField(IssueUpdatesBuilder.java:355) 11:47:01 at info.bluefloyd.jenkins.IssueUpdatesBuilder.perform(IssueUpdatesBuilder.java:225) 11:47:01 at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20) 11:47:01 at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:770) 11:47:01 at hudson.model.Build$BuildExecution.build(Build.java:199) 11:47:01 at hudson.model.Build$BuildExecution.doRun(Build.java:160) 11:47:01 at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:533) 11:47:01 at hudson.model.Run.execute(Run.java:1740) 11:47:01 at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) 11:47:01 at hudson.model.ResourceController.execute(ResourceController.java:89) 11:47:01 at hudson.model.Executor.run(Executor.java:240) {code}
Looks like this commit doesn't check whether a custom field id is not null, before trying to use it:
https://github.com/jenkinsci/jira-issue-updater-plugin/commit/a9bfbc844964eac69182ff6549b09d376a494a03
Specifically here:
https://github.com/jenkinsci/jira-issue-updater-plugin/blob/master/src/main/java/info/bluefloyd/jenkins/IssueUpdatesBuilder.java#L355
|
|
|
|
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira
|
--
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
[email protected].
For more options, visit
https://groups.google.com/d/optout.