Error Formatting Macro Pagetree Java.lang.nullpointerexception
version of pageLog In ExportXMLWordPrintableDetails Type: Bug Status: Resolved Priority: Low Resolution: Fixed Affects Version/s: 4.0.3 Fix Version/s: 4.1 Component/s: None Labels: NullPointerException PageTree bugfix_dev_backlog editor kaap294 Environment: Win 7, FF8, IE8, Chrome 15 Description Viewing an older version of a page in Page History causes null pointer exception: 2011-11-09 09:43:49,339 ERROR [http-8080-22] [renderer.v2.components.MacroRendererComponent] processMacro Unexpected err or formatting macro: pagetree - url: /pages/viewpage.action | page: 161288547 | userName:
Page History Restrictions Page Information Resolved comments Link to this Page… View in Hierarchy View Source Export to PDF Export to Word Copy Page Tree Theme Builder Plugin … Theme Builder 4 Plugin Theme Builder Documentation User Questions Error formatting macro builder-breadcrumbs java.lang.StackOverflowError Skip to end of metadata Created by Unknown User (angela_burrows@putnam.com), last modified on May 24, 2010 Go to start of metadata I'm running Confluence 3.1 and Theme Builder 4.0.2. I'm getting this error in every space that has a parent space defined. I am unable to get to the "set a parent space" screen, the page just says https://jira.atlassian.com/browse/CONF-23816 "loading" until I get fed up and close it. I also tried disabling the "parent-space" Metadata macro figuring that someone had accidentally made a forever loop, but that did not do anything. Is there any way to see parent space information from the database back end? I'd like to just reset it from there if possible. Any ideas? Angela No labels 6 Comments Alain Moran https://www.adaptavist.com/doco/display/Builder/Error+formatting+macro+builder-breadcrumbs+java.lang.StackOverflowError The parent space data is stored in bandana under the key 'metadata.Parent'. The builder action attempts to prevent you from creating infinite loops, however the metadata macro has no such checking so it is entirely possible that your assumption about the ever present 'somebody' is quite true. Permalink May 25, 2010 Unknown User (angela_burrows@putnam.com) Hi Alain, I'm not seeing anything called "metadata.Parent" in our bandana table. could this be stored elsewhere? Permalink May 25, 2010 Unknown User (angela_burrows@putnam.com) Is there another breadcrumbs macro that we can use to display just the Dashboard without the parent space? Users don't like to see errors on screen :/ Permalink May 28, 2010 Alain Moran My mistake, the data is stored as a content property - unfortunatley there is no alternative breadcrumbs macro, you could try using the {list-spaces:display=tree|depth=2} macro to help you locate the source of the recursion (the depth parameter will stop it looping forever) Permalink May 28, 2010 Unknown User (angela_burrows@putnam.com) Thanks for that tip. That narrowed down the space but when I searched for "parent" in that space I came up with this: I can't find the "parent-space" macro on any pages within the space.
Page History Restrictions https://java.net/projects/appfuse/lists/users/archive/2007-07/message/957 Page Information Resolved comments Link to this Page… View in Hierarchy View Source Export to PDF Export to Word Copy Page Tree Theme error formatting Builder Plugin … Theme Builder 4 Plugin Theme Builder Documentation User Questions Error in confluence filterFragmentsByCondition Could not evaluate condition Skip to end of metadata Created by Unknown error formatting macro User (sgsantos), last modified on Nov 05, 2009 Go to start of metadata I'm getting lots of errors with this description : 2009-11-05 07:34:00,757 ERROR http-9090-Processor1 atlassian.plugin.web.DefaultWebInterfaceManager filterFragmentsByCondition Could not evaluate condition [com.atlassian.plugin.w eb.conditions.AndCompositeCondition@4464b360] for descriptor adaptavist.builder.admin.choose-layout: java.lang.NullPointerException – url: /admin/indexsummary.action | userName: xpto java.lang.NullPointerException at com.adaptavist.confluence.builder.conditions.BuilderSpaceCondition.shouldDisplay(BuilderSpaceCondition.java:26) at com.atlassian.plugin.web.conditions.AndCompositeCondition.shouldDisplay(AndCompositeCondition.java:15) at com.atlassian.plugin.web.DefaultWebInterfaceManager.filterFragmentsByCondition(DefaultWebInterfaceManager.java:118) at com.atlassian.plugin.web.DefaultWebInterfaceManager.getDisplayableItems(DefaultWebInterfaceManager.java:102) at com.atlassian.confluence.plugin.descriptor.web.ConfluenceWebInterfaceManager.getDisplayableItems(ConfluenceWebInterfaceManager.java:67) at sun.reflect.GeneratedMethodAccessor253.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:295) at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:245) at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:203) at org.apache.velocity.runtime.parser.node.ASTReference.value(ASTReference.java:419) at org.apache.velocity.runtime.parser.node.ASTExpression.value(ASTExpression.java:73) at org.apache.velocity.runtime.parser.node.ASTSetDirective.render(ASTSetDirective.java:125) at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:74) at org.apache.velocity.runtime.directive.Foreach.render(Foreach.java:448) at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:170) at org.ap
Mailing List Use Advanced Search to search the entire archive. appfuse.org » Back to List Archive Chronological | Threaded « Previous Message Next » « Previous Thread Next » From: tibi