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

java.lang.NoSuchMethodError: com.taskadapter.redmineapi.RedmineManager.getTransport()

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Blocker Blocker
    • redmine-plugin
    • None
    • Debian with Oracle JDK 7 and and org.jenkins-ci.main:jenkins-war:1.568

      If you try to use the redmine-plugin with an https redmine server, RedmineMetricsCalculator throws an exception in line 43. This can be reproduced if you try to build the redmine-plugin with a current jenkins as parent project.

      I assume the reason is the usage of the old deprecated org.apache.commons.httpclient library.

      Please find a patch to solve this problem (and JENKINS-18110) attached.

      java.lang.NoSuchMethodError: com.taskadapter.redmineapi.RedmineManager.getTransport()Lcom/taskadapter/redmineapi/internal/Transport;
      	at hudson.plugins.redmine.RedmineMetricsCalculator.calc(RedmineMetricsCalculator.java:43)
      	at hudson.plugins.redmine.RedmineMetricsPublisher.perform(RedmineMetricsPublisher.java:54)
      	at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
      	at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:772)
      	at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:736)
      	at hudson.model.Build$BuildExecution.post2(Build.java:183)
      	at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:685)
      	at hudson.model.Run.execute(Run.java:1757)
      	at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
      	at hudson.model.ResourceController.execute(ResourceController.java:88)
      	at hudson.model.Executor.run(Executor.java:234)
      

            ljader Łukasz Jąder
            deveth0 Alex Muthmann
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: