Clover Knowledge Base : Internal server error when opening Clover tab in Bamboo


Bamboo 5.4 or 5.4.1 is installed. Clover is enabled for a project. An attempt to click on the "Clover" tab for a plan in order to see a summary ends with the "Internal server error" page having a message like:

Version: 5.4.1
Build: 4207
Build Date: 12 Feb 2014
Request information:
Request URL:
Scheme: http
Port: 80
URI: /bamboo/build/viewCloverSummary.action
Context path: /bamboo
Servlet path: /build/viewCloverSummary.action

and a stack trace like:

Stack Trace:
java.lang.ClassCastException: com.atlassian.bamboo.chains.ChainResultsSummaryImpl cannot be cast to com.atlassian.bamboo.resultsummary.BuildResultsSummary
at com.atlassian.bamboo.reports.collector.AbstractTimePeriodCollector.getDataset(
at sun.reflect.GeneratedMethodAccessor4648.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(
at java.lang.reflect.Method.invoke(
at com.opensymphony.xwork2.DefaultActionInvocation.invokeAction(
at com.opensymphony.xwork2.DefaultActionInvocation.invokeActionOnly(
at com.opensymphony.xwork2.DefaultActionInvocation.invoke(
at com.opensymphony.xwork2.interceptor.DefaultWorkflowInterceptor.doIntercept(


This is a bug in Bamboo: BAM-14334. It has been fixed in Bamboo 5.4.2. 


Upgrade Bamboo to version 5.4.2 or later.