DependencyTrack / dependency-track

Dependency-Track is an intelligent Component Analysis platform that allows organizations to identify and reduce risk in the software supply chain.
https://dependencytrack.org/
Apache License 2.0
2.71k stars 580 forks source link

Backport: Fix NullPointerException when fetching findings #4380

Closed nscuro closed 1 week ago

nscuro commented 1 week ago

Description

Fixes NullPointerException when fetching findings.

Addressed Issue

Fixes #4351 Backports https://github.com/DependencyTrack/dependency-track/pull/4369

Additional Details

N/A

Checklist

codacy-production[bot] commented 1 week ago

Coverage summary from Codacy

See diff coverage on Codacy

Coverage variation Diff coverage
Report missing for 25a252416aa552e351f4037bc730a96d7e07b8a3[^1] :white_check_mark: 100.00% (target: 70.00%)
Coverage variation details | | Coverable lines | Covered lines | Coverage | | ------------- | ------------- | ------------- | ------------- | | Common ancestor commit (25a252416aa552e351f4037bc730a96d7e07b8a3) | Report Missing | Report Missing | Report Missing | | | Head commit (c4559e1fbaccadbca4846460e2498ef9204155f8) | 22568 | 17858 | 79.13% | **Coverage variation** is the difference between the coverage for the head and common ancestor commits of the pull request branch: ` - `
Diff coverage details | | Coverable lines | Covered lines | Diff coverage | | ------------- | ------------- | ------------- | ------------- | | Pull request (#4380) | 4 | 4 | **100.00%** | **Diff coverage** is the percentage of lines that are covered by tests out of the coverable lines that the pull request added or modified: `/ * 100%`

See your quality gate settings    Change summary preferences

Codacy stopped sending the deprecated coverage status on June 5th, 2024. Learn more [^1]: Codacy didn't receive coverage data for the commit, or there was an error processing the received data. Check your integration for errors and validate that your coverage setup is correct.