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

JIRA plugin version 2.4.2 cannot update JIRA issues

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • jira-plugin
    • None
    • Jenkins 2.60.1
      JIRA plugin 2.4.2
      JIRA v1001.0.0-SNAPSHOT

      After upgrading from JIRA plugin version 2.3.1 to 2.4.2 we get the following error when trying to update JIRA issues:

      09:12:51 ERROR: Step ‘JIRA: Update relevant issues’ aborted due to exception: 
      09:12:51 java.lang.ClassNotFoundException: com.atlassian.fugue.Effect
      09:12:51 	at jenkins.util.AntClassLoader.findClassInComponents(AntClassLoader.java:1374)
      09:12:51 	at jenkins.util.AntClassLoader.findClass(AntClassLoader.java:1327)
      09:12:51 	at jenkins.util.AntClassLoader.loadClass(AntClassLoader.java:1080)
      09:12:51 	at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
      09:12:51 Caused: java.lang.NoClassDefFoundError: com/atlassian/fugue/Effect
      09:12:51 	at com.atlassian.httpclient.apache.httpcomponents.DefaultHttpClientFactory.doCreate(DefaultHttpClientFactory.java:68)
      09:12:51 	at com.atlassian.httpclient.apache.httpcomponents.DefaultHttpClientFactory.create(DefaultHttpClientFactory.java:35)
      09:12:51 	at com.atlassian.jira.rest.client.internal.async.AsynchronousHttpClientFactory.createClient(AsynchronousHttpClientFactory.java:63)
      09:12:51 	at com.atlassian.jira.rest.client.internal.async.AsynchronousJiraRestClientFactory.create(AsynchronousJiraRestClientFactory.java:35)
      09:12:51 	at com.atlassian.jira.rest.client.internal.async.AsynchronousJiraRestClientFactory.createWithBasicHttpAuthentication(AsynchronousJiraRestClientFactory.java:42)
      09:12:51 	at hudson.plugins.jira.JiraSite.createSession(JiraSite.java:280)
      09:12:51 	at hudson.plugins.jira.JiraSite.getSession(JiraSite.java:255)
      09:12:51 	at hudson.plugins.jira.Updater.perform(Updater.java:95)
      09:12:51 	at hudson.plugins.jira.JiraIssueUpdater.perform(JiraIssueUpdater.java:64)
      09:12:51 	at hudson.tasks.BuildStepCompatibilityLayer.perform(BuildStepCompatibilityLayer.java:81)
      09:12:51 	at hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:45)
      09:12:51 	at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:735)
      09:12:51 	at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:676)
      09:12:51 	at hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.post2(MavenModuleSetBuild.java:1072)
      09:12:51 	at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:621)
      09:12:51 	at hudson.model.Run.execute(Run.java:1760)
      09:12:51 	at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:542)
      09:12:51 	at hudson.model.ResourceController.execute(ResourceController.java:97)
      09:12:51 	at hudson.model.Executor.run(Executor.java:405)
      

      Downgrading to 2.3.1 solves the issue.

      Upgrading Jenkins to version 2.60.2 also solves the issue.

            Unassigned Unassigned
            kskovbo Katrine Skovbo
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: