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
4,300,102
Community Members
 
Community Events
165
Community Groups

Variable file reader build task bombs after upgrade to Bamboo 8.

Edited

EDIT: Self-corrected. It was subsequently realized that this was due to an out of date add-on. Welp!

 

The below stack trace happens whenever Variable File Reader runs. Prior version of Bamboo was 6.x, where it worked fine. I have tried recreating the build tasks in question, but still with the same java.lang.NoSuchMethodError result.

Running on Oracle JDK 11. Same result with JRE 1.8.

 

13-Nov-2021 19:38:19Error occurred while running Task 'Read version 2(18)' of type com.atlassian.bamboo.plugins.variable.updater.variable-updater-generic:variable-file-reader.
13-Nov-2021 19:38:19java.lang.NoSuchMethodError: com.atlassian.bamboo.variable.VariableContext.getDefinitions()Ljava/util/Map;
13-Nov-2021 19:38:19        at com.atlassian.bamboo.plugins.variable.updater.task.executor.VersionVariableTask.retrieveCurrentValue(VersionVariableTask.java:54)
13-Nov-2021 19:38:19        at com.atlassian.bamboo.plugins.variable.updater.task.executor.ReadFileVariableTask.executeTask(ReadFileVariableTask.java:53)
13-Nov-2021 19:38:19        at com.atlassian.bamboo.plugins.variable.updater.task.executor.VersionVariableTask.execute(VersionVariableTask.java:31)
13-Nov-2021 19:38:19        at com.atlassian.bamboo.task.TaskExecutorImpl.lambda$executeTasks$2(TaskExecutorImpl.java:321)
13-Nov-2021 19:38:19        at com.atlassian.bamboo.task.TaskExecutorImpl.executeTaskWithPrePostActions(TaskExecutorImpl.java:258)
13-Nov-2021 19:38:19        at com.atlassian.bamboo.task.TaskExecutorImpl.executeTasks(TaskExecutorImpl.java:321)
13-Nov-2021 19:38:19        at com.atlassian.bamboo.task.TaskExecutorImpl.execute(TaskExecutorImpl.java:118)
13-Nov-2021 19:38:19        at com.atlassian.bamboo.build.pipeline.tasks.ExecuteBuildTask.call(ExecuteBuildTask.java:73)
13-Nov-2021 19:38:19        at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent.executeBuildPhase(DefaultBuildAgent.java:205)
13-Nov-2021 19:38:19        at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent.build(DefaultBuildAgent.java:177)
13-Nov-2021 19:38:19        at com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl.lambda$waitAndPerformBuild$0(BuildAgentControllerImpl.java:168)
13-Nov-2021 19:38:19        at com.atlassian.bamboo.variable.CustomVariableContextImpl.withVariableSubstitutor(CustomVariableContextImpl.java:118)
13-Nov-2021 19:38:19        at com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl.waitAndPerformBuild(BuildAgentControllerImpl.java:161)
13-Nov-2021 19:38:19        at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent.lambda$start$0(DefaultBuildAgent.java:122)
13-Nov-2021 19:38:19        at com.atlassian.bamboo.utils.BambooRunnables$1.run(BambooRunnables.java:48)
13-Nov-2021 19:38:19        at com.atlassian.bamboo.security.ImpersonationHelper.runWith(ImpersonationHelper.java:26)
13-Nov-2021 19:38:19        at com.atlassian.bamboo.security.ImpersonationHelper.runWithSystemAuthority(ImpersonationHelper.java:17)
13-Nov-2021 19:38:19        at com.atlassian.bamboo.security.ImpersonationHelper$1.run(ImpersonationHelper.java:41)
13-Nov-2021 19:38:19        at java.lang.Thread.run(Thread.java:748)

1 answer

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Bamboo

Bamboo Data Center on Kubernetes

Hi, If you are running self-managed environments and looking to adopt modern infrastructure, Bamboo Data Center can now be deployed in a Kubernetes cluster. By leveraging Kubernetes, you can easily...

967 views 3 8
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you