Screenshots
error 05-Aug-2022 10:28:22 Error occurred while running Task 'Build project(3)' of type org.jfrog.bamboo.bamboo-artifactory-plugin:maven3Task.
error 05-Aug-2022 10:28:22 java.lang.NoClassDefFoundError: Could not initialize class org.apache.commons.lang.SystemUtils
error 05-Aug-2022 10:28:22 at org.jfrog.bamboo.task.ArtifactoryMaven3Task.getJavaExecutable(ArtifactoryMaven3Task.java:163)
error 05-Aug-2022 10:28:22 at org.jfrog.bamboo.task.ArtifactoryMaven3Task.getCommand(ArtifactoryMaven3Task.java:218)
error 05-Aug-2022 10:28:22 at org.jfrog.bamboo.task.ArtifactoryMaven3Task.buildCommand(ArtifactoryMaven3Task.java:181)
error 05-Aug-2022 10:28:22 at org.jfrog.bamboo.task.ArtifactoryMaven3Task.runTask(ArtifactoryMaven3Task.java:125)
error 05-Aug-2022 10:28:22 at org.jfrog.bamboo.task.ArtifactoryTaskType.execute(ArtifactoryTaskType.java:46)
error 05-Aug-2022 10:28:22 at com.atlassian.bamboo.task.TaskExecutorImpl.lambda$executeTasks$2(TaskExecutorImpl.java:321)
error 05-Aug-2022 10:28:22 at com.atlassian.bamboo.task.TaskExecutorImpl.executeTaskWithPrePostActions(TaskExecutorImpl.java:258)
error 05-Aug-2022 10:28:22 at com.atlassian.bamboo.task.TaskExecutorImpl.executeTasks(TaskExecutorImpl.java:321)
error 05-Aug-2022 10:28:22 at com.atlassian.bamboo.task.TaskExecutorImpl.execute(TaskExecutorImpl.java:118)
error 05-Aug-2022 10:28:22 at com.atlassian.bamboo.build.pipeline.tasks.ExecuteBuildTask.call(ExecuteBuildTask.java:73)
error 05-Aug-2022 10:28:22 at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent.executeBuildPhase(DefaultBuildAgent.java:205)
error 05-Aug-2022 10:28:22 at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent.build(DefaultBuildAgent.java:177)
error 05-Aug-2022 10:28:22 at com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl.lambda$waitAndPerformBuild$0(BuildAgentControllerImpl.java:169)
error 05-Aug-2022 10:28:22 at com.atlassian.bamboo.variable.CustomVariableContextImpl.withVariableSubstitutor(CustomVariableContextImpl.java:118)
error 05-Aug-2022 10:28:22 at com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl.waitAndPerformBuild(BuildAgentControllerImpl.java:162)
error 05-Aug-2022 10:28:22 at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent.lambda$start$0(DefaultBuildAgent.java:122)
error 05-Aug-2022 10:28:22 at com.atlassian.bamboo.utils.BambooRunnables$1.run(BambooRunnables.java:48)
error 05-Aug-2022 10:28:22 at com.atlassian.bamboo.security.ImpersonationHelper.runWith(ImpersonationHelper.java:26)
error 05-Aug-2022 10:28:22 at com.atlassian.bamboo.security.ImpersonationHelper.runWithSystemAuthority(ImpersonationHelper.java:17)
error 05-Aug-2022 10:28:22 at com.atlassian.bamboo.security.ImpersonationHelper$1.run(ImpersonationHelper.java:41)
Versions
Bamboo Artifactory plugin version: 3.2.9
Bamboo operating system: Ubuntu 18.X
Artifactory Version: 7.12.8
Additional context
Add any other context about the problem here.
Describe the bug
Artifactory maven 3 tasks fails š
Below error for your reference.
Screenshots error 05-Aug-2022 10:28:22 Error occurred while running Task 'Build project(3)' of type org.jfrog.bamboo.bamboo-artifactory-plugin:maven3Task. error 05-Aug-2022 10:28:22 java.lang.NoClassDefFoundError: Could not initialize class org.apache.commons.lang.SystemUtils error 05-Aug-2022 10:28:22 at org.jfrog.bamboo.task.ArtifactoryMaven3Task.getJavaExecutable(ArtifactoryMaven3Task.java:163) error 05-Aug-2022 10:28:22 at org.jfrog.bamboo.task.ArtifactoryMaven3Task.getCommand(ArtifactoryMaven3Task.java:218) error 05-Aug-2022 10:28:22 at org.jfrog.bamboo.task.ArtifactoryMaven3Task.buildCommand(ArtifactoryMaven3Task.java:181) error 05-Aug-2022 10:28:22 at org.jfrog.bamboo.task.ArtifactoryMaven3Task.runTask(ArtifactoryMaven3Task.java:125) error 05-Aug-2022 10:28:22 at org.jfrog.bamboo.task.ArtifactoryTaskType.execute(ArtifactoryTaskType.java:46) error 05-Aug-2022 10:28:22 at com.atlassian.bamboo.task.TaskExecutorImpl.lambda$executeTasks$2(TaskExecutorImpl.java:321) error 05-Aug-2022 10:28:22 at com.atlassian.bamboo.task.TaskExecutorImpl.executeTaskWithPrePostActions(TaskExecutorImpl.java:258) error 05-Aug-2022 10:28:22 at com.atlassian.bamboo.task.TaskExecutorImpl.executeTasks(TaskExecutorImpl.java:321) error 05-Aug-2022 10:28:22 at com.atlassian.bamboo.task.TaskExecutorImpl.execute(TaskExecutorImpl.java:118) error 05-Aug-2022 10:28:22 at com.atlassian.bamboo.build.pipeline.tasks.ExecuteBuildTask.call(ExecuteBuildTask.java:73) error 05-Aug-2022 10:28:22 at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent.executeBuildPhase(DefaultBuildAgent.java:205) error 05-Aug-2022 10:28:22 at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent.build(DefaultBuildAgent.java:177) error 05-Aug-2022 10:28:22 at com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl.lambda$waitAndPerformBuild$0(BuildAgentControllerImpl.java:169) error 05-Aug-2022 10:28:22 at com.atlassian.bamboo.variable.CustomVariableContextImpl.withVariableSubstitutor(CustomVariableContextImpl.java:118) error 05-Aug-2022 10:28:22 at com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl.waitAndPerformBuild(BuildAgentControllerImpl.java:162) error 05-Aug-2022 10:28:22 at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent.lambda$start$0(DefaultBuildAgent.java:122) error 05-Aug-2022 10:28:22 at com.atlassian.bamboo.utils.BambooRunnables$1.run(BambooRunnables.java:48) error 05-Aug-2022 10:28:22 at com.atlassian.bamboo.security.ImpersonationHelper.runWith(ImpersonationHelper.java:26) error 05-Aug-2022 10:28:22 at com.atlassian.bamboo.security.ImpersonationHelper.runWithSystemAuthority(ImpersonationHelper.java:17) error 05-Aug-2022 10:28:22 at com.atlassian.bamboo.security.ImpersonationHelper$1.run(ImpersonationHelper.java:41)
Versions
Additional context Add any other context about the problem here.