java.lang.NoSuchMethodError: com.google.common.collect.ImmutableList.copyOf(Ljava/util/Collection;)Lcom/google/common/collect/ImmutableList;

Jenkins JIRA | tiainpa | 6 years ago
  1. 0

    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)

    Jenkins JIRA | 6 years ago | tiainpa
    java.lang.NoSuchMethodError: com.google.common.collect.ImmutableList.copyOf(Ljava/util/Collection;)Lcom/google/common/collect/ImmutableList;
  2. 0

    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)

    Jenkins JIRA | 6 years ago | tiainpa
    java.lang.NoSuchMethodError: com.google.common.collect.ImmutableList.copyOf(Ljava/util/Collection;)Lcom/google/common/collect/ImmutableList;
  3. 0

    java.lang.NoSuchMethodError: com.google.common.collect.ImmutableList.copyOf

    Google Groups | 3 years ago | Mukesh Joshi
    java.lang.NoSuchMethodError: com.google.common.collect.ImmutableList.copyOf(Ljava/util/Collection;)Lcom/google/common/collect/ImmutableList;
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    [google-appengine] java.lang.NoSuchMethodError: com.google.common.collect.ImmutableList.copyOf - Grokbase

    grokbase.com | 5 months ago
    java.lang.NoSuchMethodError: com.google.common.collect.ImmutableList.copyOf(Ljava/util/Collection;)Lcom/google/common/collect/ImmutableList;
  6. 0

    server cannot connect to mysql

    YouTrack | 3 years ago
    java.lang.NoSuchMethodError: com.google.common.collect.ImmutableList.copyOf(Ljava/util/Collection;)Lcom/google/common/collect/ImmutableList;

    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.google.common.collect.ImmutableList.copyOf(Ljava/util/Collection;)Lcom/google/common/collect/ImmutableList;

      at hudson.plugins.analysis.core.ParserResult.getErrorMessages()
    2. Static Analysis Utilities
      BuildResult.<init>
      1. hudson.plugins.analysis.core.ParserResult.getErrorMessages(ParserResult.java:290)
      2. hudson.plugins.analysis.core.BuildResult.initialize(BuildResult.java:240)
      3. hudson.plugins.analysis.core.BuildResult.<init>(BuildResult.java:206)
      3 frames
    3. hudson.plugins.tasks
      TasksPublisher.perform
      1. hudson.plugins.tasks.TasksResult.<init>(TasksResult.java:56)
      2. hudson.plugins.tasks.TasksPublisher.perform(TasksPublisher.java:201)
      2 frames
    4. Static Analysis Utilities
      HealthAwarePublisher.perform
      1. hudson.plugins.analysis.core.HealthAwarePublisher.perform(HealthAwarePublisher.java:280)
      1 frame
    5. Hudson
      Executor.run
      1. hudson.tasks.BuildStepMonitor$2.perform(BuildStepMonitor.java:27)
      2. hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:601)
      3. hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:580)
      4. hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:558)
      5. hudson.model.Build$RunnerImpl.post2(Build.java:158)
      6. hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:528)
      7. hudson.model.Run.run(Run.java:1276)
      8. hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
      9. hudson.model.ResourceController.execute(ResourceController.java:88)
      10. hudson.model.Executor.run(Executor.java:124)
      10 frames