Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 5.3.3.Final
-
Fix Version/s: 5.3.4.Final
-
Component/s: engine
-
Labels:None
-
Bug Testcase Reminder (view):
-
Last commented by a user?:true
Description
org.hibernate.validator.internal.engine.ConstraintViolationImpl::getDynamicPayload(Class<C> type) throws a NullpointerExeption if dynamicPayload is null because of this.dynamicPayload.getClass().
I think it would be better to return null in this case.