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.

Reply via email to