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

[JENKINS-49236] - Prevent NullPointerException when null authContext is passed to the AuthoritiesPopulator #34

Merged

Conversation

oleg-nenashev
Copy link
Member

https://issues.jenkins-ci.org/browse/JENKINS-49236

Reported as a regression in 1.6.0. #33 seems to be an obvious culprit, but it's actually not. Before #33 the plugin would just fail with NPE in DefaultReverseProxyAuthoritiesPopulator#getGroupMembershipRoles() assuming it's called from anywhere.

@oleg-nenashev
Copy link
Member Author

@reviewbybees @Wadeck

Copy link
Member

@dwnusbaum dwnusbaum left a comment

Choose a reason for hiding this comment

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

🐝

@oleg-nenashev
Copy link
Member Author

It should not make the behavior worse at least

@oleg-nenashev
Copy link
Member Author

@reviewbybees done, 🚢 🇮🇹

@oleg-nenashev oleg-nenashev merged commit 99f83a8 into jenkinsci:master Jan 29, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants