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.

 

Problem

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(ArrayList.java:547)
	at java.util.ArrayList.get(ArrayList.java:322)

Diagnosis

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

Cause

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

Workaround

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

Resolution

 

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

Last modified on Mar 30, 2016

Was this helpful?

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