question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

StackOverflowError: DependencyTask.isPackagedDependency(DependencyTask.groovy:220)

See original GitHub issue

Describe the bug A clear and concise description of what the bug is. Also, if the code base looks familiar, feel free to update the existing tests (or add new ones) in a Fork of the Repo to explain the issue.

To Reproduce Steps to reproduce the behavior:

  1. Upgrade Licenses plugin to v0.10.3
  2. Try to assemble Android debug build variant

Expected behavior Successful build

Desktop (please complete the following information):

  • Gradle version: 6.8.3
  • Android Studio version: 2020.3.1 Canary 12
  • Plugin name and version: “com.google.android.gms:oss-licenses-plugin:0.10.3”

Stacktrace

StackOverflowError
        at com.google.android.gms.oss.licenses.plugin.DependencyTask.isPackagedDependency(DependencyTask.groovy:220)
        at jdk.internal.reflect.GeneratedMethodAccessor404.invoke(Unknown Source)
        at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at com.google.android.gms.oss.licenses.plugin.DependencyTask.shouldSkipConfiguration(DependencyTask.groovy:255)
        at jdk.internal.reflect.GeneratedMethodAccessor399.invoke(Unknown Source)
        at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at com.google.android.gms.oss.licenses.plugin.DependencyTask.collectDependenciesFromConfigurations(DependencyTask.groovy:89)
        at jdk.internal.reflect.GeneratedMethodAccessor407.invoke(Unknown Source)
        at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at com.google.android.gms.oss.licenses.plugin.DependencyTask.collectDependenciesFromConfigurations(DependencyTask.groovy:104)
        at jdk.internal.reflect.GeneratedMethodAccessor407.invoke(Unknown Source)
        at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at com.google.android.gms.oss.licenses.plugin.DependencyTask.collectDependenciesFromConfigurations(DependencyTask.groovy:104)
        at jdk.internal.reflect.GeneratedMethodAccessor407.invoke(Unknown Source)
        at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at com.google.android.gms.oss.licenses.plugin.DependencyTask.collectDependenciesFromConfigurations(DependencyTask.groovy:104)
        at jdk.internal.reflect.GeneratedMethodAccessor407.invoke(Unknown Source)
        at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at com.google.android.gms.oss.licenses.plugin.DependencyTask.collectDependenciesFromConfigurations(DependencyTask.groovy:104)
        at jdk.internal.reflect.GeneratedMethodAccessor407.invoke(Unknown Source)
        at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at com.google.android.gms.oss.licenses.plugin.DependencyTask.collectDependenciesFromConfigurations(DependencyTask.groovy:104)
        at jdk.internal.reflect.GeneratedMethodAccessor407.invoke(Unknown Source)
        at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at com.google.android.gms.oss.licenses.plugin.DependencyTask.collectDependenciesFromConfigurations(DependencyTask.groovy:104)
        at jdk.internal.reflect.GeneratedMethodAccessor407.invoke(Unknown Source)
        at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at com.google.android.gms.oss.licenses.plugin.DependencyTask.collectDependenciesFromConfigurations(DependencyTask.groovy:104)
...

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:2
  • Comments:10

github_iconTop GitHub Comments

4reactions
bubenheimercommented, Apr 8, 2021

Please make a new release; this issue blocks builds with the latest AS alpha

2reactions
caller9commented, Apr 12, 2021
Read more comments on GitHub >

github_iconTop Results From Across the Web

Issues · google/play-services-plugins · GitHub
StackOverflowError : DependencyTask.isPackagedDependency(DependencyTask.groovy:220). #172 by DmitriyZaitsev was closed Apr 6, 2021.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found