[ https://issues.apache.org/jira/browse/SLING-4158?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Robert Munteanu updated SLING-4158: ----------------------------------- Fix Version/s: Validation 1.0.0 > NPE in case applicablePaths property is not set for a validation model > ---------------------------------------------------------------------- > > Key: SLING-4158 > URL: https://issues.apache.org/jira/browse/SLING-4158 > Project: Sling > Issue Type: Bug > Components: Validation > Reporter: Konrad Windszus > Fix For: Validation 1.0.0 > > > According to https://github.com/raducotescu/org.apache.sling.validation the > property {{applicablePaths}} should be optional. But in case a model is found > which does not have this property the following NPE is thrown: > {code} > java.lang.NullPointerException: null > at > org.apache.sling.validation.impl.ValidationServiceImpl.searchAndStoreValidationModel(ValidationServiceImpl.java:321) > at > org.apache.sling.validation.impl.ValidationServiceImpl.getValidationModel(ValidationServiceImpl.java:93) > at > org.apache.sling.validation.impl.ValidationServiceImpl.getValidationModel(ValidationServiceImpl.java:103) > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)