You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Konrad Windszus (JIRA)" <ji...@apache.org> on 2014/11/13 12:46:34 UTC
[jira] [Created] (SLING-4160) Log error in case invalid validator
has been specified in the validation model
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)