Joel Richard created SLING-4626: ----------------------------------- Summary: NullPointerExceptions in MockResourceResolver Key: SLING-4626 URL: https://issues.apache.org/jira/browse/SLING-4626 Project: Sling Issue Type: Bug Components: Testing Affects Versions: Testing ResourceResolver Mock 1.1.4 Reporter: Joel Richard Priority: Minor
The MockResourceResolver throws an exception when trying to access a resource outside of the root. The normal ResourceResolver implementation returns just null instead. Moreover, I get another NullPointerException in MockValueMap#convertForWrite if I try to create a MockResource with null properties (which is for example done in MergedResourceTest). Patch is attached. -- This message was sent by Atlassian JIRA (v6.3.4#6332)