java.lang.IllegalAccessError: tried to access method com.google.common.base.Stopwatch.<init>()V from class com.atlassian.bamboo.plugins.docker.PollingServiceImpl

Atlassian JIRA | Chris Knight | 1 year ago
  1. 0

    When using docker run, I configure to wait for the service. I always receive the following error {code} Error occurred while running Task 'Start es(3)' of type com.atlassian.bamboo.plugins.bamboo-docker-plugin:task.docker.cli. (java.lang.IllegalAccessError : tried to access method com.google.common.base.Stopwatch.<init>()V from class com.atlassian.bamboo.plugins.docker.PollingServiceImpl) {code} Here is the stack trace: {code} java.lang.IllegalAccessError: tried to access method com.google.common.base.Stopwatch.<init>()V from class com.atlassian.bamboo.plugins.docker.PollingServiceImpl at com.atlassian.bamboo.plugins.docker.PollingServiceImpl.waitUntilAvailable(PollingServiceImpl.java:24) at com.atlassian.bamboo.plugins.docker.service.RunService.execute(RunService.java:64) at com.atlassian.bamboo.plugins.docker.tasks.cli.DockerCliTask.execute(DockerCliTask.java:60) at com.atlassian.bamboo.task.TaskExecutorImpl.lambda$executeTasks$68(TaskExecutorImpl.java:273) at com.atlassian.bamboo.task.TaskExecutorImpl.executeTaskWithPrePostActions(TaskExecutorImpl.java:202) at com.atlassian.bamboo.task.TaskExecutorImpl.executeTasks(TaskExecutorImpl.java:273) at com.atlassian.bamboo.task.TaskExecutorImpl.execute(TaskExecutorImpl.java:108) at com.atlassian.bamboo.build.pipeline.tasks.ExecuteBuildTask.call(ExecuteBuildTask.java:75) at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent.build(DefaultBuildAgent.java:196) at com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl$1.call(BuildAgentControllerImpl.java:132) at com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl$1.call(BuildAgentControllerImpl.java:123) at com.atlassian.bamboo.variable.CustomVariableContextImpl.withVariableSubstitutor(CustomVariableContextImpl.java:215) at com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl.waitAndPerformBuild(BuildAgentControllerImpl.java:122) at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent$1.run(DefaultBuildAgent.java:118) at com.atlassian.bamboo.utils.BambooRunnables$1.run(BambooRunnables.java:49) at com.atlassian.bamboo.security.ImpersonationHelper.runWith(ImpersonationHelper.java:31) at com.atlassian.bamboo.security.ImpersonationHelper.runWithSystemAuthority(ImpersonationHelper.java:20) at com.atlassian.bamboo.security.ImpersonationHelper$1.run(ImpersonationHelper.java:52) at java.lang.Thread.run(Thread.java:745) {code}

    Atlassian JIRA | 1 year ago | Chris Knight
    java.lang.IllegalAccessError: tried to access method com.google.common.base.Stopwatch.<init>()V from class com.atlassian.bamboo.plugins.docker.PollingServiceImpl
  2. 0

    When using docker run, I configure to wait for the service. I always receive the following error {code} Error occurred while running Task 'Start es(3)' of type com.atlassian.bamboo.plugins.bamboo-docker-plugin:task.docker.cli. (java.lang.IllegalAccessError : tried to access method com.google.common.base.Stopwatch.<init>()V from class com.atlassian.bamboo.plugins.docker.PollingServiceImpl) {code} Here is the stack trace: {code} java.lang.IllegalAccessError: tried to access method com.google.common.base.Stopwatch.<init>()V from class com.atlassian.bamboo.plugins.docker.PollingServiceImpl at com.atlassian.bamboo.plugins.docker.PollingServiceImpl.waitUntilAvailable(PollingServiceImpl.java:24) at com.atlassian.bamboo.plugins.docker.service.RunService.execute(RunService.java:64) at com.atlassian.bamboo.plugins.docker.tasks.cli.DockerCliTask.execute(DockerCliTask.java:60) at com.atlassian.bamboo.task.TaskExecutorImpl.lambda$executeTasks$68(TaskExecutorImpl.java:273) at com.atlassian.bamboo.task.TaskExecutorImpl.executeTaskWithPrePostActions(TaskExecutorImpl.java:202) at com.atlassian.bamboo.task.TaskExecutorImpl.executeTasks(TaskExecutorImpl.java:273) at com.atlassian.bamboo.task.TaskExecutorImpl.execute(TaskExecutorImpl.java:108) at com.atlassian.bamboo.build.pipeline.tasks.ExecuteBuildTask.call(ExecuteBuildTask.java:75) at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent.build(DefaultBuildAgent.java:196) at com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl$1.call(BuildAgentControllerImpl.java:132) at com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl$1.call(BuildAgentControllerImpl.java:123) at com.atlassian.bamboo.variable.CustomVariableContextImpl.withVariableSubstitutor(CustomVariableContextImpl.java:215) at com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl.waitAndPerformBuild(BuildAgentControllerImpl.java:122) at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent$1.run(DefaultBuildAgent.java:118) at com.atlassian.bamboo.utils.BambooRunnables$1.run(BambooRunnables.java:49) at com.atlassian.bamboo.security.ImpersonationHelper.runWith(ImpersonationHelper.java:31) at com.atlassian.bamboo.security.ImpersonationHelper.runWithSystemAuthority(ImpersonationHelper.java:20) at com.atlassian.bamboo.security.ImpersonationHelper$1.run(ImpersonationHelper.java:52) at java.lang.Thread.run(Thread.java:745) {code}

    Atlassian JIRA | 1 year ago | Chris Knight
    java.lang.IllegalAccessError: tried to access method com.google.common.base.Stopwatch.<init>()V from class com.atlassian.bamboo.plugins.docker.PollingServiceImpl
  3. 0

    Dependency conflict in integrating with Cloudera Hbase 1.0.0

    Stack Overflow | 1 year ago | Lesley Cheung
    java.lang.IllegalAccessError: tried to access method com.google.common.base.Stopwatch.<init>()V from class org.apache.hadoop.hbase.zookeeper.MetaTableLocator
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    StorageHBase fails to create tables due to guava incompatibility

    GitHub | 8 months ago | ligadata-william
    org.apache.hadoop.hbase.DoNotRetryIOException: java.lang.IllegalAccessError: tried to access method com.google.common.base.Stopwatch.<init>()V from class org.apache.hadoop.hbase.zookeeper.MetaTableLocator
  6. 0

    GitHub comment 53#58437842

    GitHub | 2 years ago | omayevskiy
    java.lang.IllegalAccessError: tried to access method com.google.common.base.Stopwatch.<init>()V from class org.intellij.sonar.analysis.RunLocalAnalysisScriptTask

    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.IllegalAccessError

      tried to access method com.google.common.base.Stopwatch.<init>()V from class com.atlassian.bamboo.plugins.docker.PollingServiceImpl

      at com.atlassian.bamboo.plugins.docker.PollingServiceImpl.waitUntilAvailable()
    2. com.atlassian.bamboo
      ImpersonationHelper$1.run
      1. com.atlassian.bamboo.plugins.docker.PollingServiceImpl.waitUntilAvailable(PollingServiceImpl.java:24)
      2. com.atlassian.bamboo.plugins.docker.service.RunService.execute(RunService.java:64)
      3. com.atlassian.bamboo.plugins.docker.tasks.cli.DockerCliTask.execute(DockerCliTask.java:60)
      4. com.atlassian.bamboo.task.TaskExecutorImpl.lambda$executeTasks$68(TaskExecutorImpl.java:273)
      5. com.atlassian.bamboo.task.TaskExecutorImpl.executeTaskWithPrePostActions(TaskExecutorImpl.java:202)
      6. com.atlassian.bamboo.task.TaskExecutorImpl.executeTasks(TaskExecutorImpl.java:273)
      7. com.atlassian.bamboo.task.TaskExecutorImpl.execute(TaskExecutorImpl.java:108)
      8. com.atlassian.bamboo.build.pipeline.tasks.ExecuteBuildTask.call(ExecuteBuildTask.java:75)
      9. com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent.build(DefaultBuildAgent.java:196)
      10. com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl$1.call(BuildAgentControllerImpl.java:132)
      11. com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl$1.call(BuildAgentControllerImpl.java:123)
      12. com.atlassian.bamboo.variable.CustomVariableContextImpl.withVariableSubstitutor(CustomVariableContextImpl.java:215)
      13. com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl.waitAndPerformBuild(BuildAgentControllerImpl.java:122)
      14. com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent$1.run(DefaultBuildAgent.java:118)
      15. com.atlassian.bamboo.utils.BambooRunnables$1.run(BambooRunnables.java:49)
      16. com.atlassian.bamboo.security.ImpersonationHelper.runWith(ImpersonationHelper.java:31)
      17. com.atlassian.bamboo.security.ImpersonationHelper.runWithSystemAuthority(ImpersonationHelper.java:20)
      18. com.atlassian.bamboo.security.ImpersonationHelper$1.run(ImpersonationHelper.java:52)
      18 frames
    3. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:745)
      1 frame