[
http://jira.magnolia-cms.com/browse/MAGNOLIA-3995?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Philipp Bärfuss updated MAGNOLIA-3995:
--------------------------------------
Summary: Infinite loop when displaying a Downloaded List component in
an inherited area (was: Exception when displaying a Downloaded List component.)
Fix Version/s: 4.5.1
(was: 4.5.x)
> Infinite loop when displaying a Downloaded List component in an inherited area
> ------------------------------------------------------------------------------
>
> Key: MAGNOLIA-3995
> URL: http://jira.magnolia-cms.com/browse/MAGNOLIA-3995
> Project: Magnolia
> Issue Type: Bug
> Security Level: Public
> Components: templating
> Affects Versions: 4.5
> Reporter: Eric Hechinger
> Assignee: Eric Hechinger
> Priority: Critical
> Fix For: 4.5.1
>
>
> Gote the following error when trying to display a Downloaded List component:
> FreeMarker template error!
> Method public info.magnolia.cms.util.SiblingsHelper
> info.magnolia.templating.functions.TemplatingFunctions.siblings(info.magnolia.jcr.util.ContentMap)
> throws javax.jcr.RepositoryException threw an exception when invoked on
> info.magnolia.templating.functions.TemplatingFunctions@78dc5f15 with
> arguments of types [info.magnolia.jcr.util.ContentMap,]
> The problematic instruction:
> ----------
> ==> assignment: siblings=cmsfn.siblings(content) [on line 7, column 5 in
> templating-kit/components/macros/tocMarkup.ftl]
> in user-directive tocMarkup [on line 7, column 1 in
> templating-kit/components/content/downloadList.ftl]
> ----------
> Java backtrace for programmers:
> ----------
> freemarker.template.TemplateModelException: Method public
> info.magnolia.cms.util.SiblingsHelper
> info.magnolia.templating.functions.TemplatingFunctions.siblings(info.magnolia.jcr.util.ContentMap)
> throws javax.jcr.RepositoryException threw an exception when invoked on
> info.magnolia.templating.functions.TemplatingFunctions@78dc5f15 with
> arguments of types [info.magnolia.jcr.util.ContentMap,]
> at
> freemarker.ext.beans.OverloadedMethodModel.exec(OverloadedMethodModel.java:134)
> at freemarker.core.MethodCall._getAsTemplateModel(MethodCall.java:93)
> at freemarker.core.Expression.getAsTemplateModel(Expression.java:89)
> at freemarker.core.Assignment.accept(Assignment.java:90)
> at freemarker.core.Environment.visit(Environment.java:221)
> at freemarker.core.MixedContent.accept(MixedContent.java:92)
> at freemarker.core.Environment.visit(Environment.java:221)
> at freemarker.core.Macro$Context.runMacro(Macro.java:172)
> at freemarker.core.Environ
>
>
> AND SERVER LOG:
> java.lang.StackOverflowError
> at
> org.apache.commons.collections.map.AbstractReferenceMap.purgeBeforeRead(AbstractReferenceMap.java:337)
> at
> org.apache.commons.collections.map.AbstractReferenceMap.get(AbstractReferenceMap.java:229)
> at
> org.apache.jackrabbit.core.ItemManager.retrieveItem(ItemManager.java:888)
> at
> org.apache.jackrabbit.core.ItemManager.getItemData(ItemManager.java:374)
> at org.apache.jackrabbit.core.ItemManager.getItem(ItemManager.java:328)
> at org.apache.jackrabbit.core.ItemManager.getItem(ItemManager.java:622)
> at org.apache.jackrabbit.core.NodeImpl$6.perform(NodeImpl.java:1710)
> at org.apache.jackrabbit.core.NodeImpl$6.perform(NodeImpl.java:1705)
> at
> org.apache.jackrabbit.core.session.SessionState.perform(SessionState.java:216)
> at org.apache.jackrabbit.core.ItemImpl.perform(ItemImpl.java:91)
> at org.apache.jackrabbit.core.NodeImpl.getParent(NodeImpl.java:1705)
> at
> info.magnolia.rendering.template.configured.ConfiguredInheritance$NodeDepthComparator.getSiblingIndex(ConfiguredInheritance.java:197)
> at
> info.magnolia.rendering.template.configured.ConfiguredInheritance$NodeDepthComparator.compare(ConfiguredInheritance.java:186)
> at
> info.magnolia.rendering.template.configured.ConfiguredInheritance$NodeDepthComparator.compare(ConfiguredInheritance.java:179)
> at java.util.Arrays.mergeSort(Arrays.java:1270)
> at java.util.Arrays.sort(Arrays.java:1210)
> at java.util.Collections.sort(Collections.java:159)
> at
> info.magnolia.templating.inheritance.DefaultInheritanceContentDecorator.sortInheritedNodes(DefaultInheritanceContentDecorator.java:178)
> at
> info.magnolia.jcr.inheritance.InheritanceContentDecorator$DestinationNodeInheritanceNodeWrapper.getNodes(InheritanceContentDecorator.java:317)
> at
> info.magnolia.jcr.inheritance.InheritanceContentDecorator$DestinationNodeInheritanceNodeWrapper.getNodes(InheritanceContentDecorator.java:317)
> at
> info.magnolia.rendering.template.configured.ConfiguredInheritance$NodeDepthComparator.getSiblingIndex(ConfiguredInheritance.java:197)
> at
> info.magnolia.rendering.template.configured.ConfiguredInheritance$NodeDepthComparator.compare(ConfiguredInheritance.java:186)
> at
> info.magnolia.rendering.template.configured.ConfiguredInheritance$NodeDepthComparator.compare(ConfiguredInheritance.java:179)
> at java.util.Arrays.mergeSort(Arrays.java:1270)
> at java.util.Arrays.sort(Arrays.java:1210)
> at java.util.Collections.sort(Collections.java:159)
> at
> info.magnolia.templating.inheritance.DefaultInheritanceContentDecorator.sortInheritedNodes(DefaultInheritanceContentDecorator.java:178)
> at
> info.magnolia.jcr.inheritance.InheritanceContentDecorator$DestinationNodeInheritanceNodeWrapper.getNodes(InheritanceContentDecorator.java:317)
> at
> info.magnolia.rendering.template.configured.ConfiguredInheritance$NodeDepthComparator.getSiblingIndex(ConfiguredInheritance.java:197)
> at
> info.magnolia.rendering.template.configured.ConfiguredInheritance$NodeDepthComparator.compare(ConfiguredInheritance.java:186)
> at
> info.magnolia.rendering.template.configured.ConfiguredInheritance$NodeDepthComparator.compare(ConfiguredInheritance.java:179)
> at java.util.Arrays.mergeSort(Arrays.java:1270)
> at java.util.Arrays.sort(Arrays.java:1210)
> at java.util.Collections.sort(Collections.java:159)
> at
> info.magnolia.templating.inheritance.DefaultInheritanceContentDecorator.sortInheritedNodes(DefaultInheritanceContentDecorator.java:178)
> at
> info.magnolia.jcr.inheritance.InheritanceContentDecorator$DestinationNodeInheritanceNodeWrapper.getNodes(InheritanceContentDecorator.java:317)
> at
> info.magnolia.rendering.template.configured.ConfiguredInheritance$NodeDepthComparator.getSiblingIndex(ConfiguredInheritance.java:197)
> at
> info.magnolia.rendering.template.configured.ConfiguredInheritance$NodeDepthComparator.compare(ConfiguredInheritance.java:186)
> at
> info.magnolia.rendering.template.configured.ConfiguredInheritance$NodeDepthComparator.compare(ConfiguredInheritance.java:179)
> at java.util.Arrays.mergeSort(Arrays.java:1270)
> at java.util.Arrays.sort(Arrays.java:1210)
> at java.util.Collections.sort(Collections.java:159)
> at
> info.magnolia.templating.inheritance.DefaultInheritanceContentDecorator.sortInheritedNodes(DefaultInheritanceContentDecorator.java:178)
> at
> info.magnolia.jcr.inheritance.InheritanceContentDecorator$DestinationNodeInheritanceNodeWrapper.getNodes(InheritanceContentDecorator.java:317)
> at
> info.magnolia.rendering.template.configured.ConfiguredInheritance$NodeDepthComparator.getSiblingIndex(ConfiguredInheritance.java:197)
> at
> info.magnolia.rendering.template.configured.ConfiguredInheritance$NodeDepthComparator.compare(ConfiguredInheritance.java:186)
> at
> info.magnolia.rendering.template.configured.ConfiguredInheritance$NodeDepthComparator.compare(ConfiguredInheritance.java:179)
> at java.util.Arrays.mergeSort(Arrays.java:1270)
> at java.util.Arrays.sort(Arrays.java:1210)
> at java.util.Collections.sort(Collections.java:159)
>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.magnolia-cms.com/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
----------------------------------------------------------------
For list details, see: http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------