Skip to content

Conversation

copybara-service[bot]
Copy link

Pin Guava to version 33.0.0 specified in MODULE.bazel.

Fixes #4658

Typically, this shouldn't be an issue because we declared Guava 33.3.1 in Dagger's pom file, which should force downstream users to get the upgraded dependency. However, a bug in Gradle (https://youtrack.jetbrains.com/issue/KT-76388) is currently pulling in Guava 32.1.2 onto the ClassLoader first resulting in the following error:

java.lang.NoSuchMethodError: 'com.google.common.collect.ImmutableSet com.google.common.graph.Graphs.reachableNodes(com.google.common.graph.Graph, java.lang.Object)'

RELNOTES=Fixes #4658: Pin version of Guava to the one specified in our maven.install (i.e. v33.0.0).

Fixes #4658

Typically, this shouldn't be an issue because we declared Guava 33.3.1 in [Dagger's pom file](https://repo1.maven.org/maven2/com/google/dagger/dagger-compiler/2.56.1/dagger-compiler-2.56.1.pom), which should force downstream users to get the upgraded dependency. However, a bug in Gradle (https://youtrack.jetbrains.com/issue/KT-76388) is currently pulling in Guava 32.1.2 onto the ClassLoader first resulting in the following error:

```
java.lang.NoSuchMethodError: 'com.google.common.collect.ImmutableSet com.google.common.graph.Graphs.reachableNodes(com.google.common.graph.Graph, java.lang.Object)'
```

RELNOTES=Fixes #4658: Pin version of Guava to the one specified in our maven.install (i.e. v33.0.0).
PiperOrigin-RevId: 746529208
@copybara-service copybara-service bot merged commit 9fc3df4 into master Apr 11, 2025
1 check passed
@copybara-service copybara-service bot deleted the test_744815377 branch April 11, 2025 18:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Intermittent NoSuchMethodError during ComponentProcessingStep
1 participant