Hi,
I am trying to get Theme Builder to render a few menulinks in Confluence 3.0 and I get the following java exception thrown in the Confluence log:
2009-08-25 14:34:18,275 ERROR [http-8080-5] [renderer.v2.components.MacroRendererComponent] processMacro Unexpected error formatting macro: menulink
java.lang.ArrayIndexOutOfBoundsException: 1
at com.adaptavist.confluence.builder.macros.menus.MenuLinkMacro.execute(MenuLinkMacro.java:218)
at com.atlassian.renderer.v2.macro.ResourceAwareMacroDecorator.execute(ResourceAwareMacroDecorator.java:45)
at com.atlassian.renderer.v2.components.MacroRendererComponent.executeMacro(MacroRendererComponent.java:196)
at com.atlassian.renderer.v2.components.MacroRendererComponent.processMacro(MacroRendererComponent.java:154)
at com.atlassian.renderer.v2.components.MacroRendererComponent.makeMacro(MacroRendererComponent.java:58)
at com.atlassian.renderer.v2.components.WikiContentRendererHandler.handleMacro(WikiContentRendererHandler.java:18)
at com.atlassian.renderer.v2.WikiMarkupParser.makeMacro(WikiMarkupParser.java:120)
......
Any idea what could be causing this?
.png)








Comments (3)
Aug 26, 2009
Alain Moran says:
What version of Builder are you using?What version of Builder are you using?
Aug 26, 2009
Chris Roush says:
Sorry, I should have added more details. I am using version 3.3.5-conf210.Sorry, I should have added more details. I am using version 3.3.5-conf210.
Sep 01, 2009
Chris Roush says:
I found that this was an issue with the aliases within the macro. For example I ...I found that this was an issue with the aliases within the macro. For example I created an alias called 'importdoc'. I know the actual URL attached to the alias works, but it causes the menu item to dissappear. If I change the action within the macro to something else like , the link will show up. It only seems to be a problem with aliases.
Thoughts?