Error when using pocket sql in a 'public' page.

If no user is logged in, the page shows "Error rendering macro 'pocketquery' : null" instead of the SQL result.

2013-08-01 12:54:15,916 ERROR [TP-Processor114] [xhtml.view.macro.ViewMacroMarshaller] marshal Error rendering macro: pocketquery
-- url: /display/SPACE/PAGE | page: 786439 | userName: anonymous | referer: https://xxxx/display/xxxxxx | action: viewpage
at de.scandio.confluence.plugins.pocketquery.macros.PocketQueryMacro.createAdditionalParamsMap(
at de.scandio.confluence.plugins.pocketquery.macros.PocketQueryMacro.proceed(
at de.scandio.confluence.plugins.pocketquery.macros.PocketQueryMacro.execute(
at com.atlassian.renderer.v2.macro.ResourceAwareMacroDecorator.execute(
at com.atlassian.confluence.macro.V2CompatibilityMacro.execute(
at com.atlassian.confluence.macro.LazyLoadingMacroWrapper.execute(
at com.atlassian.confluence.content.render.xhtml.view.macro.ViewMacroMarshaller.marshal(
at com.atlassian.confluence.content.render.xhtml.view.macro.ViewMacroMarshaller.marshal(
at com.atlassian.confluence.content.render.xhtml.UnmarshalMarshalFragmentTransformer.transform(
at com.atlassian.confluence.content.render.xhtml.transformers.DefaultFragmentTransformer.transform(
at com.atlassian.confluence.content.render.xhtml.TransformerChain.transform(
at com.atlassian.confluence.content.render.xhtml.PluggableTransformerChain.transform(
at com.atlassian.confluence.content.render.xhtml.DefaultRenderer.render(
at com.atlassian.confluence.content.render.xhtml.DefaultRenderer.render(
at com.atlassian.confluence.content.render.xhtml.DefaultRenderer.render(
at com.atlassian.confluence.content.render.xhtml.DeviceTypeAwareRenderer.render(

3 answers

Hallo both,

sorry, I saw this post a little late. I'm the developer of the PocketQuery, thank you for your interest in our plugin! We are currently assuming a logged-in user within the macro code, since we did not expect the requirement of anonymous users using the macro.

I will fix this with the new release, such that the macro can be used as anonymous user as well and I'll let you know here when the new version is available. Thank you for your patience!

In the meanwhile, I'd be very happy if you left some feedback for the Plugin at the Marketplace :).


I know, this took very long, but find our new release now at the Atlassian Marketplace. The new version solves this problem.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Mar 13, 2019 in Marketplace Apps

Marketplace Spotlight: Marketing apps for Confluence to keep your teams working on the same page


270 views 0 7
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you