Build failing after upgrade due to Bamboo 5.x due to installed third party plugin
Platform Notice: Data Center Only - This article only applies to Atlassian products on the Data Center platform.
Note that this KB was created for the Data Center version of the product. Data Center KBs for non-Data-Center-specific features may also work for Server versions of the product, however they have not been tested. Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.
*Except Fisheye and Crucible
You have recently upgraded from older versions of Bamboo to the recent Bamboo 5.0 and noticed that the build is failing with error in the logs.
The atlassian-bamboo.log
shows the following:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
2013-08-22 15:13:13,577 ERROR [AtlassianEvent::0-BAM::EVENTS:pool-2-thread-15] [EventInvokerRunnable] Uncaught exception running event: com.atlassian.bamboo.v2.build.events.BuildTriggeredEvent[source=com.atlassian.bamboo.build.DefaultBuildExecutionManager@415be27a] and invoker SingleParameterMethodListenerInvoker{method=public void com.atlassian.bamboo.v2.build.queue.BuildTriggeredListener.handleEvent(com.atlassian.bamboo.v2.build.events.BuildTriggeredEvent), listener=com.atlassian.bamboo.v2.build.queue.BuildTriggeredListener@7903a8e8}
java.lang.RuntimeException: com.edwardawebb.bamboo.groupagent.filter.GroupAgentFilter.filter(Lcom/atlassian/bamboo/v2/build/CommonContext;Ljava/util/Collection;Lcom/atlassian/bamboo/v2/build/agent/capability/RequirementSet;)Ljava/util/Collection;
at com.atlassian.event.internal.SingleParameterMethodListenerInvoker.invoke(SingleParameterMethodListenerInvoker.java:54)
at com.atlassian.bamboo.event.spi.EventInvokerRunnable.run(EventInvokerRunnable.java:28)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
at com.atlassian.bamboo.build.pipeline.concurrent.NamedThreadFactory$2.run(NamedThreadFactory.java:52)
at java.lang.Thread.run(Thread.java:722)
Caused by: java.lang.AbstractMethodError: com.edwardawebb.bamboo.groupagent.filter.GroupAgentFilter.filter(Lcom/atlassian/bamboo/v2/build/CommonContext;Ljava/util/Collection;Lcom/atlassian/bamboo/v2/build/agent/capability/RequirementSet;)Ljava/util/Collection;
at com.atlassian.bamboo.plan.ExecutableAgentsHelperImpl.filterWithPlugins(ExecutableAgentsHelperImpl.java:358)
at com.atlassian.bamboo.plan.ExecutableAgentsHelperImpl.getExecutableAgents(ExecutableAgentsHelperImpl.java:134)
at com.atlassian.bamboo.v2.build.queue.BuildQueueManagerImpl.addToJmsQueue(BuildQueueManagerImpl.java:881)
at com.atlassian.bamboo.v2.build.queue.BuildQueueManagerImpl.access$400(BuildQueueManagerImpl.java:72)
at com.atlassian.bamboo.v2.build.queue.BuildQueueManagerImpl$2.run(BuildQueueManagerImpl.java:215)
at com.atlassian.bamboo.v2.build.queue.BuildQueueManagerImpl$CleanupOnErrorRunnable.call(BuildQueueManagerImpl.java:174)
at com.atlassian.bamboo.v2.build.queue.BuildQueueManagerImpl$CleanupOnErrorRunnable.call(BuildQueueManagerImpl.java:169)
at com.atlassian.bamboo.v2.build.queue.BuildQueueManagerImpl$9.doInTransaction(BuildQueueManagerImpl.java:684)
at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:127)
at com.atlassian.bamboo.v2.build.queue.BuildQueueManagerImpl.withWriteLock(BuildQueueManagerImpl.java:676)
at com.atlassian.bamboo.v2.build.queue.BuildQueueManagerImpl.withWriteLockAndCleanup(BuildQueueManagerImpl.java:666)
at com.atlassian.bamboo.v2.build.queue.BuildQueueManagerImpl.addToQueue(BuildQueueManagerImpl.java:203)
at com.atlassian.bamboo.v2.build.queue.BuildTriggeredListener.handleEvent(BuildTriggeredListener.java:33)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at com.atlassian.event.internal.SingleParameterMethodListenerInvoker.invoke(SingleParameterMethodListenerInvoker.java:36)
Cause
You seem to be using the bamboo group agent plugin which is no longer compatible with 5.0.x.
Resolution
Try to check back with the plugin developer if a newer version is released OR you can try to remove the plugin altogether
Was this helpful?