Closed
Description
Describe the bug
After I upgraded to Gradle 7, my build started to fail with the following getDependencies
task error:
Execution failed for task ':app:getDependencies'.
> java.lang.StackOverflowError (no error message)
Cause: java.lang.StackOverflowError
at com.google.common.collect.ImmutableList.listIterator(ImmutableList.java:364)
at com.google.common.collect.ImmutableList.listIterator(ImmutableList.java:357)
at com.google.common.collect.ImmutableList.iterator(ImmutableList.java:352)
at com.google.common.collect.RegularImmutableSet.iterator(RegularImmutableSet.java:74)
at com.google.common.cache.LocalCache$2.iterator(LocalCache.java:917)
at com.google.common.cache.LocalCache$Segment.removeCollectedEntry(LocalCache.java:3186)
at com.google.common.cache.LocalCache$Segment.removeEntryFromChain(LocalCache.java:3170)
at com.google.common.cache.LocalCache$Segment.removeValueFromChain(LocalCache.java:3155)
at com.google.common.cache.LocalCache$Segment.reclaimValue(LocalCache.java:3243)
at com.google.common.cache.LocalCache.reclaimValue(LocalCache.java:1702)
at com.google.common.cache.LocalCache$Segment.drainValueReferenceQueue(LocalCache.java:2390)
at com.google.common.cache.LocalCache$Segment.drainReferenceQueues(LocalCache.java:2365)
at com.google.common.cache.LocalCache$Segment.runLockedCleanup(LocalCache.java:3367)
at com.google.common.cache.LocalCache$Segment.preWriteCleanup(LocalCache.java:3350)
at com.google.common.cache.LocalCache$Segment.storeLoadedValue(LocalCache.java:3044)
at com.google.common.cache.LocalCache$Segment.getAndRecordStats(LocalCache.java:2234)
at com.google.common.cache.LocalCache$Segment.loadSync(LocalCache.java:2195)
at com.google.common.cache.LocalCache$Segment.lockedGetOrLoad(LocalCache.java:2153)
at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2043)
at com.google.common.cache.LocalCache.get(LocalCache.java:3851)
...
Desktop:
- Gradle version: 7.0.2
- Android Studio version: 2020.3.1 (stable)
- Plugin name and version: OSS Licenses 0.10.4
Metadata
Assignees
Labels
No labels
Activity