# Construction error

**URL:** <https://discourse.stonehearth.net/t/construction-error/22012>\
**Category:** Previous Build Reports\
**Created:** [May 9, 2016, 3:43pm UTC](https://discourse.stonehearth.net/t/construction-error/22012 "2016-05-09T15:43:10Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![GeyserGod](https://sea2.discourse-cdn.com/flex022/user_avatar/discourse.stonehearth.net/geysergod/32/15662_2.png) [@GeyserGod](https://discourse.stonehearth.net/u/GeyserGod)\
**Post date:** [May 9, 2016, 3:43pm UTC](https://discourse.stonehearth.net/t/construction-error/22012/1 "2016-05-09T15:43:10Z")

</div>

**Summary:** I started to build my third shared sleeping quarters building when these 2 error messages popped up.

develop-2960 (x64)  
…/fixture\_fabricator/fixture\_fabricator\_component.lua:157: attempt to index local ‘bc’ (a nil value)  
stack traceback:  
[C]: ?  
…/fixture\_fabricator/fixture\_fabricator\_component.lua:157: in function ‘\_are\_dependencies\_satisfied’  
…/fixture\_fabricator/fixture\_fabricator\_component.lua:202: in function ‘\_start\_project’  
…/fixture\_fabricator/fixture\_fabricator\_component.lua:68: in function ‘set\_active’  
…ruction\_progress/construction\_progress\_component.lua:73: in function 'set\_active’  
stonehearth/services/server/build/build\_service.lua:101: in function 'cb’  
stonehearth/services/server/build/build\_service.lua:82: in function '\_call\_all\_children’  
stonehearth/services/server/build/build\_service.lua:78: in function '\_call\_all\_children’  
stonehearth/services/server/build/build\_service.lua:78: in function '\_call\_all\_children’  
stonehearth/services/server/build/build\_service.lua:98: in function 'set\_active’  
stonehearth/call\_handlers/build\_call\_handler.lua:19: in function \<stonehearth/call\_handlers/build\_call\_handler.lua:18\>

develop-2960 (x64)  
c++ exception: lua runtime error  
stack traceback:

**Version Number and Mods in use:** Version Alpha 16 test build 2960 no mods

**System Information:**  
Windows 10  
24GB RAM  
Nvidia GEForce GT 730

---

<div class="post-metadata">

**Author:** ![GeyserGod](https://sea2.discourse-cdn.com/flex022/user_avatar/discourse.stonehearth.net/geysergod/32/15662_2.png) [@GeyserGod](https://discourse.stonehearth.net/u/GeyserGod)\
**Post date:** [May 9, 2016, 4:00pm UTC](https://discourse.stonehearth.net/t/construction-error/22012/2 "2016-05-09T16:00:20Z")

</div>

It appears to be a crash/bug in the interaction between the bfs system and the jobkeeping system as after the error appears the bfs system sits at ~60% and the Jobkeeping sits at ~35% even though all villagers except my 1 farmer are idling.

---

<div class="post-metadata">

**Author:** ![GeyserGod](https://sea2.discourse-cdn.com/flex022/user_avatar/discourse.stonehearth.net/geysergod/32/15662_2.png) [@GeyserGod](https://discourse.stonehearth.net/u/GeyserGod)\
**Post date:** [May 10, 2016, 2:13pm UTC](https://discourse.stonehearth.net/t/construction-error/22012/3 "2016-05-10T14:13:22Z")

</div>

Everytime I have played the game when I press the start building button on either the 3rd or 4th building this error set has popped up. The last time I played the game completely crashed after this error report came up.

---

<div class="post-metadata">

**Author:** ![Relyss](https://sea2.discourse-cdn.com/flex022/user_avatar/discourse.stonehearth.net/relyss/32/41785_2.png) [@Relyss](https://discourse.stonehearth.net/u/Relyss)\
**Post date:** [May 10, 2016, 6:21pm UTC](https://discourse.stonehearth.net/t/construction-error/22012/4 "2016-05-10T18:21:16Z")

</div>

> [@GeyserGod](#):
>
> Everytime I have played the game

Do you mean everytime you played a new game?

> [@GeyserGod](#):
>
> I started to build my third shared sleeping quarters building

This is when the first 2 were already built, right?

Were you playing at speed 2?  
Were the buildings too close to each other?  
Do you have a small save where this can be reproduced? I’ve tried to get the error but I had no luck 😞

Thanks for reporting!

---

<div class="post-metadata">

**Author:** ![GeyserGod](https://sea2.discourse-cdn.com/flex022/user_avatar/discourse.stonehearth.net/geysergod/32/15662_2.png) [@GeyserGod](https://discourse.stonehearth.net/u/GeyserGod)\
**Post date:** [May 10, 2016, 7:11pm UTC](https://discourse.stonehearth.net/t/construction-error/22012/5 "2016-05-10T19:11:41Z")

</div>

everytime I start a new game.

yes the first 2 were finished before I started the new one, but when I clicked on the first 2 even though they were finished it said they were still being built.

Yes I was playing at speed 2 but it has also happened when I was playing at speed 1

the buildings are 7 spaces apart, I put a 3 space walkway down inbetween then with 2 spaces on either side of the walkway.

I don’t currently as I just did a fresh reinstall back to A15 but got a build error similar to this one when I was doing the same sequence of events. Both error codes where trying to index nil values and they where both brought on with me building my second to fourth shared sleeping quarters template with the only template changes being the addition of a walkway the connects the buildings. I build the sleeping quarters first so they are the only buildings on the map, and I only build one building at a time.

---

<div class="post-metadata">

**Author:** ![GeyserGod](https://sea2.discourse-cdn.com/flex022/user_avatar/discourse.stonehearth.net/geysergod/32/15662_2.png) [@GeyserGod](https://discourse.stonehearth.net/u/GeyserGod)\
**Post date:** [May 16, 2016, 3:54am UTC](https://discourse.stonehearth.net/t/construction-error/22012/6 "2016-05-16T03:54:43Z")

</div>

develop-2972 (x64)  
…/fixture\_fabricator/fixture\_fabricator\_component.lua:157: attempt to index local ‘bc’ (a nil value)  
stack traceback:  
[C]: ?  
…/fixture\_fabricator/fixture\_fabricator\_component.lua:157: in function ‘\_are\_dependencies\_satisfied’  
…/fixture\_fabricator/fixture\_fabricator\_component.lua:202: in function ‘\_start\_project’  
…/fixture\_fabricator/fixture\_fabricator\_component.lua:68: in function ‘set\_active’  
…ruction\_progress/construction\_progress\_component.lua:73: in function 'set\_active’  
stonehearth/services/server/build/build\_service.lua:101: in function 'cb’  
stonehearth/services/server/build/build\_service.lua:82: in function '\_call\_all\_children’  
stonehearth/services/server/build/build\_service.lua:78: in function '\_call\_all\_children’  
stonehearth/services/server/build/build\_service.lua:78: in function '\_call\_all\_children’  
stonehearth/services/server/build/build\_service.lua:98: in function 'set\_active’  
stonehearth/call\_handlers/build\_call\_handler.lua:19: in function \<stonehearth/call\_handlers/build\_call\_handler.lua:18\>

Looks like the error still exists in build 2972. It popped up when I pushed the start building button on the 2nd Shared Sleeping Quarters on day 7 once again I was building from template with the only edit made being a walkway in front of the building.

I also noted that instead of Labeling it buiding 2 it labeled it building 3.

[http://images.akamai.steamusercontent.com/ugc/269465930026421689/FC1546D9CE7DBDB564601A00398ABAC24F6D4151/](http://images.akamai.steamusercontent.com/ugc/269465930026421689/FC1546D9CE7DBDB564601A00398ABAC24F6D4151/)

---

<div class="post-metadata">

**Author:** ![GeyserGod](https://sea2.discourse-cdn.com/flex022/user_avatar/discourse.stonehearth.net/geysergod/32/15662_2.png) [@GeyserGod](https://discourse.stonehearth.net/u/GeyserGod)\
**Post date:** [May 25, 2016, 5:01am UTC](https://discourse.stonehearth.net/t/construction-error/22012/7 "2016-05-25T05:01:17Z")

</div>

I have figured out what is causing this error, this error only pops up on the first building that I connect to another with a walkway and then only if I haven’t already built walkway not connected to a building somewhere else.
