/
Report Blocks and Report Info show an error

Report Blocks and Report Info show an error


Report Blocks and Report Info show an error

Summary

When viewing a page with Report Blocks and Report Info, the macro shows the following error:

com.atlassian.confluence.user.ConfluenceUserPreferences.getDateFormatter(Lcom/atlassian/confluence/core/FormatSettingsManager;)Lcom/atlassian/confluence/core/DateFormatter;

 

Caused by: java.lang.NoSuchMethodError: com.atlassian.confluence.user.ConfluenceUserPreferences.getDateFormatter(Lcom/atlassian/co nfluence/core/FormatSettingsManager;)Lcom/atlassian/confluence/core/DateFormatter; at org.andya.confluence.utils.ContentService.getDateFormatter(ContentService.java:276) at org.andya.confluence.utils.ContentService.getContentValue(ContentService.java:126) at org.andya.confluence.plugins.metadata.MetadataUtils.getMetadataValue(MetadataUtils.java:193) at org.andya.confluence.plugins.metadata.supplier.MetadataSupplier.getContent(MetadataSupplier.java:69) at sun.reflect.GeneratedMethodAccessor10393.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at com.servicerocket.confluence.randombits.supplier.core.annotate.AnnotatedKeyHandler.process(AnnotatedKeyHandler.java:192)

Environment

  • Confluence Server/Data Center

Diagnostics Steps

Check if the Metadata for Confluence plugin is installed in the instance and temporarily disable the app. Then, see if the Reporting macro is able to render it properly.

Cause

The Metadata for Confluence plugin appears to break the Reporting macros.

Workaround

  • N/A

Resolution

Disable or update the Metadata for Confluence plugin.

Related content