com.atlassian.bamboo.task.TaskException

tip

Take a look at this blog post on how to set up Grid2 https://goo.gl/rxzbE6. A user related (in the email group on the source) that using older selenium libs solves this exception.

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

  • We have had a single agent happily running Groovy tasks for some time. We installed 4 more agents and all get the following: 02-Feb-2015 15:04:50 Starting task 'Prepare Build Script' of type 'org.swift.bamboo.groovy:groovy' 02-Feb-2015 15:04:51 Error occurred while running Task 'Prepare Build Script(3)' of type org.swift.bamboo.groovy:groovy. 02-Feb-2015 15:04:51 com.atlassian.bamboo.task.TaskException: Task failed with exception 02-Feb-2015 15:04:51 at org.swift.bamboo.groovy.BaseTask.execute(BaseTask.java:147) 02-Feb-2015 15:04:51 at com.atlassian.bamboo.task.TaskExecutorImpl.executeTasks(TaskExecutorImpl.java:220) 02-Feb-2015 15:04:51 at com.atlassian.bamboo.task.TaskExecutorImpl.execute(TaskExecutorImpl.java:98) 02-Feb-2015 15:04:51 at com.atlassian.bamboo.build.pipeline.tasks.ExecuteBuildTask.call(ExecuteBuildTask.java:75) 02-Feb-2015 15:04:51 at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent.build(DefaultBuildAgent.java:188) 02-Feb-2015 15:04:51 at com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl.waitAndPerformBuild(BuildAgentControllerImpl.java:112) 02-Feb-2015 15:04:51 at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent$1.run(DefaultBuildAgent.java:110) 02-Feb-2015 15:04:51 at com.atlassian.bamboo.utils.BambooRunnables$1.run(BambooRunnables.java:49) 02-Feb-2015 15:04:51 at com.atlassian.bamboo.security.ImpersonationHelper.runWith(ImpersonationHelper.java:31) 02-Feb-2015 15:04:51 at com.atlassian.bamboo.security.ImpersonationHelper.runWithSystemAuthority(ImpersonationHelper.java:20) 02-Feb-2015 15:04:51 at com.atlassian.bamboo.security.ImpersonationHelper$1.run(ImpersonationHelper.java:52) 02-Feb-2015 15:04:51 at java.lang.Thread.run(Unknown Source) 02-Feb-2015 15:04:51 Caused by: java.lang.NullPointerException: Executable path is not defined 02-Feb-2015 15:04:51 at com.google.common.base.Preconditions.checkNotNull(Preconditions.java:204) 02-Feb-2015 15:04:51 at org.swift.bamboo.groovy.BaseTask.getCapabilityPath(BaseTask.java:245) 02-Feb-2015 15:04:51 at org.swift.bamboo.groovy.BaseTask.getExecutable(BaseTask.java:213) 02-Feb-2015 15:04:51 at org.swift.bamboo.groovy.BaseTask.getCommandList(BaseTask.java:163) 02-Feb-2015 15:04:51 at org.swift.bamboo.groovy.BaseTask.execute(BaseTask.java:125) 02-Feb-2015 15:04:51 ... 11 more
    via by David Mills,
  • We have had a single agent happily running Groovy tasks for some time. We installed 4 more agents and all get the following: 02-Feb-2015 15:04:50 Starting task 'Prepare Build Script' of type 'org.swift.bamboo.groovy:groovy' 02-Feb-2015 15:04:51 Error occurred while running Task 'Prepare Build Script(3)' of type org.swift.bamboo.groovy:groovy. 02-Feb-2015 15:04:51 com.atlassian.bamboo.task.TaskException: Task failed with exception 02-Feb-2015 15:04:51 at org.swift.bamboo.groovy.BaseTask.execute(BaseTask.java:147) 02-Feb-2015 15:04:51 at com.atlassian.bamboo.task.TaskExecutorImpl.executeTasks(TaskExecutorImpl.java:220) 02-Feb-2015 15:04:51 at com.atlassian.bamboo.task.TaskExecutorImpl.execute(TaskExecutorImpl.java:98) 02-Feb-2015 15:04:51 at com.atlassian.bamboo.build.pipeline.tasks.ExecuteBuildTask.call(ExecuteBuildTask.java:75) 02-Feb-2015 15:04:51 at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent.build(DefaultBuildAgent.java:188) 02-Feb-2015 15:04:51 at com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl.waitAndPerformBuild(BuildAgentControllerImpl.java:112) 02-Feb-2015 15:04:51 at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent$1.run(DefaultBuildAgent.java:110) 02-Feb-2015 15:04:51 at com.atlassian.bamboo.utils.BambooRunnables$1.run(BambooRunnables.java:49) 02-Feb-2015 15:04:51 at com.atlassian.bamboo.security.ImpersonationHelper.runWith(ImpersonationHelper.java:31) 02-Feb-2015 15:04:51 at com.atlassian.bamboo.security.ImpersonationHelper.runWithSystemAuthority(ImpersonationHelper.java:20) 02-Feb-2015 15:04:51 at com.atlassian.bamboo.security.ImpersonationHelper$1.run(ImpersonationHelper.java:52) 02-Feb-2015 15:04:51 at java.lang.Thread.run(Unknown Source) 02-Feb-2015 15:04:51 Caused by: java.lang.NullPointerException: Executable path is not defined 02-Feb-2015 15:04:51 at com.google.common.base.Preconditions.checkNotNull(Preconditions.java:204) 02-Feb-2015 15:04:51 at org.swift.bamboo.groovy.BaseTask.getCapabilityPath(BaseTask.java:245) 02-Feb-2015 15:04:51 at org.swift.bamboo.groovy.BaseTask.getExecutable(BaseTask.java:213) 02-Feb-2015 15:04:51 at org.swift.bamboo.groovy.BaseTask.getCommandList(BaseTask.java:163) 02-Feb-2015 15:04:51 at org.swift.bamboo.groovy.BaseTask.execute(BaseTask.java:125) 02-Feb-2015 15:04:51 ... 11 more
    via by David Mills,
  • How to find Docker REST API URI for Jenkins
    via Stack Overflow by pcsram
    ,
  • Error running GPW - OpenNLP
    via GitHub by joeferner
    ,
  • SonarQube - QProfile is missing
    via Stack Overflow by shaunSCM
    ,
  • using docker plugin on jenkins -
    via Stack Overflow by max
    ,
  • How to ignore IE errors ?
    via by Tenumm,
    • com.atlassian.bamboo.task.TaskException: Task failed with exception at org.swift.bamboo.groovy.BaseTask.execute(BaseTask.java:147) at com.atlassian.bamboo.task.TaskExecutorImpl.executeTasks(TaskExecutorImpl.java:220) at com.atlassian.bamboo.task.TaskExecutorImpl.execute(TaskExecutorImpl.java:98) at com.atlassian.bamboo.build.pipeline.tasks.ExecuteBuildTask.call(ExecuteBuildTask.java:75) at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent.build(DefaultBuildAgent.java:188) at com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl.waitAndPerformBuild(BuildAgentControllerImpl.java:112) at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent$1.run(DefaultBuildAgent.java:110) at com.atlassian.bamboo.utils.BambooRunnables$1.run(BambooRunnables.java:49) at com.atlassian.bamboo.security.ImpersonationHelper.runWith(ImpersonationHelper.java:31) at com.atlassian.bamboo.security.ImpersonationHelper.runWithSystemAuthority(ImpersonationHelper.java:20) at com.atlassian.bamboo.security.ImpersonationHelper$1.run(ImpersonationHelper.java:52) at java.lang.Thread.run(Unknown Source) Caused by: java.lang.NullPointerException: Executable path is not defined at com.google.common.base.Preconditions.checkNotNull(Preconditions.java:204) at org.swift.bamboo.groovy.BaseTask.getCapabilityPath(BaseTask.java:245) at org.swift.bamboo.groovy.BaseTask.getExecutable(BaseTask.java:213) at org.swift.bamboo.groovy.BaseTask.getCommandList(BaseTask.java:163) at org.swift.bamboo.groovy.BaseTask.execute(BaseTask.java:125) ... 11 more

    Users with the same issue

    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    83 more bugmates