# Mining area bug

**URL:** <https://discourse.stonehearth.net/t/mining-area-bug/26146>\
**Category:** Other Reports\
**Tags:** duplicate\
**Created:** [October 14, 2016, 5:58pm UTC](https://discourse.stonehearth.net/t/mining-area-bug/26146 "2016-10-14T17:58:38Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Doc\_Brano](https://sea2.discourse-cdn.com/flex022/user_avatar/discourse.stonehearth.net/doc_brano/32/50733_2.png) [@Doc\_Brano](https://discourse.stonehearth.net/u/Doc_Brano)\
**Post date:** [October 14, 2016, 5:58pm UTC](https://discourse.stonehearth.net/t/mining-area-bug/26146/1 "2016-10-14T17:58:38Z")

</div>

**Summary:**  
So i usally make a bigger mining area so i dont have to micro manage. But this time a got an error when connecting 2 area’s.  
**Steps to reproduce:**

1. create an mining area with mine block
2. wait for the villagers to almost be done mining  
3)connect another mining area to it.

**Expected Results:**  
Villagers continue to mine  
**Actual Results:**  
see the error pop-up  
**Notes:**  
develop-3169 (x64)[M]…tonehearth/services/server/mining/mining\_service.lua:215: attempt to call method ‘get\_area’ (a nil value)stack traceback:  
[C]: in function ‘get\_area’  
…tonehearth/services/server/mining/mining\_service.lua:215: in function ‘\_choose\_merge\_survivor’  
…tonehearth/services/server/mining/mining\_service.lua:130: in function 'dig\_region’  
stonehearth/call\_handlers/mining\_call\_handler.lua:297: in function \<stonehearth/call\_handlers/mining\_call\_handler.lua:284\>  
develop-3169 (x64)[M]c++ exception: lua runtime errorstack traceback:  
**Attachments:**

**Version Number and Mods in use:**  
latest alpha 19 unstable only debugtools installed. Fresh game with raya people  
**System Information:**

---

<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:** [October 14, 2016, 6:01pm UTC](https://discourse.stonehearth.net/t/mining-area-bug/26146/2 "2016-10-14T18:01:12Z")

</div>

A post was merged into an existing topic: [Error when mining](https://discourse.stonehearth.net/t/error-when-mining/26140)

---

<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:** [October 14, 2016, 6:01pm UTC](https://discourse.stonehearth.net/t/mining-area-bug/26146/3 "2016-10-14T18:01:12Z")

</div>


