java.lang.IllegalAccessError: tried to access class com.google.common.cache.LongAdder from class com.google.common.cache.LongAdderBuilder$LongAdderWrapper

DataStax JIRA | Piotr Kołaczkowski | 2 years ago
  1. 0

    Spark - Cassandra Integration

    Stack Overflow | 2 years ago | Kavya
    java.lang.IllegalAccessError: tried to access class com.google.common.cache.LongAdder from class com.google.common.cache.LongAdderBuilder$LongAdderWrapper
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  3. 0
    Update Mockito to newest version.
  4. 0

    IllegalAccessError passing object with RMI

    Oracle Community | 8 years ago | 843793
    java.lang.IllegalAccessError: tried to access TestSerial from class $Proxy0

    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 class com.google.common.cache.LongAdder from class com.google.common.cache.LongAdderBuilder$LongAdderWrapper

      at com.google.common.cache.LongAdderBuilder$LongAdderWrapper.<init>()
    2. Guava
      LongAdderBuilder$LongAdderWrapper.<init>
      1. com.google.common.cache.LongAdderBuilder$LongAdderWrapper.<init>(LongAdderBuilder.scala:8)
      1 frame
    3. com.datastax.spark
      OutputMetricsUpdater$TaskMetricsUpdater.<init>
      1. com.datastax.spark.connector.metrics.OutputMetricsUpdater$TaskMetricsSupport$class.$init$(OutputMetricsUpdater.scala:104)
      2. com.datastax.spark.connector.metrics.OutputMetricsUpdater$TaskMetricsUpdater.<init>(OutputMetricsUpdater.scala:143)
      2 frames