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

Dale Ghent
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
November 13, 2021

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

1 vote
Alexey Chystoprudov
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
November 15, 2021

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events