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

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

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Critical
    • Resolution: Fixed
    • Component/s: jira-plugin
    • Labels:
      None
    • Environment:
      Jenkins ver. 2.204.6

      Jenkins JIRA PLugin : 3.1.0
    • Similar Issues:

      Description

      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

        Attachments

          Activity

          Hide
          vikaskoppi vikas koppineedi added a comment -

          Radek Antoniuk please check this

          Show
          vikaskoppi vikas koppineedi added a comment - Radek Antoniuk please check this
          Hide
          olamy Olivier Lamy added a comment -

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

           

          Show
          olamy Olivier Lamy added a comment - ah yes crap. the last changes breaks blue-ocean integration    
          Hide
          marcj 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

          Show
          marcj 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
          Hide
          olamy Olivier Lamy added a comment -

          Marc Jay thanks but that's ok the fix is ezy

          Show
          olamy Olivier Lamy added a comment - Marc Jay thanks but that's ok the fix is ezy
          Show
          olamy Olivier Lamy added a comment - fixed by  https://github.com/jenkinsci/jira-plugin/commit/608342e249c92dccadbe8142e88b82b0b9c7c310
          Hide
          olamy Olivier Lamy added a comment -

          3.1.1 has been released.

          Sorry for the issue.

          Show
          olamy Olivier Lamy added a comment - 3.1.1 has been released. Sorry for the issue.
          Hide
          marcj Marc Jay added a comment -

          Many thanks for the quick fix!

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

            People

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

              Dates

              Created:
              Updated:
              Resolved: