We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
jersey/ext/microprofile/mp-config/src/main/java/org/glassfish/jersey/microprofile/config/ConfigurationModel.java
Line 86 in 741aad4
This line may fail if the value of the configuration is empty.
E.g. systems may set environment variables like this
export AN_EMPTY_VARIABLE=
MP-config trims all empty values to null so the invocation of
config.getValue("AN_EMPTY_VARIABLE", String.class)
fails with NoSuchElementException
NoSuchElementException
The text was updated successfully, but these errors were encountered:
For the record: MP-config empty properties handling behavior changed since MP config 2.0. Changes are described here: eclipse/microprofile-config#446 Following PR introduced changes to code: https://github.com/eclipse/microprofile-config/pull/598/files
for us this means that we shall handle external configs' properties handling more carefully.
Internal Jersey properties handling works without changes.
Sorry, something went wrong.
senivam
Successfully merging a pull request may close this issue.
jersey/ext/microprofile/mp-config/src/main/java/org/glassfish/jersey/microprofile/config/ConfigurationModel.java
Line 86 in 741aad4
This line may fail if the value of the configuration is empty.
E.g. systems may set environment variables like this
MP-config trims all empty values to null so the invocation of
fails with
NoSuchElementException
The text was updated successfully, but these errors were encountered: