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
MutableException check fails with NPE if extended class is in canonical form #1124
Comments
Pleaese let me know name of opensource project where you found such code, we might use it in checkstyle-checker. |
It's the project we already use - Findbugs. |
Hmm, i checked it on 6.6 it worked fine, so i put priority Hight. I will think how to can make huge regression testing on each commit. |
Sorry, this is my fault |
merged. |
@Vladlis, on any next PR from you, please test by checkstyle-tester all your changes, and confirm that there is no Errors after your changes for "dead code". |
This issue needs to be reopened. In this case removing "dead" code and then having NPE was VERY valuable, as it revealed missing implementation for canonical class names. Adding null check hid the issue once again. |
I keep it close, as you already fixed it. |
MutableException check fails with
NullPointerException
if extended class is in canonical form.Configuration
Input file
Stacktrace
The text was updated successfully, but these errors were encountered: