# Job failed to run and StateName = NULL

**URL:** <https://discuss.hangfire.io/t/job-failed-to-run-and-statename-null/3917>\
**Category:** bug?\
**Created:** [October 18, 2017, 9:59pm UTC](https://discuss.hangfire.io/t/job-failed-to-run-and-statename-null/3917 "2017-10-18T21:59:44Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![nganbread](https://avatars.discourse-cdn.com/v4/letter/n/3ab097/32.png) [@nganbread](https://discuss.hangfire.io/u/nganbread)\
**Post date:** [October 18, 2017, 9:59pm UTC](https://discuss.hangfire.io/t/job-failed-to-run-and-statename-null/3917/1 "2017-10-18T21:59:44Z")

</div>

Hi

We have a hangfire instance running in a non-scaling always-on Azure WebApp. We had a task that failed to execute so I tracked it down to a chain of 7 tasks making use of `BackgroundJob.ContinueWith`. The first 3 tasks were created and executed correctly, the 4th one was created with `StateName = NULL` but didnt run and the last 3 werent created at all.

Raw Data:

 ![](https://europe1.discourse-cdn.com/flex017/uploads/hangfire/original/2X/5/5b3074eb3ec023355d8ef220cb4649eabf76ba4c.png)

UI:

 ![](https://europe1.discourse-cdn.com/flex017/uploads/hangfire/original/2X/3/37d5c25e1a5b95f08164cb8438ac381f500197b5.png)

We have executed these chains of tasks 1000’s of times without fail so are unsure how to investigate this issue. Any ideas how/why this is happening?
