Konrad Windszus created SLING-4160:
--------------------------------------

             Summary: Log error in case invalid validator has been specified in 
the validation model
                 Key: SLING-4160
                 URL: https://issues.apache.org/jira/browse/SLING-4160
             Project: Sling
          Issue Type: Bug
          Components: Validation
            Reporter: Konrad Windszus
            Assignee: Konrad Windszus
             Fix For: Validation 1.0.0


In case an invalid validator name has been specified an error should be logged. 
Currently just an NPE is thrown
{code}
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)
{code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to