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

JIRA plugin NosuchMethod Errorhudson.plugins.jira.JiraSite.getSession()Lhudson/plugins/jira/JiraSession;

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Critical Critical
    • jira-plugin
    • None
    • Jenkins ver. 2.204.6

      Jenkins JIRA PLugin : 3.1.0

      After updating the plugin version to 3.1.0 we started seeing this error. 

      When we retrigger the pipeline, this error is not coming, This error is happening on builds which get triggered by a commit on Git repository. 

      java.lang.NoSuchMethodError: hudson.plugins.jira.JiraSite.getSession()Lhudson/plugins/jira/JiraSession;
      at io.jenkins.blueocean.service.embedded.jira.JiraSCMListener.onChangeLogParsed(JiraSCMListener.java:47)
      at org.jenkinsci.plugins.workflow.job.WorkflowRun.onCheckout(WorkflowRun.java:865)
      at org.jenkinsci.plugins.workflow.job.WorkflowRun.access$1000(WorkflowRun.java:137)
      at org.jenkinsci.plugins.workflow.job.WorkflowRun$SCMListenerImpl.onCheckout(WorkflowRun.java:1157)
      at org.jenkinsci.plugins.workflow.steps.scm.SCMStep.checkout(SCMStep.java:150)
      at org.jenkinsci.plugins.workflow.steps.scm.SCMStep$StepExecutionImpl.run(SCMStep.java:93)
      at org.jenkinsci.plugins.workflow.steps.scm.SCMStep$StepExecutionImpl.run(SCMStep.java:80)
      at org.jenkinsci.plugins.workflow.steps.SynchronousNonBlockingStepExecution.lambda$start$0(SynchronousNonBlockingStepExecution.java:47)
      at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
      at java.util.concurrent.FutureTask.run(FutureTask.java:266)
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
      at java.lang.Thread.run(Thread.java:748)
      Finished: FAILURE

          [JENKINS-62703] JIRA plugin NosuchMethod Errorhudson.plugins.jira.JiraSite.getSession()Lhudson/plugins/jira/JiraSession;

          warden please check this

          vikas koppineedi added a comment - warden please check this

          Olivier Lamy added a comment -

          ah yes crap. the last changes breaks blue-ocean integration  

           

          Olivier Lamy added a comment - ah yes crap. the last changes breaks blue-ocean integration    

          Marc Jay added a comment -

          Also encountered this issue (also have Blue Ocean installed), rolling back fixed it. Let me know if you need any info from my install

          Marc Jay added a comment - Also encountered this issue (also have Blue Ocean installed), rolling back fixed it. Let me know if you need any info from my install

          Olivier Lamy added a comment -

          marcj thanks but that's ok the fix is ezy

          Olivier Lamy added a comment - marcj thanks but that's ok the fix is ezy

          Olivier Lamy added a comment -

          Olivier Lamy added a comment - fixed by  https://github.com/jenkinsci/jira-plugin/commit/608342e249c92dccadbe8142e88b82b0b9c7c310

          Olivier Lamy added a comment -

          3.1.1 has been released.

          Sorry for the issue.

          Olivier Lamy added a comment - 3.1.1 has been released. Sorry for the issue.

          Marc Jay added a comment -

          Many thanks for the quick fix!

          Marc Jay added a comment - Many thanks for the quick fix!

            olamy Olivier Lamy
            vikaskoppi vikas koppineedi
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: