-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
[java] StackOverflowError with recursively bound type variable #5096
Comments
Can you run PMD with the system property |
Thanks for the tip! Just for future reference, I get the feeling this is not possible to do using Gradle right now. I tried with both In any case, I downloaded the raw PMD binary package and ran it against the component and immediately got the same |
Here's a minimal reproducer: https://github.com/slovdahl/pmd-stackoverflow-reproducer. PMD fails on just the |
This bug is hitting me, too: https://scans.gradle.com/s/c5nsujr23bwik/failure?expanded-stacktrace=WyIwIiwiMC0xIiwiMC0xLTItMyJd#1 |
* chore(deps): update plugin java-qa to v1.79.0 * style: temporary disable PMD until pmd/pmd#5096 is fixed --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Danilo Pianini <danilo.pianini@unibo.it>
## [32.54.0](32.53.0...32.54.0) (2024-12-23) ### Dependency updates * **api-deps:** update alchemist to v36.0.12 ([#364](#364)) ([75f93a7](75f93a7)) * **deps:** update dependency com.google.guava:guava to v33.4.0-jre ([#346](#346)) ([a12563e](a12563e)) * **deps:** update dependency gradle to v8.12 ([#359](#359)) ([f7d9bbd](f7d9bbd)) * **deps:** update dependency semantic-release-preconfigured-conventional-commits to v1.1.117 ([#363](#363)) ([4400ac9](4400ac9)) * **deps:** update plugin java-qa to v1.79.0 ([#353](#353)) ([aeb6121](aeb6121)), closes [pmd/pmd#5096](pmd/pmd#5096) * **deps:** update plugin multijvmtesting to v3.0.2 ([#360](#360)) ([4fa5881](4fa5881)) * **deps:** update plugin org.danilopianini.gradle-pre-commit-git-hooks to v2.0.18 ([#362](#362)) ([925fb8d](925fb8d)) * **deps:** update plugin publishoncentral to v7.0.2 ([#357](#357)) ([4b9a12f](4b9a12f)) * **deps:** update plugin publishoncentral to v7.0.3 ([#358](#358)) ([dfb2d80](dfb2d80)) * **deps:** update plugin publishoncentral to v7.0.4 ([#361](#361)) ([db8a86e](db8a86e))
Affects PMD Version: 7.0.0, 7.1.0, 7.2.0, 7.3.0
Description:
I'm trying to upgrade PMD from 6.55.0 to 7.x but the PMD runs just end up in
java.lang.StackoverflowErrror
s.ruleset.xml
But also fails with just one of the rules in place.
Gradle configuration:
gradle.properties
:Tested with both Temurin 17 and 21 (the project requires at least 17) on Ubuntu 22.04.
Exception Stacktrace:
The topmost part of the stack trace inline, here is the full stack trace.
Code Sample demonstrating the issue:
I cannot share the project as is, and I haven't yet been able to figure out what exactly triggers it. Any help in pinpointing the problematic class would be appreciated.
Steps to reproduce:
TBD.
Running PMD through: Gradle 8.8
The text was updated successfully, but these errors were encountered: