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-converter][fix] Fix for SpotBugs Report Conveter with Plugins #3262

Merged

Conversation

baloghadamsoftware
Copy link

The SpotBugs report converter tries to handle every element in the
section as a file path. However, if a plugin is used, such as
find-sec-bugs an additional element with tag is also included
in this section with empty text part, which crashes the converter because
it expects a non-empty text. This patch fixes this issue by only
considering tags , and .

The SpotBugs report converter tries to handle every element in the
<Project> section as a file path. However, if a plugin is used, such as
find-sec-bugs an additional element with <Plugin> tag is also included
in this section with empty text part, which crashes the converter because
it expects a non-empty text. This patch fixes this issue by only
considering tags <Jar>, <AuxClasspathEntry> and <SrcDir>.
@csordasmarton csordasmarton added bugfix 🔨 tools 🛠️ Meta-tag for all the additional tools supplied with CodeChecker: plist2html, tu_collector, etc. labels Apr 12, 2021
@csordasmarton csordasmarton added this to the release 6.16.0 milestone Apr 12, 2021
Copy link
Contributor

@csordasmarton csordasmarton left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@csordasmarton csordasmarton merged commit d02ece4 into Ericsson:master Apr 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bugfix 🔨 tools 🛠️ Meta-tag for all the additional tools supplied with CodeChecker: plist2html, tu_collector, etc.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants