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

[core] PMD stops processing file completely, if one rule in a rule chain fails #1300

Closed
adangel opened this Issue Aug 13, 2018 · 1 comment

Comments

Projects
None yet
2 participants
@adangel
Member

adangel commented Aug 13, 2018

Affects PMD Version: 6.7.0-SNAPSHOT (probably earlier)

Rule: any rule, that uses rule chain

Description: If during the rule chain execution an exception occurs (processing error of a specific rule), then all remaining rules in the rule chain for this file are skipped. This leads to not detecting violations, when one rule fails. This leads to false-negatives in the PMD report.

Running PMD through: any

Thanks to @djydewang for finding this bug.

@jsotuyod

This comment has been minimized.

Member

jsotuyod commented Aug 13, 2018

Nice catch!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment