Skip to content

Potential NullPointerException in Jsr303AwarePropertyMetadata #1507

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

Closed
odrotbohm opened this issue Apr 3, 2021 · 0 comments
Closed

Potential NullPointerException in Jsr303AwarePropertyMetadata #1507

odrotbohm opened this issue Apr 3, 2021 · 0 comments
Assignees
Labels
in: core Core parts of the project type: bug
Milestone

Comments

@odrotbohm
Copy link
Member

No description provided.

@odrotbohm odrotbohm added type: bug in: core Core parts of the project labels Apr 3, 2021
@odrotbohm odrotbohm added this to the 1.3 GA milestone Apr 3, 2021
@odrotbohm odrotbohm self-assigned this Apr 3, 2021
odrotbohm added a commit that referenced this issue Apr 3, 2021
…data.

We now check whether we could really load `@Range`, which is only available from Java Validation 2.0 and newer. Classpaths that only included a 1.x flavor of that would end up with `null` for the loaded class and have that forwarded into a method not accepting `null` values.
odrotbohm added a commit that referenced this issue Apr 3, 2021
…data.

We now check whether we could really load `@Range`, which is only available in Hibernate Validator. An arrangement in which the Validation API JAR is on the classpath but not Hibernate Validator would let us end up with the relevant instance being `null` and need a check for before being handed into code that requires the type to not be `null`.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in: core Core parts of the project type: bug
Projects
None yet
Development

No branches or pull requests

1 participant