FAQ 2.2.4 nullpointer on anonymous users
Asked by jim romaine:

I seem to be experiencing a similar issue with the FAQ Addon as reported here:

<https://answers.atlassian.com/questions/312010>

Our error logs have a number of repeated entries for a page containing the FAQ macro:

```
at fr.spectrumgroupe.confluence.macros.FaqQuestion.execute(FaqQuestion.java:167)    at sun.reflect.GeneratedMethodAccessor2319.invoke(Unknown Source)    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)    at java.lang.reflect.Method.invoke(Method.java:497)    at com.atlassian.confluence.macro.xhtml.XhtmlMacroManager$ResourceAwareMacroInvocationHandler.invoke(XhtmlMacroManager.java:229)    at com.sun.proxy.$Proxy2159.execute(Unknown Source)    at com.atlassian.confluence.content.render.xhtml.view.macro.ViewMacroMarshaller.executeMacro(ViewMacroMarshaller.java:267)    at com.atlassian.confluence.content.render.xhtml.view.macro.ViewMacroMarshaller.marshalInternal(ViewMacroMarshaller.java:172)    at com.atlassian.confluence.content.render.xhtml.view.macro.ViewMacroMarshaller.lambda$marshal$444(ViewMacroMarshaller.java:119)    at com.atlassian.confluence.impl.content.render.xhtml.analytics.MetricsCollectingMarshaller.marshal(MetricsCollectingMarshaller.java:56)    at com.atlassian.confluence.content.render.xhtml.view.macro.ViewMacroMarshaller.marshal(ViewMacroMarshaller.java:125)    at com.atlassian.confluence.content.render.xhtml.view.macro.ViewMacroMarshaller.marshal(ViewMacroMarshaller.java:56)    at com.atlassian.confluence.content.render.xhtml.UnmarshalMarshalFragmentTransformer.transform(UnmarshalMarshalFragmentTransformer.java:33)    at com.atlassian.confluence.content.render.xhtml.transformers.DefaultFragmentTransformer.transformFragment(DefaultFragmentTransformer.java:159)    at com.atlassian.confluence.content.render.xhtml.transformers.DefaultFragmentTransformer.transform(DefaultFragmentTransformer.java:135)    at com.atlassian.confluence.content.render.xhtml.storage.macro.DefaultStorageMacroBodyParser.getMacroBody(DefaultStorageMacroBodyParser.java:56)    at com.atlassian.confluence.content.render.xhtml.storage.macro.StorageMacroV2Unmarshaller.unmarshal(StorageMacroV2Unmarshaller.java:154)    at com.atlassian.confluence.content.render.xhtml.storage.macro.DelegatingStorageMacroUnmarshaller.unmarshal(DelegatingStorageMacroUnmarshaller.java:47)    at com.atlassian.confluence.content.render.xhtml.storage.macro.DelegatingStorageMacroUnmarshaller.unmarshal(DelegatingStorageMacroUnmarshaller.java:18)    at com.atlassian.confluence.content.render.xhtml.UnmarshalMarshalFragmentTransformer.transform(UnmarshalMarshalFragmentTransformer.java:32)    at com.atlassian.confluence.content.render.xhtml.transformers.DefaultFragmentTransformer.transformFragment(DefaultFragmentTransformer.java:159)    at com.atlassian.confluence.content.render.xhtml.transformers.DefaultFragmentTransformer.transform(DefaultFragmentTransformer.java:135)    at com.atlassian.confluence.content.render.xhtml.storage.StorageXhtmlTransformer.transform(StorageXhtmlTransformer.java:45)    at com.atlassian.confluence.content.render.xhtml.TransformerChain.transform(TransformerChain.java:38)    at com.atlassian.confluence.content.render.xhtml.TransformerChain.transform(TransformerChain.java:38)    at com.atlassian.confluence.content.render.xhtml.PluggableTransformerChain.transform(PluggableTransformerChain.java:43)    at com.atlassian.confluence.content.render.xhtml.DefaultRenderer.render(DefaultRenderer.java:123)    at com.atlassian.confluence.content.render.xhtml.DefaultRenderer.render(DefaultRenderer.java:105)    at com.atlassian.confluence.content.render.xhtml.DefaultRenderer.render(DefaultRenderer.java:99)    at com.atlassian.confluence.content.render.xhtml.DeviceTypeAwareRenderer.render(DeviceTypeAwareRenderer.java:46)    at com.atlassian.confluence.pages.actions.ViewPageAction.execute(ViewPageAction.java:273)    at com.comalatech.confluence.workflow.actions.ViewPageAction.execute(ViewPageAction.java:220)    at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:168)    at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:35)    at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165)    at com.atlassian.confluence.core.ConfluenceWorkflowInterceptor.intercept(ConfluenceWorkflowInterceptor.java:65)....
```

However, the older post mentioned being fixed in version 1.1.1 and we have version 2.2.4 of FAQ on confluence version 5.9.3.


Answers:
author: jim romaine
body: Added a post on spectrumgroupe site: <http://lab.spectrumgroupe.fr/jira/browse/BPFAQ-8>