NoSuchMethodError when using the usage macro

Still need help?

The Atlassian Community is here for you.

Ask the community


Trying to embed the {usage} macro on a page generates the following error:

Error formatting macro: usage: java.lang.NoSuchMethodError:;)Lorg/jfree/data/time/TimeSeries;

The following appears in the atlassian-confluence.log

	at com.atlassian.confluence.ext.usage.index.UsageIndexManager$1$1.collectResult(
	at com.atlassian.confluence.ext.usage.index.UsageIndexManager$1$1.collect(
	at com.atlassian.confluence.ext.usage.index.UsageIndexManager$1.perform(
	at com.atlassian.bonnie.LuceneConnection.withSearch(
	at com.atlassian.confluence.ext.usage.index.UsageIndexManager.queryUsage(
	at com.atlassian.confluence.ext.usage.macros.UsageStatsMacro.execute(


This error may occur if you have upgraded the version of the JFreeChart open source library that is included with Confluence. The upgrade may have been necessary in order to use a third-party Confluence plugin that requires a newer version of JFreeChart. The version of JFreeChart required by the usage macro is "1.0.0". Your current version of the JFreeChart library can by found by examining the WEB-INF/lib directory of your Confluence installation.


  1. Download the usage-tracking-plugin-0.14.1-SNAPSHOT.jar file attached to this Knowledge Base article, which is a modified version of the Usage Tracking Plugin that you can use to resolve this problem.
  2. Follow the instructions on installing by file upload in Installing Marketplace apps to apply the modified plugin version to Confluence.
  3. Verify that the macro is now functioning correctly.



















Last modified on Mar 30, 2016

Was this helpful?

Provide feedback about this article
Powered by Confluence and Scroll Viewport.