Uploaded image for project: 'Sling'
  1. Sling
  2. SLING-4160

Log error in case invalid validator has been specified in the validation model

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • Validation 1.0.0
    • Validation
    • None

    Description

      In case an invalid validator name has been specified an error should be logged. Currently just an NPE is thrown

      Caused by: java.lang.NullPointerException: null
      	at org.apache.sling.validation.impl.ValidationServiceImpl.validatePropertyValue(ValidationServiceImpl.java:388)
      	at org.apache.sling.validation.impl.ValidationServiceImpl.validateResourceProperties(ValidationServiceImpl.java:251)
      	at org.apache.sling.validation.impl.ValidationServiceImpl.validate(ValidationServiceImpl.java:116)
      

      Attachments

        Activity

          People

            kwin Konrad Windszus
            kwin Konrad Windszus
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: