Internal server error when opening Clover tab in Bamboo
Symptoms
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: http://xxx.xxx.xxx/bamboo/build/viewCloverSummary.action
Scheme: http
Server: xxx.xxx.xxx
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(AbstractTimePeriodCollector.java:49)
at com.atlassian.bamboo.build.coverage.ViewCloverCoverageSummary.run(ViewCloverCoverageSummary.java:63)
at com.atlassian.bamboo.build.coverage.ViewCloverCoverageSummary.execute(ViewCloverCoverageSummary.java:49)
at sun.reflect.GeneratedMethodAccessor4648.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at com.opensymphony.xwork2.DefaultActionInvocation.invokeAction(DefaultActionInvocation.java:450)
at com.opensymphony.xwork2.DefaultActionInvocation.invokeActionOnly(DefaultActionInvocation.java:289)
at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:252)
at com.opensymphony.xwork2.interceptor.DefaultWorkflowInterceptor.doIntercept(DefaultWorkflowInterceptor.java:167)
...
Cause
This is a bug in Bamboo: BAM-14334. It has been fixed in Bamboo 5.4.2.
Resolution
Upgrade Bamboo to version 5.4.2 or later.
Last modified on Mar 11, 2014
Powered by Confluence and Scroll Viewport.