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

Jira plugin: NoSuchMethodError: hudson.plugins.jira.JiraBuildAction.<init>(Lhudson/model/Run;Ljava/util/Set;)

XMLWordPrintable

      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

            gmshake Zhenlei Huang
            juanpablo Juan Pablo Santos Rodríguez
            Votes:
            4 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved: