[
https://issues.apache.org/jira/browse/SLING-4267?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Robert Munteanu updated SLING-4267:
-----------------------------------
Attachment: SLING-4267-1.diff
> Json content import does not work for the JCR_JACKRABBIT resource resolver
> type
> -------------------------------------------------------------------------------
>
> Key: SLING-4267
> URL: https://issues.apache.org/jira/browse/SLING-4267
> Project: Sling
> Issue Type: Bug
> Components: Testing
> Affects Versions: Testing Sling Mock Jackrabbit 0.1.0
> Reporter: Robert Munteanu
> Fix For: Testing Sling Mock Jackrabbit 0.2.0
>
> Attachments: SLING-4267-1.diff
>
>
> The tests are ignored for now and the implementation fails when run in a test
> case. The stack trace is similar to:
> {noformat}java.lang.NullPointerException
> at
> org.apache.sling.resourceresolver.impl.ResourceResolverImpl.create(ResourceResolverImpl.java:1044)
> at
> org.apache.sling.testing.mock.sling.loader.ContentLoader.createResourceHierarchy(ContentLoader.java:183)
> at
> org.apache.sling.testing.mock.sling.loader.ContentLoader.json(ContentLoader.java:155)
> at
> org.apache.sling.testing.mock.sling.loader.ContentLoader.json(ContentLoader.java:120){noformat}
> The tests, on the other hand, complain that {noformat}app: is not a
> registered namespace prefix.{noformat}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)