Skip to content

Conversation

@laurentschoelens
Copy link
Collaborator

@laurentschoelens laurentschoelens commented Jan 15, 2025

Fixes #582

Add extra details if resolution failed at some point instead of failing later with NPE

@laurentschoelens
Copy link
Collaborator Author

@davidmichaelkarr created this PR to add details and fail-fast when resolution fails due to incorrect project configuration

@mattrpav
Copy link
Collaborator

mattrpav commented Jan 15, 2025

Possible to add a unit test that demonstrates failure of resolution and effectiveness of the change to log to the user?

@laurentschoelens
Copy link
Collaborator Author

Possible to add a unit test that demonstrates failure of resolution and effectiveness of the change to log to the user?

I'd like to but I've been able to reproduce the issue myself :(

Copy link
Collaborator Author

@laurentschoelens laurentschoelens left a comment

Choose a reason for hiding this comment

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

Fix if block

Copy link
Collaborator

@mattrpav mattrpav left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Collaborator

@mattrpav mattrpav left a comment

Choose a reason for hiding this comment

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

LGTM

@mattrpav mattrpav merged commit bda76b1 into highsource:master Apr 7, 2025
3 checks passed
@mattrpav mattrpav deleted the jt-582 branch April 7, 2025 14:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Why would we get 'Cannot invoke "java.io.File.toURI()" because "file" is null' from Maven plugin?

2 participants