java.lang.NoSuchMethodError

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • Updated Task Scanner Plug-in to version 4.12 and Static Analysis Utilities to version 1.15. After this there were some errors in our metrics job in Hudson (none of the graphs worked), so I cleared the workspace and build the job again. After this the Task Scanner fails with the following message: [TASKS] Scanning workspace files for tasks... FATAL: com.google.common.collect.ImmutableList.copyOf(Ljava/util/Collection;)Lcom/google/common/collect/ImmutableList; java.lang.NoSuchMethodError: com.google.common.collect.ImmutableList.copyOf(Ljava/util/Collection;)Lcom/google/common/collect/ImmutableList; at hudson.plugins.analysis.core.ParserResult.getErrorMessages(ParserResult.java:290) at hudson.plugins.analysis.core.BuildResult.initialize(BuildResult.java:240) at hudson.plugins.analysis.core.BuildResult.<init>(BuildResult.java:206) at hudson.plugins.tasks.TasksResult.<init>(TasksResult.java:56) at hudson.plugins.tasks.TasksPublisher.perform(TasksPublisher.java:201) at hudson.plugins.analysis.core.HealthAwarePublisher.perform(HealthAwarePublisher.java:280) at hudson.tasks.BuildStepMonitor$2.perform(BuildStepMonitor.java:27) at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:601) at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:580) at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:558) at hudson.model.Build$RunnerImpl.post2(Build.java:158) at hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:528) at hudson.model.Run.run(Run.java:1276) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:124)
    via by tiainpa,
  • Updated Task Scanner Plug-in to version 4.12 and Static Analysis Utilities to version 1.15. After this there were some errors in our metrics job in Hudson (none of the graphs worked), so I cleared the workspace and build the job again. After this the Task Scanner fails with the following message: [TASKS] Scanning workspace files for tasks... FATAL: com.google.common.collect.ImmutableList.copyOf(Ljava/util/Collection;)Lcom/google/common/collect/ImmutableList; java.lang.NoSuchMethodError: com.google.common.collect.ImmutableList.copyOf(Ljava/util/Collection;)Lcom/google/common/collect/ImmutableList; at hudson.plugins.analysis.core.ParserResult.getErrorMessages(ParserResult.java:290) at hudson.plugins.analysis.core.BuildResult.initialize(BuildResult.java:240) at hudson.plugins.analysis.core.BuildResult.<init>(BuildResult.java:206) at hudson.plugins.tasks.TasksResult.<init>(TasksResult.java:56) at hudson.plugins.tasks.TasksPublisher.perform(TasksPublisher.java:201) at hudson.plugins.analysis.core.HealthAwarePublisher.perform(HealthAwarePublisher.java:280) at hudson.tasks.BuildStepMonitor$2.perform(BuildStepMonitor.java:27) at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:601) at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:580) at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:558) at hudson.model.Build$RunnerImpl.post2(Build.java:158) at hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:528) at hudson.model.Run.run(Run.java:1276) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:124)
    via by tiainpa,
    • java.lang.NoSuchMethodError: com.google.common.collect.ImmutableList.copyOf(Ljava/util/Collection;)Lcom/google/common/collect/ImmutableList; at hudson.plugins.analysis.core.ParserResult.getErrorMessages(ParserResult.java:290) at hudson.plugins.analysis.core.BuildResult.initialize(BuildResult.java:240) at hudson.plugins.analysis.core.BuildResult.<init>(BuildResult.java:206) at hudson.plugins.tasks.TasksResult.<init>(TasksResult.java:56) at hudson.plugins.tasks.TasksPublisher.perform(TasksPublisher.java:201) at hudson.plugins.analysis.core.HealthAwarePublisher.perform(HealthAwarePublisher.java:280) at hudson.tasks.BuildStepMonitor$2.perform(BuildStepMonitor.java:27) at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:601) at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:580) at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:558) at hudson.model.Build$RunnerImpl.post2(Build.java:158) at hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:528) at hudson.model.Run.run(Run.java:1276) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:124)
    No Bugmate found.