[Hippo-cms7-dev] [JIRA] Created: (JCR-28) NPE thrown after node creation and moving

JIRA (Woonsan Ko) helpdesk at onehippo.com
Tue Aug 30 05:43:45 CEST 2011


NPE thrown after node creation and moving
-----------------------------------------

                 Key: JCR-28
                 URL: https://issues.onehippo.com/browse/JCR-28
             Project: Hippo JCR
          Issue Type: Bug
            Reporter: Woonsan Ko
            Assignee: Woonsan Ko


Reproduction path:

- create some new and nested nodes, e.g. /abc/def/ghi
- save
- create a new root node, e.g. /xyz
- move /abc under /xyz, e.g. /xyz/abc
  (note: resulting /xyz/abc will get selected automatically)
- save (or not, doesn't matter)
- select any of the nodes under /xyz/abc, e.g. /xyz/abc/def
  this then shows the following NPE thrown in the console (but nothing in the
  browser):

[INFO] [talledLocalContainer] 29.08.2011 17:11:41 ERROR [org.apache.wicket.RequestCycle.logRuntimeException():1529] Exception in rendering component: [MarkupContainer [Component id = indent]]
[INFO] [talledLocalContainer] org.apache.wicket.WicketRuntimeException: Exception in rendering component: [MarkupContainer [Component id = indent]]
[INFO] [talledLocalContainer]     at org.apache.wicket.Component.renderComponent(Component.java:2729)
[INFO] [talledLocalContainer]     at org.apache.wicket.MarkupContainer.onRender(MarkupContainer.java:1539)
[INFO] [talledLocalContainer]     at org.apache.wicket.Component.render(Component.java:2521)
[INFO] [talledLocalContainer]     at org.apache.wicket.MarkupContainer.renderNext(MarkupContainer.java:1441)
[INFO] [talledLocalContainer]     at org.apache.wicket.MarkupContainer.renderComponentTagBody(MarkupContainer.java:1604)
[INFO] [talledLocalContainer]     at org.apache.wicket.MarkupContainer.onComponentTagBody(MarkupContainer.java:1528)
[INFO] [talledLocalContainer]     at org.apache.wicket.Component.renderComponent(Component.java:2690)
[INFO] [talledLocalContainer]     at org.apache.wicket.MarkupContainer.onRender(MarkupContainer.java:1539)
[INFO] [talledLocalContainer]     at org.apache.wicket.markup.html.tree.AbstractTree$TreeItem.onRender(AbstractTree.java:227)
[INFO] [talledLocalContainer]     at org.apache.wicket.Component.render(Component.java:2521)
[INFO] [talledLocalContainer]     at org.apache.wicket.Component.renderComponent(Component.java:2631)
[INFO] [talledLocalContainer]     at org.apache.wicket.ajax.AjaxRequestTarget.respondComponent(AjaxRequestTarget.java:901)
[INFO] [talledLocalContainer]     at org.apache.wicket.ajax.AjaxRequestTarget.respondComponents(AjaxRequestTarget.java:681)
[INFO] [talledLocalContainer]     at org.apache.wicket.ajax.AjaxRequestTarget.respond(AjaxRequestTarget.java:591)
[INFO] [talledLocalContainer]     at org.apache.wicket.request.AbstractRequestCycleProcessor.respond(AbstractRequestCycleProcessor.java:105)
[INFO] [talledLocalContainer]     at org.apache.wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:1258)
[INFO] [talledLocalContainer]     at org.apache.wicket.RequestCycle.step(RequestCycle.java:1329)
[INFO] [talledLocalContainer]     at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1436)
[INFO] [talledLocalContainer]     at org.apache.wicket.RequestCycle.request(RequestCycle.java:545)
[INFO] [talledLocalContainer]     at org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:486)
[INFO] [talledLocalContainer]     at org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:319)
[INFO] [talledLocalContainer]     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
[INFO] [talledLocalContainer]     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
[INFO] [talledLocalContainer]     at org.onehippo.jcr.console.engine.ResourceRewriteFilter.doFilter(ResourceRewriteFilter.java:129)
[INFO] [talledLocalContainer]     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
[INFO] [talledLocalContainer]     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
[INFO] [talledLocalContainer]     at org.onehippo.jcr.console.engine.plugins.login.ConcurrentLoginFilter.doFilter(ConcurrentLoginFilter.java:54)
[INFO] [talledLocalContainer]     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
[INFO] [talledLocalContainer]     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
[INFO] [talledLocalContainer]     at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
[INFO] [talledLocalContainer]     at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
[INFO] [talledLocalContainer]     at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
[INFO] [talledLocalContainer]     at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
[INFO] [talledLocalContainer]     at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:554)
[INFO] [talledLocalContainer]     at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
[INFO] [talledLocalContainer]     at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
[INFO] [talledLocalContainer]     at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859)
[INFO] [talledLocalContainer]     at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
[INFO] [talledLocalContainer]     at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
[INFO] [talledLocalContainer]     at java.lang.Thread.run(Thread.java:662)
[INFO] [talledLocalContainer] Caused by: java.lang.NullPointerException
[INFO] [talledLocalContainer]     at org.apache.wicket.extensions.markup.html.tree.DefaultAbstractTree.isNodeLast(DefaultAbstractTree.java:609)
[INFO] [talledLocalContainer]     at org.apache.wicket.extensions.markup.html.tree.DefaultAbstractTree.access$000(DefaultAbstractTree.java:50)
[INFO] [talledLocalContainer]     at org.apache.wicket.extensions.markup.html.tree.DefaultAbstractTree$1.onComponentTagBody(DefaultAbstractTree.java:301)
[INFO] [talledLocalContainer]     at org.apache.wicket.Component.renderComponent(Component.java:2690)
[INFO] [talledLocalContainer]     ... 39 more 

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the Hippo-cms7-dev mailing list