Hi,
I have developed a bamboo plugin, when i run this plugin very first time everything works perfectly fine.
But when i run this plugin again on the second run it fails with below stacktrace:
java.lang.NullPointerException error 19-Jan-2015 14:48:20 at com.atlassian.bamboo.task.QuarantineTaskResultProcessor.recalculateTaskState(QuarantineTaskResultProcessor.java:28) error 19-Jan-2015 14:48:20 at com.atlassian.bamboo.task.TaskExecutorImpl.executeTasks(TaskExecutorImpl.java:230) error 19-Jan-2015 14:48:20 at com.atlassian.bamboo.task.TaskExecutorImpl.execute(TaskExecutorImpl.java:98) error 19-Jan-2015 14:48:20 at com.atlassian.bamboo.build.pipeline.tasks.ExecuteBuildTask.call(ExecuteBuildTask.java:75) error 19-Jan-2015 14:48:20 at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent.build(DefaultBuildAgent.java:188) error 19-Jan-2015 14:48:20 at com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl.waitAndPerformBuild(BuildAgentControllerImpl.java:112) error 19-Jan-2015 14:48:20 at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent$1.run(DefaultBuildAgent.java:110) error 19-Jan-2015 14:48:20 at com.atlassian.bamboo.utils.BambooRunnables$1.run(BambooRunnables.java:49) error 19-Jan-2015 14:48:20 at com.atlassian.bamboo.security.ImpersonationHelper.runWith(ImpersonationHelper.java:31) error 19-Jan-2015 14:48:20 at com.atlassian.bamboo.security.ImpersonationHelper.runWithSystemAuthority(ImpersonationHelper.java:20) error 19-Jan-2015 14:48:20 at com.atlassian.bamboo.security.ImpersonationHelper$1.run(ImpersonationHelper.java:52) error 19-Jan-2015 14:48:20 at java.lang.Thread.run(Thread.java:662)
Any clue about this?
Thanks,
Abhishek
Community moderators have prevented the ability to post new answers.
Agreed - we need more information. My best guess would be an error in QuarantineTaskResultProcessor.recalculateTaskState. Does the 1st run of the plugin change the running state to finished?
provide more information about your plugin. It's impossible to help you just looking at the stacktrace
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.