-
Bug
-
Resolution: Done
-
Major
-
3.0.2.Final
-
None
-
None
When a parameter annotated with @NotNull is passed a null value the class org.jboss.resteasy.plugins.validation.GeneralValidatorImpl will fail with a NullPointerException on line 72. This is due to the code calling toString() on the invalid null value.
So in the line below "cv.getInvalidValue()" is called, returns a null and has "toString()" called on the null value.
rcvs.add(new ResteasyConstraintViolation(ct, cv.getPropertyPath().toString(), cv.getMessage(), cv.getInvalidValue().toString()));
- is cloned by
-
RESTEASY-990 Another Null pointer exception in GeneralValidatorImpl
- Closed