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: 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)
...

原因

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.

 

Last modified on Mar 11, 2014

この内容はお役に立ちましたか?

はい
いいえ
この記事についてのフィードバックを送信する
Powered by Confluence and Scroll Viewport.