com.atlassian.bamboo.task.TaskException: Task failed with exception

JIRA | David Mills | 2 years ago
  1. 0

    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

    JIRA | 2 years ago | David Mills
    com.atlassian.bamboo.task.TaskException: Task failed with exception
  2. 0

    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

    JIRA | 2 years ago | David Mills
    com.atlassian.bamboo.task.TaskException: Task failed with exception
  3. 0

    How to find Docker REST API URI for Jenkins

    Stack Overflow | 5 months ago | pcsram
    java.lang.NullPointerException: uri was not specified
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Error running GPW - OpenNLP

    GitHub | 2 years ago | joeferner
    java.lang.NullPointerException: visibilityJson cannot be null
  6. 0

    Capability detection on remote agents.

    GitHub | 2 years ago | olisun
    java.lang.NullPointerException: Capability

  1. batwalrus76 3 times, last 1 week ago
  2. musketyr 2 times, last 3 months ago
  3. Nikolay Rybak 6 times, last 3 months ago
  4. Stefan Braune 1 times, last 5 months ago
  5. adawolfs 39 times, last 4 months ago
10 more registered users
46 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.NullPointerException

    Executable path is not defined

    at com.google.common.base.Preconditions.checkNotNull()
  2. Guava
    Preconditions.checkNotNull
    1. com.google.common.base.Preconditions.checkNotNull(Preconditions.java:204)
    1 frame
  3. org.swift.bamboo
    BaseTask.execute
    1. org.swift.bamboo.groovy.BaseTask.getCapabilityPath(BaseTask.java:245)
    2. org.swift.bamboo.groovy.BaseTask.getExecutable(BaseTask.java:213)
    3. org.swift.bamboo.groovy.BaseTask.getCommandList(BaseTask.java:163)
    4. org.swift.bamboo.groovy.BaseTask.execute(BaseTask.java:125)
    4 frames
  4. com.atlassian.bamboo
    ImpersonationHelper$1.run
    1. com.atlassian.bamboo.task.TaskExecutorImpl.executeTasks(TaskExecutorImpl.java:220)
    2. com.atlassian.bamboo.task.TaskExecutorImpl.execute(TaskExecutorImpl.java:98)
    3. com.atlassian.bamboo.build.pipeline.tasks.ExecuteBuildTask.call(ExecuteBuildTask.java:75)
    4. com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent.build(DefaultBuildAgent.java:188)
    5. com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl.waitAndPerformBuild(BuildAgentControllerImpl.java:112)
    6. com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent$1.run(DefaultBuildAgent.java:110)
    7. com.atlassian.bamboo.utils.BambooRunnables$1.run(BambooRunnables.java:49)
    8. com.atlassian.bamboo.security.ImpersonationHelper.runWith(ImpersonationHelper.java:31)
    9. com.atlassian.bamboo.security.ImpersonationHelper.runWithSystemAuthority(ImpersonationHelper.java:20)
    10. com.atlassian.bamboo.security.ImpersonationHelper$1.run(ImpersonationHelper.java:52)
    10 frames
  5. Java RT
    Thread.run
    1. java.lang.Thread.run(Unknown Source)
    1 frame