Skip to content
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

Report file not cleaned between runs #683

Closed
aeleneski opened this issue Jan 31, 2022 · 2 comments
Closed

Report file not cleaned between runs #683

aeleneski opened this issue Jan 31, 2022 · 2 comments

Comments

@aeleneski
Copy link

Not sure if this is a gradle plugin bug or spotbugs main bug, but I am in the process of upgrading from Spotbugs gradle 4.7.5 to 5.0.5 and Spotbugs main version 4.4.1 to 4.5.3.

If I run the spotbugsMain or spotbugsTest gradle Verification task and it has an error, it shows correctly in both the html & xml report.

I then fix the error in the code, and re-run the verification task and now the report shows 0 errors in the summary section, but the old error in the Details section.

If I attempt to open the XML file in chrome it states that the xml is invalid.

image

@sdati
Copy link

sdati commented Feb 8, 2022

Reported in SpotBugs with PR to fix: spotbugs/spotbugs#1950

@KengoTODA
Copy link
Member

closed by v5.0.7, thanks @sdati for your pull request!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants