Blog Posts macro throws an error 'Execute Already Included Page' when invalid label is specified
Platform Notice: Data Center - This article applies to Atlassian products on the Data Center platform.
Note that this knowledge base article was created for the Data Center version of the product. Data Center knowledge base articles for non-Data Center-specific features may also work for Server versions of the product, however they have not been tested. Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.
*Except Fisheye and Crucible
Problem
Error is thrown from the Blog Posts macro. This may happen after an upgrade is done.
The following appears in the atlassian-confluence.log
:
2014-07-14 20:59:50,062 WARN [http-10060-9] [xhtml.view.macro.ViewMacroMarshaller] marshalInternal Exception executing macro: blog-posts, with message: Already included page Test Home, stopping.
-- url: /display/TEST/Home/ | page: 1835603 | userName: anonymous | action: viewpage
2014-07-14 20:59:50,066 ERROR [http-10060-9] [plugins.macros.advanced.BlogPostsMacro] execute Already included page Test Home, stopping.
-- url: /display/TEST/Home/ | page: 1835603 | userName: anonymous | action: viewpage
com.atlassian.renderer.v2.macro.MacroException: Already included page Test Home, stopping.
at com.atlassian.confluence.plugins.macros.advanced.BlogPostsMacro.execute(BlogPostsMacro.java:245)
at com.atlassian.confluence.macro.ContentFilteringMacro.execute(ContentFilteringMacro.java:106)
at com.atlassian.confluence.plugins.macros.advanced.BlogPostsMacro.execute(BlogPostsMacro.java:213)
at sun.reflect.GeneratedMethodAccessor1531.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at com.atlassian.confluence.macro.xhtml.XhtmlMacroManager$ResourceAwareMacroInvocationHandler.invoke(XhtmlMacroManager.java:225)
at com.sun.proxy.$Proxy2440.execute(Unknown Source)
...
Cause
A non-existing label is inserted into the Blog Posts Macro in the page.
Resolution
- Find the specific page mentioned in the trace log
- Remove the non-existing label mentioned inside the Blog Posts Macro