Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root


1 badge earned


Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!


Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.


Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!


Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

com.atlassian.bamboo.resultsummary.IncorrectResultSummaryTypeException: Result cannot be found by ke


Hi, starting with 6.9.0 i'm getting an error from ViewBuildResults class which 


It was working before that version now it's giving following error:

com.atlassian.bamboo.resultsummary.IncorrectResultSummaryTypeException: Result cannot be found by key 'ABP-PLAN-1' with type 'interface com.atlassian.bamboo.resultsummary.BuildResultsSummary'

How to solve this problem? Btw if manually add Job name to buildkey it works. Eg:





atlassian-plugin.xml ->

<web-item key="netsparker-cloud-plan-report" name="Netsparker Enterprise Plan Report" section="chainResults.subMenu/chainResults" weight="50">
<description key="NetsparkerCloudReport.desc">Provides Netsparker Enterprise scan report.</description>
<label key="Netsparker Enterprise Report"/>
<link linkId="NetsparkerCloudPlanDetails">/build/result/viewNetsparkerCloudReport.action?buildKey=${buildKey}&amp;buildNumber=${buildNumber}</link>
<package name="NetsparkerCloudScanResult" extends="buildView" namespace="/build/result">
<action name="viewNetsparkerCloudReport" class="com.netsparker.tasks.NetsparkerCloudReport" method="default">
<result name="input" type="freemarker">/templates/task/NetsparkerCloudReport.ftl</result>
<result name="success" type="freemarker">/templates/task/NetsparkerCloudReport.ftl</result>
<result name="error" type="freemarker">/templates/task/NetsparkerCloudReport.ftl</result>


error info:

Version: 6.10.3
Build: 61008
Build Date: 27 Sep 2019

Request information:

  • Request URL: http://localhost:6990/bamboo/build/result/viewNetsparkerCloudReport.action
  • Scheme: http
  • Server: localhost
  • Port: 6990
  • URI: /bamboo/build/result/viewNetsparkerCloudReport.action
  • Context path: /bamboo
  • Servlet path: /build/result/viewNetsparkerCloudReport.action
  • Path info:
  • Query string: buildKey=ABP-PLAN&buildNumber=1

Stack Trace:

com.atlassian.bamboo.resultsummary.IncorrectResultSummaryTypeException: Result cannot be found by key 'ABP-PLAN-1' with type 'interface com.atlassian.bamboo.resultsummary.BuildResultsSummary'
	at com.atlassian.bamboo.resultsummary.BuildResultsSummaryManagerImpl.getResultsSummary(
	at com.atlassian.bamboo.resultsummary.BuildResultsSummaryManagerImpl.getResultsSummary(
	at sun.reflect.GeneratedMethodAccessor1287.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(
	at java.lang.reflect.Method.invoke(
	at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(
	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(
	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(
	at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(
	at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(
	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(
	at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(


3 answers

1 accepted

1 vote
Answer accepted

for future references whom may need, i've changed extending class from ViewBuildResults to PlanResultsAction and it worked for me

Or a simple alternative is also added below if you are using till bamboo 6.9

For 6.10 and above, use @Ali Karaca 's solution.

Hi @Ali Karaca

I am also facing the same issue. Have you found any solution around it?


Rohan Chougule,

Software Engineer,


Hi @Rohan Chougule before answering, funny thing is while we were testing our plugin BrowserStack were giving same error too. i've checked BrowserStack's github bamboo repo which is too old. 

I've searched everywhere and waste so many time to find this so here it comes:

i've changed our NetsparkerCloudReport  class which extends

ViewBuildResults to PlanResultsAction and it worked. You can check my commit for details

Thanks for the response @Ali Karaca

Your solution seems like a proper fix by extending the PlanResultsAction instead of the Builds one.

Bamboo seems to have changed the way they retrieve the builds data and haven't documented anywhere. (or probably they have, but I couldn't find it.)

Thanks again!

@Rohan Chougule you are welcome! I've wasted few days to find this made me went insane glad to hear that work and saved your time. Bamboo documentation is so outdated and atlassian doesn't care. Like you've said there is no info about it, i couldn't find either. Seems like i've lucky to find an answer. If you solve an issue like this please share the knowledge. 

Good luck on bamboo!

Like Rohan Chougule likes this

@Ali Karaca 

Sure I will! 

But I am still curious as to know how were you able to come up with your solution. You actually changed the class which we extend for our report generation. How did you come up with this approach? Would like to know more about it! Thanks!

Found the solution (Till v6.9):

Just replace the buildKey query param to planKey.

The value is retrieved from the key buildKey and assigned to planKey query param.

From this


 To this : 


In your atlassian-plugin.xml, replace it to this : 

<link linkId="NetsparkerCloudPlanDetails">/build/result/viewNetsparkerCloudReport.action?planKey=${buildKey}&amp;buildNumber=${buildNumber}</link>


Suggest an answer

Log in or Sign up to answer
AUG Leaders

Atlassian Community Events