I have a page that has 2 'menu' macros. When I go to the page directly, I get the below error for the 2 'menu' macros.
Error rendering macro 'menu'
com.adaptavist.confluence.theme.engine.substitution.Substitutor.setRenderContext(Lcom/atlassian/renderer/RenderContext;)Lcom/adaptavist/confluence/theme/engine/substitution/Substitutor;
Still on Confluence 6.6.16 for our dev environment. Trying to fix these menu issues so we can upgrade Confluence. Anyone know how to fix these menu macro issues? Thank you.
Hello @Henry Simon
Welcome to the Atlassian Community !!
Did you saw the confluence log? Did you find the any error?
I saw that you are using confluence server and I am assuming it that you might need to restart the confluence services from the server. But, before restart I want to know if you find any errors.
Let me know in case of any further help.
Thanks,
Prashant Sultania
Note: Upvote, Like or Accept Answer if it resolves your query
Hi Prashant,
I didn't see any errors before restarting so I restarted the server then went to the page again. Now I see a few errors related to that page.
2021-10-05 00:17:25,977 ERROR [http-nio-8090-exec-1] [plugin.redirection.license.LicensedConfluenceFilter] doFilter License Certificate has expired!
-- url: /display/PTO/menubar | traceId: 363ff68590a6b7fa | userName: xxx
2021-10-05 00:17:26,080 ERROR [http-nio-8090-exec-1] [xhtml.view.macro.ViewMacroMarshaller] handleMacroExecutionException Error rendering macro: menu
-- url: /display/PTO/menubar | traceId: 363ff68590a6b7fa | userName: xxx | action: viewpage | page: 197296147
java.lang.NoSuchMethodError: com.adaptavist.confluence.theme.engine.substitution.Substitutor.setRenderContext(Lcom/atlassian/renderer/RenderContext;)Lcom/adaptavist/confluence/theme/engine/substitution/Substitutor;
at com.adaptavist.confluence.hmenu.macros.MenuItemMacro.execute(MenuItemMacro.java:82)
at com.adaptavist.confluence.hmenu.BuilderMacro.execute(BuilderMacro.java:254)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.atlassian.confluence.macro.xhtml.XhtmlMacroManager$ResourceAwareMacroInvocationHandler.invoke(XhtmlMacroManager.java:203)
at com.sun.proxy.$Proxy2720.execute(Unknown Source)
at com.atlassian.confluence.content.render.xhtml.view.macro.ViewMacroMarshaller.executeMacro(ViewMacroMarshaller.java:273)
at com.atlassian.confluence.content.render.xhtml.view.macro.ViewMacroMarshaller.marshalInternal(ViewMacroMarshaller.java:193)
at com.atlassian.confluence.content.render.xhtml.view.macro.ViewMacroMarshaller.lambda$marshal$0(ViewMacroMarshaller.java:148)
at com.atlassian.confluence.impl.content.render.xhtml.analytics.MetricsCollectingMarshaller.marshal(MetricsCollectingMarshaller.java:52)
at com.atlassian.confluence.content.render.xhtml.view.macro.ViewMacroMarshaller.marshal(ViewMacroMarshaller.java:155)
at com.atlassian.confluence.content.render.xhtml.view.macro.ViewMacroMarshaller.marshal(ViewMacroMarshaller.java:58)
at com.atlassian.confluence.content.render.xhtml.UnmarshalMarshalFragmentTransformer.transform(UnmarshalMarshalFragmentTransformer.java:29)
at com.atlassian.confluence.content.render.xhtml.transformers.DefaultFragmentTransformer.transformFragment(DefaultFragmentTransformer.java:141)
Is it because doFilter License Certificate expired? I updated the licenses earlier today. When I go into Add-ons, everything seems to be up-to-date. Where can I find this doFilter License Certificate if that is the cause of the menu macro issue? Thanks.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.