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-73690] Lack of support for enum being null (throwing exception) #578

Open
Wadeck opened this issue Aug 27, 2024 · 0 comments
Open
Labels

Comments

@Wadeck
Copy link
Contributor

Wadeck commented Aug 27, 2024

Jenkins and plugins versions report

Environment
Paste the output here

What Operating System are you using (both controller, and any agents involved in the problem)?

N/A

Reproduction steps

When a Stapler WebMethod is defined with an Enum, the value cannot be null, otherwise it's throwing a NPE in the Converter code.

Expected Results

No exception, but a variable being null. With respect to the required=false.

Actual Results

NPE

Anything else?

JENKINS-73690

Are you interested in contributing a fix?

#577

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

No branches or pull requests

1 participant