You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Sentry 6.7.0 causes StackOverflow when linting OSS Licences Plugin #2364
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 StackOverflowError when I include the Android Glance library which uses Jetpack Compose internally:
Cause: java.lang.StackOverflowError
at com.google.common.cache.LocalCache$Segment.setValue(LocalCache.java:2009)
at com.google.common.cache.LocalCache$Segment.storeLoadedValue(LocalCache.java:3158)
at com.google.common.cache.LocalCache$Segment.getAndRecordStats(LocalCache.java:2318)
at com.google.common.cache.LocalCache$Segment.loadSync(LocalCache.java:2279)
at com.google.common.cache.LocalCache$Segment.lockedGetOrLoad(LocalCache.java:2155)
at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2045)
at com.google.common.cache.LocalCache.get(LocalCache.java:3962)
at com.google.common.cache.LocalCache$LocalManualCache.get(LocalCache.java:4859)
at org.gradle.internal.resources.AbstractResourceLockRegistry.getOrRegisterResourceLock(AbstractResourceLockRegistry.java:45)
at org.gradle.internal.work.DefaultWorkerLeaseService$WorkerLeaseLockRegistry.getResourceLock(DefaultWorkerLeaseService.java:351)
at org.gradle.internal.work.DefaultWorkerLeaseService.getWorkerLease(DefaultWorkerLeaseService.java:93)
at org.gradle.internal.work.DefaultWorkerLeaseService.getWorkerLease(DefaultWorkerLeaseService.java:100)
at org.gradle.internal.work.DefaultWorkerLeaseService.getWorkerLease(DefaultWorkerLeaseService.java:55)
at org.gradle.internal.operations.DefaultBuildOperationQueue.<init>(DefaultBuildOperationQueue.java:56)
at org.gradle.internal.operations.DefaultBuildOperationQueueFactory.create(DefaultBuildOperationQueueFactory.java:31)
at org.gradle.internal.operations.DefaultBuildOperationExecutor.executeInParallel(DefaultBuildOperationExecutor.java:132)
at org.gradle.internal.operations.DefaultBuildOperationExecutor.runAll(DefaultBuildOperationExecutor.java:102)
at org.gradle.api.internal.artifacts.ivyservice.resolveengine.artifact.ParallelResolveArtifactSet$VisitingSet.visit(ParallelResolveArtifactSet.java:66)
at org.gradle.api.internal.artifacts.DefaultResolvedDependency.sort(DefaultResolvedDependency.java:129)
at org.gradle.api.internal.artifacts.DefaultResolvedDependency.getModuleArtifacts(DefaultResolvedDependency.java:107)
at org.gradle.api.internal.artifacts.DefaultResolvedDependency.getAllModuleArtifacts(DefaultResolvedDependency.java:113)
at org.gradle.api.internal.artifacts.DefaultResolvedDependency.getAllModuleArtifacts(DefaultResolvedDependency.java:115)
at org.gradle.api.internal.artifacts.DefaultResolvedDependency.getAllModuleArtifacts(DefaultResolvedDependency.java:115)
at org.gradle.api.internal.artifacts.DefaultResolvedDependency.getAllModuleArtifacts(DefaultResolvedDependency.java:115)
...
It helped to disable auto installation for Sentry, but a bugfix would be great so we can use the auto installation feature again.
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!
Activity
romtsn commentedon Nov 15, 2022
Hey, thanks for the report. Could you share how do you define the sentry dependency? Also, are you using our Sentry Android Gradle plugin?
barry-irvine commentedon Nov 15, 2022
Yep. Using your plugin:
id 'io.sentry.android.gradle' version '3.3.0' // Nov 2022And adding:
barry-irvine commentedon Nov 15, 2022
I should also mention that it works fine with Sentry 6.6.0 and no other dependencies/versions being changed.
romtsn commentedon Nov 15, 2022
interesting. Do you keep the gradle plugin version at
3.3.0when downgrading sentry deps to6.6.0?barry-irvine commentedon Nov 15, 2022
romtsn commentedon Nov 16, 2022
One more question - do you use jetpack compose in your app?
barry-irvine commentedon Nov 17, 2022
Yes. Currently using Compose 1.2.0 with Compiler 1.3.2 and various accompanist libraries
romtsn commentedon Nov 17, 2022
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
barry-irvine commentedon Feb 9, 2023
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...
Melle010 commentedon Feb 14, 2023
Hi, I also get this
StackOverflowErrorwhen I include the Android Glance library which uses Jetpack Compose internally:It helped to disable auto installation for Sentry, but a bugfix would be great so we can use the auto installation feature again.
EmDee commentedon Feb 20, 2023
@romtsn any updates here?
romtsn commentedon Mar 1, 2023
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!