-
Bug
-
Resolution: Fixed
-
Major
After upgrading jira-steps-plugin to 1.6.0 (also using latest blue ocean), the following exception occurs when using a jira step inside a workflow:
java.lang.NoSuchMethodError: hudson.plugins.jira.JiraBuildAction.<init>(Lhudson/model/Run;Ljava/util/Set;)V 17:28:43 at io.jenkins.blueocean.service.embedded.jira.JiraSCMListener.onChangeLogParsed(JiraSCMListener.java:64) 17:28:43 at org.jenkinsci.plugins.workflow.job.WorkflowRun.onCheckout(WorkflowRun.java:876) 17:28:43 at org.jenkinsci.plugins.workflow.job.WorkflowRun.access$1000(WorkflowRun.java:137) 17:28:43 at org.jenkinsci.plugins.workflow.job.WorkflowRun$SCMListenerImpl.onCheckout(WorkflowRun.java:1168) 17:28:43 at org.jenkinsci.plugins.workflow.steps.scm.SCMStep.checkout(SCMStep.java:150) 17:28:43 at org.jenkinsci.plugins.workflow.steps.scm.SCMStep$StepExecutionImpl.run(SCMStep.java:93) 17:28:43 at org.jenkinsci.plugins.workflow.steps.scm.SCMStep$StepExecutionImpl.run(SCMStep.java:80) 17:28:43 at org.jenkinsci.plugins.workflow.steps.SynchronousNonBlockingStepExecution.lambda$start$0(SynchronousNonBlockingStepExecution.java:47) 17:28:43 at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) 17:28:43 at java.util.concurrent.FutureTask.run(FutureTask.java:266) 17:28:43 at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) 17:28:43 at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) 17:28:43 at java.lang.Thread.run(Thread.java:748)
rolling back jira-steps-plugin to 1.5.5 seems to fix the issue
- links to
[JENKINS-64148] Jira plugin: NoSuchMethodError: hudson.plugins.jira.JiraBuildAction.<init>(Lhudson/model/Run;Ljava/util/Set;)
Component/s | New: jira-plugin [ 15515 ] | |
Component/s | Original: jira-steps-plugin [ 21974 ] | |
Assignee | Original: Naresh Rayapati [ nrayapati ] | |
Summary | Original: Jira steps plugin: NoSuchMethodError: hudson.plugins.jira.JiraBuildAction.<init>(Lhudson/model/Run;Ljava/util/Set;) | New: Jira plugin: NoSuchMethodError: hudson.plugins.jira.JiraBuildAction.<init>(Lhudson/model/Run;Ljava/util/Set;) |
Remote Link | New: This issue links to "PR-299 (Web Link)" [ 26220 ] |
Component/s | New: blueocean-plugin [ 21481 ] |
Resolution | New: Fixed [ 1 ] | |
Status | Original: Open [ 1 ] | New: Fixed but Unreleased [ 10203 ] |
Assignee | New: Zhenlei Huang [ gmshake ] |
We have builds failing with the same error message but we do not have the jira-steps plugin installed.
We have the "jira" (v. 3.1.2) and the "jira-blueocean" (v. 1.24.32 plugin installed though. Our jenkins version is 2.264
When I retrigger a job that failed with this issue, all restarted builds succeeded so far.(wrong)Update: Downgrading the Jira plugin to version 3.1.1 seem to have solved the issue.
It might have been introduced with https://github.com/jenkinsci/jira-plugin/pull/283