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-45471] Not add null values to the list #114

Merged
merged 2 commits into from Jul 12, 2017

Conversation

fbelzunc
Copy link
Contributor

@fbelzunc fbelzunc commented Jul 12, 2017

SECURITY-201 has introduced on this plugin a NPE on this exactly commit 89a6148
The NPE happens in https://github.com/jenkinsci/parameterized-trigger-plugin/blob/parameterized-trigger-2.35/src/main/java/hudson/plugins/parameterizedtrigger/BuildTrigger.java#L111 due future being null.

@reviewbybees CC @oleg-nenashev (since afaik you introduced this)

@ghost
Copy link

ghost commented Jul 12, 2017

This pull request originates from a CloudBees employee. At CloudBees, we require that all pull requests be reviewed by other CloudBees employees before we seek to have the change accepted. If you want to learn more about our process please see this explanation.

Copy link
Member

@oleg-nenashev oleg-nenashev left a comment

Choose a reason for hiding this comment

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

I missed that since static analysis does not report it. 🐝 for this fix, maybe need some logging in else

Copy link
Member

@oleg-nenashev oleg-nenashev left a comment

Choose a reason for hiding this comment

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

@reviewbybees done
I will polish the error message later && check other similar risks in parallel

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants