Uploaded image for project: 'Confluence Data Center'
  1. Confluence Data Center
  2. CONFSERVER-13548

Confluence CLI generates null Pointer Exception when adding pages with gallery

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Medium Medium
    • None
    • 2.9.1
    • Editor - Attachment

      Adding pages to confluence using cli 1.3 i get an error from the gallery macro whren the page to be added contains a statement like

      {gallery}

      - everythinf else works fine.

      2008-10-28 15:22:57,856 ERROR [http-8080-Processor21] [plugins.macros.advanced.GalleryMacro] execute Error while trying to draw the image gallery
       -- url: /confluence/rpc/soap-axis/confluenceservice-v1 | userName: anonymous
      org.apache.velocity.exception.MethodInvocationException: Invocation of method 'requireResource' in  class $Proxy40 threw exception java.lang.NullPointerException @ /com/atlassian/confluence/plugins/macros/advanced/gallery-default.vm[1,21]
              at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:286)
              at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:203)
              at org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:294)
              at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:318)
              at org.apache.velocity.runtime.directive.VelocimacroProxy.render(VelocimacroProxy.java:194)
              at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:170)
              at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:318)
              at org.apache.velocity.Template.merge(Template.java:254)
              at com.atlassian.confluence.util.velocity.VelocityUtils.getRenderedTemplateWithoutSwallowingErrors(VelocityUtils.java:56)
              at com.atlassian.confluence.plugins.macros.advanced.GalleryMacro.execute(GalleryMacro.java:86)
              at com.atlassian.renderer.v2.macro.ResourceAwareMacroDecorator.execute(ResourceAwareMacroDecorator.java:45)
              at com.atlassian.renderer.v2.components.MacroRendererComponent.executeMacro(MacroRendererComponent.java:297)
              at com.atlassian.renderer.v2.components.MacroRendererComponent.processMacro(MacroRendererComponent.java:255)
              at com.atlassian.renderer.v2.components.MacroRendererComponent.makeMacro(MacroRendererComponent.java:151)
              at com.atlassian.renderer.v2.components.WikiContentRendererHandler.handleMacro(WikiContentRendererHandler.java:18)
              at com.atlassian.renderer.v2.WikiMarkupParser.makeMacro(WikiMarkupParser.java:126)
              at com.atlassian.renderer.v2.WikiMarkupParser.makeMacro(WikiMarkupParser.java:114)
              at com.atlassian.renderer.v2.WikiMarkupParser.handlePotentialMacro(WikiMarkupParser.java:99)
              at com.atlassian.renderer.v2.WikiMarkupParser.parse(WikiMarkupParser.java:60)
              at com.atlassian.renderer.v2.components.MacroRendererComponent.render(MacroRendererComponent.java:47)
      

      we use adaptavist - but it´s no difference if i use activate an ada

              Unassigned Unassigned
              c3e043724fa1 Robert Robert
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: