1. Stefan Kohler
  2. Bamboo-Twitter-Task
  3. Issues
Issue #1 resolved

NullPointerException running task on remote agent

Anonymous created an issue

I have the Tweet task configured on our Marvelution Bamboo instance. And when the Tweet tasks is executed on a remote agent I get the following exception:

{{{

!java

java.lang.NullPointerException at nl.stefankohler.bamboo.TwitterTask.execute(TwitterTask.java:33) at com.atlassian.bamboo.task.TaskExecutorImpl.executeTasks(TaskExecutorImpl.java:180) at com.atlassian.bamboo.task.TaskExecutorImpl.execute(TaskExecutorImpl.java:92) at com.atlassian.bamboo.build.pipeline.tasks.ExecuteBuildTask.call(ExecuteBuildTask.java:88) at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent.build(DefaultBuildAgent.java:198) at com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl.waitAndPerformBuild(BuildAgentControllerImpl.java:99) at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent$1.run(DefaultBuildAgent.java:107) at com.atlassian.bamboo.build.pipeline.concurrent.NamedThreadFactory$2.run(NamedThreadFactory.java:50) at java.lang.Thread.run(Thread.java:680) }}}

Looking at your code, It looks like the TwitterAccountService is not available on the remove agents.

Comments (2)

  1. Log in to comment