Skip to end of metadata
Go to start of metadata


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(
        at com.atlassian.renderer.v2.macro.ResourceAwareMacroDecorator.execute(
        at com.atlassian.renderer.v2.components.MacroRendererComponent.executeMacro(
        at com.atlassian.renderer.v2.components.MacroRendererComponent.processMacro(
        at com.atlassian.renderer.v2.components.MacroRendererComponent.makeMacro(
        at com.atlassian.renderer.v2.components.WikiContentRendererHandler.handleMacro(
        at com.atlassian.renderer.v2.WikiMarkupParser.makeMacro(

Any idea what could be causing this?

  • No labels


  1. What version of Builder are you using?

    1. Unknown User (chrisroush)

      Sorry, I should have added more details. I am using version 3.3.5-conf210.

    2. Unknown User (chrisroush)

      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

      Unknown macro: {menuitem}

      , the link will show up. It only seems to be a problem with aliases.