New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sentry 6.7.0 causes StackOverflow when linting OSS Licences Plugin #2364
Comments
Hey, thanks for the report. Could you share how do you define the sentry dependency? Also, are you using our Sentry Android Gradle plugin? |
Yep. Using your plugin:
And adding:
|
I should also mention that it works fine with Sentry 6.6.0 and no other dependencies/versions being changed. |
interesting. Do you keep the gradle plugin version at |
I have done so far. I can try it with a previous one. It was working in 6.5
with an early plugin anyway
…On Tue, 15 Nov 2022, 13:04 Roman Zavarnitsyn, ***@***.***> wrote:
interesting. Do you keep the gradle plugin version at 3.3.0 when
downgrading sentry deps to 6.6.0?
—
Reply to this email directly, view it on GitHub
<#2364 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AP2J3ZI3Q3X7BBAAS3SLSL3WIOC7BANCNFSM6AAAAAASA3FDN4>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
One more question - do you use jetpack compose in your app? |
Yes. Currently using Compose 1.2.0 with Compiler 1.3.2 and various accompanist libraries |
alright, I think I know what the problem is. You can try to mitigate it by disabling auto-installation in the plugin configuration
We'll try to fix it in the meantime |
Any news on this? You said the effort was small and now you're saying there's a bug between 6.6.0 and 6.8.0 but still no fix for this. If I disable the auto installation then the chances are that it will get forgotten when this code actually does work... |
Hi, I also get this
It helped to disable auto installation for Sentry, but a bugfix would be great so we can use the auto installation feature again. |
@romtsn any updates here? |
hey, apologies for holding this off for so long, I've just opened up a PR (#2578) which fixes the issue, so it should be resolved in the upcoming release of the Gradle plugin. Also, added an integration test for the gradle plugin to make sure we do not break this again in the future getsentry/sentry-android-gradle-plugin#442. Thanks everyone for the patience! |
Integration
sentry-android
Build System
Gradle
AGP Version
7.3.1
Proguard
Enabled
Version
6.7.0
Steps to Reproduce
The project build.gradle has the following dependency
classpath "com.google.android.gms:oss-licenses-plugin:0.10.5"
The app module build.gradle has the following plugin enabled:
id 'com.google.android.gms.oss-licenses-plugin'
and adds the following implementation:
implementation "com.google.android.gms:play-services-oss-licenses:17.0.0"
I then run
./gradlew lintRelease
Expected Result
App lints successfully
Actual Result
I get the following error
The text was updated successfully, but these errors were encountered: