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

This widget could not be displayed.
This widget could not be displayed.

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 :).


This widget could not be displayed.

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 Aug 22, 2018 in Marketplace Apps

How a Marketplace app tech team is achieving gender diversity

Hello! My name is Genevieve Blanch, and I'm the Marketing Manager at RefinedWiki, creators of apps to give teams the tools to customize Atlassian platforms. Currently, 44% of the tech team at Re...

531 views 3 19
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