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

Analysis Fails on Single File Parsing Issue #28

Closed
romeara opened this issue May 10, 2022 · 1 comment
Closed

Analysis Fails on Single File Parsing Issue #28

romeara opened this issue May 10, 2022 · 1 comment
Assignees
Labels
bug Something isn't working enhancement New feature or request
Milestone

Comments

@romeara
Copy link
Member

romeara commented May 10, 2022

If a single file fails to parse, the entire analysis fails. It would be preferrable if instead, failed files were recorded in a report and skipped.

This specifically occurred with an error:

java.lang.IllegalArgumentException: Unsupported class file major version 25888

Research implies this is due to class file manipulation performed by tools like Lombok:
https://issuehunt.io/r/spotbugs/sonar-findbugs/issues/307

The above issue was the only result when search that matched the major.minor version number reported

@romeara romeara added bug Something isn't working enhancement New feature or request labels May 10, 2022
@romeara romeara added this to the next release (micro) milestone May 10, 2022
@romeara romeara self-assigned this May 10, 2022
romeara pushed a commit that referenced this issue May 10, 2022
Prevent analysis failure when a file fails to parse, instead recording
the failure in a report before moving on to the next file
romeara added a commit that referenced this issue May 12, 2022
…file-handling

GH-28 Update handling of files which failed to parse
@romeara
Copy link
Member Author

romeara commented May 12, 2022

Change to behavior merged

@romeara romeara closed this as completed May 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant