You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Andreas Hartmann (JIRA)" <ji...@apache.org> on 2009/01/28 18:07:59 UTC

[jira] Issue Comment Edited: (SLING-572) "Notes" example application

    [ https://issues.apache.org/jira/browse/SLING-572?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12668077#action_12668077 ] 

andreas@apache.org edited comment on SLING-572 at 1/28/09 9:06 AM:
-----------------------------------------------------------------

After updating the sling version in pom.xml to 5-incubator-SNAPSHOT the exception doesn't occur anymore, but the initial content still isn't loaded ...

An exception is thrown which apparently prevents the import:

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.DefaultContentCreator.finishNode(DefaultContentCreator.java:402)
	at org.apache.sling.jcr.contentloader.internal.readers.JsonReader.createNode(JsonReader.java:123)
	at org.apache.sling.jcr.contentloader.internal.readers.JsonReader.createNode(JsonReader.java:117)
	at org.apache.sling.jcr.contentloader.internal.readers.JsonReader.parse(JsonReader.java:82)
	at org.apache.sling.jcr.contentloader.internal.Loader.importRootNode(Loader.java:768)


      was (Author: andreas@apache.org):
    After updating the sling version in pom.xml to 5-incubator-SNAPSHOT the exception doesn't occur anymore, but the initial content still isn't loaded ...
  
> "Notes" example application
> ---------------------------
>
>                 Key: SLING-572
>                 URL: https://issues.apache.org/jira/browse/SLING-572
>             Project: Sling
>          Issue Type: Improvement
>          Components: Documentation
>            Reporter: Michael Marth
>            Priority: Minor
>         Attachments: notes-sample.patch, notes.xml, notes.xml, notes.zip
>
>
> As discussed with Bertrand I have written a Sling example app and suggest to put it into svn so others can benefit. Attached is the code (to be put into /apps/notes) and initial content in sysview format.
> The code has room for improvement (see bottom of blog post http://dev.day.com/microsling/content/blogs/main/anothersampleapp.html)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.