[
https://issues.apache.org/jira/browse/SLING-595?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12618676#action_12618676
]
Bertrand Delacretaz commented on SLING-595:
-------------------------------------------
I think it is better to use ROOT.json only for setting properties on the root
node, so I'll just rename ROOT.json to bin.json and remove the "bin" level in
it.
> Webloader ui ROOT.json fails to create subnodes
> -----------------------------------------------
>
> Key: SLING-595
> URL: https://issues.apache.org/jira/browse/SLING-595
> Project: Sling
> Issue Type: Bug
> Components: Samples
> Reporter: Bertrand Delacretaz
> Priority: Minor
>
> This used to work, but I just noticed that the initial content loader fails
> to create the subnodes defined by the ROOT.json file of the
> samples/webloader/ui.
> Error in the logs:
> java.util.EmptyStackException
> at java.util.Stack.peek(Stack.java:79)
> at java.util.Stack.pop(Stack.java:61)
> at
> org.apache.sling.jcr.contentloader.internal.ContentLoader.finishNode(ContentLoader.java:367)
> at
> org.apache.sling.jcr.contentloader.internal.JsonReader.createNode(JsonReader.java:120)
> And the ROOT.json file is:
> {
> "bin" : {
> "jcr:primaryType" : "nt:unstructured",
> "sling" : {
> "jcr:primaryType" : "nt:unstructured",
> "webloader" : {
> "jcr:primaryType" : "nt:unstructured",
> "sling:resourceType" : "sling/webloader"
> }
> }
> }
> }
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.