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] Intermittent NPEs while analyzing Java code #4757
Comments
One note to Stacktrace 2: Is it maybe a circular initialization problem? ClassStub::getTypeParameters -> ParseLock::ensureParsed -> ClassStub::getEnclosingTypeParameterOwner -> ParseLock::ensureParsed |
Hello, I also occasionally get Stacktrace 1a. I have notice that after this Stacktrace appear I get a lot of NPE on TypeOps. I running analysis with maven-pmd-plugin with pmd 7 and pmd-compat6 module example on NPE on TypeOps
|
Similar issue, see it randomly when runnig
|
Affects PMD Version: 7.0.0-SNAPSHOT
Description:
Sometimes, not always, a NullPointerException occurs. I've noticed two different stacktraces.
Exception Stacktrace 1a
Exception Stacktrace 1b
Exception Stacktrace 2
Code Sample demonstrating the issue:
Don't know exactly.
Stacktrace 1a appeared when building maven-pmd-plugin against PMD 7 (there are some unit tests which execute PMD)
Stacktrace 1b appeared when running PMD against pmd code base (in PR #4754)
Stacktrace 2 appeared when running the regression tester against the spring framework.
Running PMD through: CLI, Maven
The text was updated successfully, but these errors were encountered: