java.lang.NoSuchMethodError: com.taskadapter.redmineapi.RedmineManager.getTransport()Lcom/taskadapter/redmineapi/internal/Transport;

Jenkins JIRA | Alex Muthmann | 2 years ago
  1. 0

    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. {code} 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) {code}

    Jenkins JIRA | 2 years ago | Alex Muthmann
    java.lang.NoSuchMethodError: com.taskadapter.redmineapi.RedmineManager.getTransport()Lcom/taskadapter/redmineapi/internal/Transport;
  2. 0

    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. {code} 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) {code}

    Jenkins JIRA | 2 years ago | Alex Muthmann
    java.lang.NoSuchMethodError: com.taskadapter.redmineapi.RedmineManager.getTransport()Lcom/taskadapter/redmineapi/internal/Transport;
  3. 0

    Spring Boot 1.4.0 Dependency Issue

    GitHub | 3 months ago | ptimsonbbc
    java.lang.NoSuchMethodError: com.google.gson.internal.bind.ReflectiveTypeAdapterFactory.<init>(Lcom/google/gson/internal/ConstructorConstructor;Lcom/google/gson/FieldNamingStrategy;Lcom/google/gson/internal/Excluder;)V
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    New 1.9 packaging results in dependency/NoSuchMethod errors

    GitHub | 2 years ago | stephenh
    java.lang.NoSuchMethodError: com.amazonaws.http.ExecutionContext.setAuthErrorRetryStrategy(Lcom/amazonaws/retry/internal/AuthErrorRetryStrategy;)V
  6. 0

    Synchronization problems with hazelcast master branch

    GitHub | 7 months ago | daisuke-yoshimoto
    java.lang.NoSuchMethodError: com.hazelcast.spi.impl.SerializationServiceSupport.getSerializationService()Lcom/hazelcast/internal/serialization/SerializationService;

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.NoSuchMethodError

      com.taskadapter.redmineapi.RedmineManager.getTransport()Lcom/taskadapter/redmineapi/internal/Transport;

      at hudson.plugins.redmine.RedmineMetricsCalculator.calc()
    2. hudson.plugins.redmine
      RedmineMetricsPublisher.perform
      1. hudson.plugins.redmine.RedmineMetricsCalculator.calc(RedmineMetricsCalculator.java:43)
      2. hudson.plugins.redmine.RedmineMetricsPublisher.perform(RedmineMetricsPublisher.java:54)
      2 frames
    3. Hudson
      Executor.run
      1. hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
      2. hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:772)
      3. hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:736)
      4. hudson.model.Build$BuildExecution.post2(Build.java:183)
      5. hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:685)
      6. hudson.model.Run.execute(Run.java:1757)
      7. hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
      8. hudson.model.ResourceController.execute(ResourceController.java:88)
      9. hudson.model.Executor.run(Executor.java:234)
      9 frames