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

fix(partial): Issue #5144 Avoid NPE on non-Include packageReference #5293

Merged
merged 1 commit into from
Jan 13, 2023

Conversation

aikebah
Copy link
Collaborator

@aikebah aikebah commented Jan 12, 2023

Description of Change

Prevents the NPE on non-Include package references by just ignoring them. A proper fix should actually do something with the package references, but due to a lack of documentation of the non-include options it's hard to tell what would have to be done with them. By ignoring the entry we at least allow DependencyCheck to complete successfully.

Have test cases been added to cover the new functionality?

no

@boring-cyborg boring-cyborg bot added the core changes to core label Jan 12, 2023
@jeremylong jeremylong merged commit 6abed02 into main Jan 13, 2023
@jeremylong jeremylong added this to the 8.0.0 milestone Jan 13, 2023
@jeremylong jeremylong deleted the NPE-5144-workaround branch January 13, 2023 10:02
aikebah added a commit that referenced this pull request Jan 20, 2023
Improved version of #5293. We should not attempt dereference of the null-valued attribute-node of an absent Include attribute
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
core changes to core
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants