Uploaded image for project: 'Hibernate Validator'
  1. HV-1164

getDynamicPayload(Class<C> type) throws Nullpointerexception

    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

      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.

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: