[ https://issues.apache.org/jira/browse/SLING-4626?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Joel Richard updated SLING-4626: -------------------------------- Attachment: SLING-4626.patch > 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 > Attachments: SLING-4626.patch > > > 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)