Plan do not execute any task in the job(s)
Asked by Chandra Khandavalli:

I created a simple Plan without any repositories and created a job and task. Task is a simple shell script. However, Bamboo (version 6.3.2) is not able to execute the task and fails with a message "# \<build number\> did not start" and in the error log section the message is "Build was not queued due to error"

Bamboo Error Viewer - Atlassian Bamboo

```
com.atlassian.bamboo.v2.build.queue.BuildPreQueuedActionFailureException: java.lang.NullPointerException	at com.atlassian.bamboo.v2.build.queue.BuildQueueManagerImpl.fireCustomPreBuildQueuedActions(BuildQueueManagerImpl
```


Answers:
author: Alexey Chystoprudov
body: Try to disable plugin from Zephyr, it should start working

comments: author: Chandra Khandavalli
body: You nailed it down correctly, thanks a lot!!


author: Yogesh Mude
body: HI [@Chandra Khandavalli](/t5/user/viewprofilepage/user-id/1425123),

Can you attach the screenshot of the configuration what you have configured in Job and which task you have added to it.

If possible please share some logs.

comments: author: Chandra Khandavalli
body: ![err-conf-1.png](https://community.atlassian.com/t5/image/serverpage/image-id/22873i31C8F44A7A0585D6/image-size/large?v=v2&px=999 "err-conf-1.png")![error-1.png](https://community.atlassian.com/t5/image/serverpage/image-id/22872i070145E523DB499C/image-size/large?v=v2&px=999 "error-1.png")![job-conf-1.png](https://community.atlassian.com/t5/image/serverpage/image-id/22871i0873EBEC483CC444/image-size/large?v=v2&px=999 "job-conf-1.png")![job-conf-2.png](https://community.atlassian.com/t5/image/serverpage/image-id/22874i0CBFB5541B57863D/image-size/large?v=v2&px=999 "job-conf-2.png")![job-conf-3.png](https://community.atlassian.com/t5/image/serverpage/image-id/22875i9569BDD3C080A1F3/image-size/large?v=v2&px=999 "job-conf-3.png")![task-conf-1.png](https://community.atlassian.com/t5/image/serverpage/image-id/22876i32E88DBCF056D5C4/image-size/large?v=v2&px=999 "task-conf-1.png")


author: Yogesh Mude
body: Thanks for the sharing.

What executable is using for building this task?


author: Chandra Khandavalli
body: I am new user to the Bamboo. I did not associate or link any executable to the job/task. I simply created a plan with task type script with inline script. The script simply echoes text to a file. When I run the plan, I receive "Build was not queued due to error".

Is it necessary to associate this task to an executable? and how can it be done?


author: Chandra Khandavalli
body: Our Bamboo is installed on Redhat Linux 6.9


author: Yogesh Mude
body: I don't think so here Environment is an issue, Below are some of the questions related to Script task have look at them may be they will you to resolve this.

<https://community.atlassian.com/t5/Bamboo-questions/Making-a-Bamboo-Script-execute-using-bin-bash/qaq-p/205364>

<https://community.atlassian.com/t5/Bamboo-questions/Script-task-in-Bamboo/qaq-p/79998>


author: Chandra Khandavalli
body: Thanks for the support; unfortunately those two links are not related to my specific case.

In my case, I think bamboo is not able to initiate and/or start the task. It is failing before it can start the task and immaterial of what task I add I get the same error "Build was not queued due to error"


author: Yogesh Mude
body: Actually I was working on bamboo from last two yrs but I haven't get this error so unfortunately I'm unable to help you on this... anyway you can contact to atlassian support they will definately provide you the solution.


author: Chandra Khandavalli
body: No problem, thanks either way, I will work with support team