Garbage collection caused by Viewtracker plugin causing IndexOutOfBoundsException error

Still need help?

The Atlassian Community is here for you.

Ask the community

Platform Notice: Server and Data Center Only - This article only applies to Atlassian products on the server and data center platforms.



Garbage collector messages can be seen in atlassian-confluence.log:

ERROR [tomcat-http--171] [xhtml.view.macro.ViewMacroMarshaller] marshal Error rendering macro: viewtracker
 -- url: /confluence/pages/docreatepage.action | userName: XXXXXX | referer: https://XXXXXXXXXXX/confluence/pages/createpage-entervariables.action | action: docreatepage
java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
	at java.util.ArrayList.RangeCheck(
	at java.util.ArrayList.get(


The diagnosis is done by verifying the atlassian confluence logs and spotting the above. The IndexOutOfBoundsException is thrown on rendering the viewtracker macro.


The IndexOutOfBoundsException caused by the Viewtracker macro causes the garbage collector performance degradation.


Upgrade the Viewtracker plugin to version 3.0.2 according to this bug report.



If the workaround above doesn't help, please remove the Viewtracker plugin.

Last modified on Mar 30, 2016

Was this helpful?

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