# Worker stuck and dont move

**URL:** <https://discourse.stonehearth.net/t/worker-stuck-and-dont-move/14580>\
**Category:** Previous Build Reports\
**Created:** [July 15, 2015, 1:25pm UTC](https://discourse.stonehearth.net/t/worker-stuck-and-dont-move/14580 "2015-07-15T13:25:31Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sebastian4948](https://sea2.discourse-cdn.com/flex022/user_avatar/discourse.stonehearth.net/sebastian4948/32/22009_2.png) [@Sebastian4948](https://discourse.stonehearth.net/u/Sebastian4948)\
**Post date:** [July 15, 2015, 1:25pm UTC](https://discourse.stonehearth.net/t/worker-stuck-and-dont-move/14580/1 "2015-07-15T13:25:31Z")

</div>

Hi my problem is, after about 10 minutes i got this error:

develop-2477 (x64)…arth/ai/actions/pickup\_item\_from\_storage\_action.luac:7: attempt to call field ‘get\_iconic\_form’ (a nil value)stack traceback:  
radiant/modules/common.luac:32: in function ‘get\_iconic\_form’  
…arth/ai/actions/pickup\_item\_from\_storage\_action.luac:7: in function 'start\_thinking’  
stonehearth/services/server/ai/compound\_action.luac:57: in function 'call\_fn’  
stonehearth/components/ai/execution\_unit\_v2.luac:16: in function '\_call\_start\_thinking’  
stonehearth/components/ai/execution\_unit\_v2.luac:230: in function '\_do\_start\_thinking’  
stonehearth/components/ai/execution\_unit\_v2.luac:166: in function '\_start\_thinking\_from\_stopped’  
stonehearth/components/ai/execution\_unit\_v2.luac:83: in function '\_start\_thinking’  
stonehearth/components/ai/execution\_frame.luac:281: in function '\_restart\_thinking’  
stonehearth/components/ai/execution\_frame.luac:298: in function '\_start\_thinking\_from\_stopped’  
stonehearth/components/ai/execution\_frame.luac:78: in function '\_start\_thinking’  
stonehearth/components/ai/execution\_frame.luac:314: in function ‘start\_thinking’  
…  
radiant/controllers/time\_tracker\_controller.luac:9: in function \<radiant/controllers/time\_tracker\_controller.luac:9\>  
[C]: in function 'xpcall’  
radiant/controllers/time\_tracker\_controller.luac:9: in function 'set\_now’  
radiant/controllers/time\_tracker\_controller.luac:20: in function 'increment\_now’  
radiant/modules/timer.luac:6: in function 'self’  
radiant/modules/events.luac:80: in function \<radiant/modules/events.luac:78\>  
[C]: in function 'xpcall’  
radiant/modules/events.luac:78: in function 'trigger’  
radiant/modules/events.luac:97: in function '\_update’  
radiant/server.luac:19: in function \<radiant/server.luac:17\>

and all my workers and other hearthlings stoped doing anything 😁

---

<div class="post-metadata">

**Author:** ![Morty](https://sea2.discourse-cdn.com/flex022/user_avatar/discourse.stonehearth.net/morty/32/20249_2.png) [@Morty](https://discourse.stonehearth.net/u/Morty)\
**Post date:** [July 15, 2015, 6:58pm UTC](https://discourse.stonehearth.net/t/worker-stuck-and-dont-move/14580/2 "2015-07-15T18:58:11Z")

</div>

got a similar one

develop-2494 (x64)  
stonehearth/components/ai/execution\_unit\_v2.luac:59: bad unit transition “start\_thinking” from "finished"  
stack traceback:  
radiant/modules/common.luac:32: in function \<radiant/modules/common.luac:32\>  
[C]: in function 'error’  
stonehearth/components/ai/execution\_unit\_v2.luac:59: in function '\_unknown\_transition’  
stonehearth/components/ai/execution\_unit\_v2.luac:84: in function '\_start\_thinking’  
stonehearth/components/ai/execution\_frame.luac:212: in function '\_do\_slow\_thinking’  
stonehearth/components/ai/execution\_frame.luac:270: in function '\_fn’  
radiant/controllers/timer\_controller.luac:28: in function 'fire’  
radiant/controllers/time\_tracker\_controller.luac:9: in function \<radiant/controllers/time\_tracker\_controller.luac:9\>  
[C]: in function 'xpcall’  
radiant/controllers/time\_tracker\_controller.luac:9: in function 'set\_now’  
radiant/controllers/time\_tracker\_controller.luac:20: in function 'increment\_now’  
radiant/modules/timer.luac:6: in function 'self’  
radiant/modules/events.luac:80: in function \<radiant/modules/events.luac:78\>  
[C]: in function 'xpcall’  
radiant/modules/events.luac:78: in function 'trigger’  
radiant/modules/events.luac:97: in function '\_update’  
radiant/server.luac:19: in function \<radiant/server.luac:17\>

guy is just lying on the ground, not doing anything, except sleeping and starving. Reset command didn’t help.

EDIT: managed to ‘reset’ him all around the place, no effect. Town defense mode made him tremble and he actually started to look less like a mindless zombie, but with no actual effect. What made him move was making a combat party and ordering him to attack certain area, ‘defend’ order didn’t obey. Now he refused the ‘attack’ order, but after game restart he actually went to that marker.

EDIT2: Leo is still stuck, though I tried promoting him to various classes, after promotion to worker he just dropped blacksmith’s hammer, and that was his part of promotion. What an ass 😃  
Now I got another error, and I think they might be related. He has only one item in inventory and it’s a mean bed. I tried to replace 8 beds, plus placing another 2, and after giving Hearthlings a command to undeploy 4 of those, I got an error. It might be a false alarm, but also a crumble to find your way.  
It’s 8 pages, 7 of those had the same ending after three dots, so I shortened those.

develop-2494 (x64)  
stonehearth/services/server/inventory/inventory.luac:223: assertion failed: tried to add iconic (399233 Mean Bed (iconic)) when root is already in inventory  
stack traceback:  
stonehearth/components/ai/execution\_frame.luac:656: in function \<stonehearth/components/ai/execution\_frame.luac:649\>  
[C]: in function 'error’  
radiant/modules/common.luac:99: in function 'assert’  
stonehearth/services/server/inventory/inventory.luac:223: in function '\_check\_entity\_forms\_of\_new\_item’  
stonehearth/services/server/inventory/inventory.luac:95: in function ‘add\_item’  
…tonehearth/components/storage/storage\_component.luac:133: in function ‘add\_item’  
…arth/ai/actions/put\_carrying\_in\_backpack\_action.luac:14: in function 'call\_fn’  
stonehearth/components/ai/execution\_unit\_v2.luac:16: in function '\_call\_run’  
stonehearth/components/ai/execution\_unit\_v2.luac:185: in function '\_run\_from\_started’  
stonehearth/components/ai/execution\_unit\_v2.luac:128: in function '\_run’  
stonehearth/components/ai/execution\_frame.luac:439: in function \<stonehearth/components/ai/execution\_frame.luac:439\>  
…  
stonehearth/components/ai/execution\_frame.luac:101: in function '\_run’  
stonehearth/components/ai/execution\_frame.luac:338: in function \<stonehearth/components/ai/execution\_frame.luac:329\>  
[C]: in function 'xpcall’  
stonehearth/components/ai/execution\_frame.luac:658: in function '\_protected\_call’  
stonehearth/components/ai/execution\_frame.luac:340: in function 'run’  
stonehearth/components/ai/ai\_component.luac:128: in function '\_thread\_main’  
stonehearth/services/server/threads/thread.luac:90: in function \<stonehearth/services/server/threads/thread.luac:89\>  
[C]: in function 'xpcall’  
stonehearth/services/server/threads/thread.luac:89: in function 'f’  
radiant/lib/env.luac:8: in function \<radiant/lib/env.luac:8\>  
develop-2494 (x64)  
stonehearth/components/ai/execution\_frame.luac:672: stonehearth/services/server/inventory/inventory.luac:223: assertion failed: tried to add iconic (399233 Mean Bed (iconic)) when root is already in inventory  
stack traceback:  
stonehearth/components/ai/execution\_frame.luac:656: in function \<stonehearth/components/ai/execution\_frame.luac:649\>  
[C]: in function 'error’  
stonehearth/components/ai/execution\_frame.luac:672: in function '\_exit\_protected\_call’  
stonehearth/components/ai/execution\_frame.luac:667: in function '\_protected\_call’  
stonehearth/components/ai/execution\_frame.luac:439: in function '\_run\_from\_started’  
stonehearth/components/ai/execution\_frame.luac:101: in function '\_run’  
stonehearth/components/ai/execution\_frame.luac:338: in function \<stonehearth/components/ai/execution\_frame.luac:329\>  
[C]: in function 'xpcall’  
stonehearth/components/ai/execution\_frame.luac:658: in function '\_protected\_call’  
stonehearth/components/ai/execution\_frame.luac:340: in function 'run’  
stonehearth/services/server/ai/compound\_action.luac:117: in function ‘call\_fn’  
.  
develop-2494 (x64)  
stonehearth/components/ai/execution\_frame.luac:672: stonehearth/components/ai/execution\_frame.luac:672: stonehearth/services/server/inventory/inventory.luac:223: assertion failed: tried to add iconic (399233 Mean Bed (iconic)) when root is already in inventory  
stack traceback:  
stonehearth/components/ai/execution\_frame.luac:656: in function \<stonehearth/components/ai/execution\_frame.luac:649\>  
[C]: in function 'error’  
stonehearth/components/ai/execution\_frame.luac:672: in function '\_exit\_protected\_call’  
stonehearth/components/ai/execution\_frame.luac:667: in function '\_protected\_call’  
stonehearth/components/ai/execution\_frame.luac:340: in function 'run’  
stonehearth/services/server/ai/compound\_action.luac:117: in function 'call\_fn’  
stonehearth/components/ai/execution\_unit\_v2.luac:16: in function '\_call\_run’  
stonehearth/components/ai/execution\_unit\_v2.luac:185: in function '\_run\_from\_started’  
stonehearth/components/ai/execution\_unit\_v2.luac:128: in function '\_run’  
stonehearth/components/ai/execution\_frame.luac:439: in function \<stonehearth/components/ai/execution\_frame.luac:439\>  
[C]: in function ‘xpcall’  
.  
develop-2494 (x64)  
stonehearth/components/ai/execution\_frame.luac:672: stonehearth/components/ai/execution\_frame.luac:672: stonehearth/components/ai/execution\_frame.luac:672: stonehearth/services/server/inventory/inventory.luac:223: assertion failed: tried to add iconic (399233 Mean Bed (iconic)) when root is already in inventory  
stack traceback:  
stonehearth/components/ai/execution\_frame.luac:656: in function \<stonehearth/components/ai/execution\_frame.luac:649\>  
[C]: in function 'error’  
stonehearth/components/ai/execution\_frame.luac:672: in function '\_exit\_protected\_call’  
stonehearth/components/ai/execution\_frame.luac:667: in function '\_protected\_call’  
stonehearth/components/ai/execution\_frame.luac:439: in function '\_run\_from\_started’  
stonehearth/components/ai/execution\_frame.luac:101: in function '\_run’  
stonehearth/components/ai/execution\_frame.luac:338: in function \<stonehearth/components/ai/execution\_frame.luac:329\>  
[C]: in function 'xpcall’  
stonehearth/components/ai/execution\_frame.luac:658: in function '\_protected\_call’  
stonehearth/components/ai/execution\_frame.luac:340: in function 'run’  
stonehearth/services/server/ai/compound\_action.luac:117: in function ‘call\_fn’  
.  
develop-2494 (x64)  
stonehearth/components/ai/execution\_frame.luac:672: stonehearth/components/ai/execution\_frame.luac:672: stonehearth/components/ai/execution\_frame.luac:672: stonehearth/components/ai/execution\_frame.luac:672: stonehearth/services/server/inventory/inventory.luac:223: assertion failed: tried to add iconic (399233 Mean Bed (iconic)) when root is already in inventory  
stack traceback:  
stonehearth/components/ai/execution\_frame.luac:656: in function \<stonehearth/components/ai/execution\_frame.luac:649\>  
[C]: in function 'error’  
stonehearth/components/ai/execution\_frame.luac:672: in function '\_exit\_protected\_call’  
stonehearth/components/ai/execution\_frame.luac:667: in function '\_protected\_call’  
stonehearth/components/ai/execution\_frame.luac:340: in function 'run’  
stonehearth/services/server/ai/compound\_action.luac:117: in function 'call\_fn’  
stonehearth/components/ai/execution\_unit\_v2.luac:16: in function '\_call\_run’  
stonehearth/components/ai/execution\_unit\_v2.luac:185: in function '\_run\_from\_started’  
stonehearth/components/ai/execution\_unit\_v2.luac:128: in function '\_run’  
stonehearth/components/ai/execution\_frame.luac:439: in function \<stonehearth/components/ai/execution\_frame.luac:439\>  
[C]: in function ‘xpcall’  
.  
develop-2494 (x64)  
stonehearth/components/ai/execution\_frame.luac:672: stonehearth/components/ai/execution\_frame.luac:672: stonehearth/components/ai/execution\_frame.luac:672: stonehearth/components/ai/execution\_frame.luac:672: stonehearth/components/ai/execution\_frame.luac:672: stonehearth/services/server/inventory/inventory.luac:223: assertion failed: tried to add iconic (399233 Mean Bed (iconic)) when root is already in inventory  
stack traceback:  
stonehearth/components/ai/execution\_frame.luac:656: in function \<stonehearth/components/ai/execution\_frame.luac:649\>  
[C]: in function 'error’  
stonehearth/components/ai/execution\_frame.luac:672: in function '\_exit\_protected\_call’  
stonehearth/components/ai/execution\_frame.luac:667: in function '\_protected\_call’  
stonehearth/components/ai/execution\_frame.luac:439: in function '\_run\_from\_started’  
stonehearth/components/ai/execution\_frame.luac:101: in function '\_run’  
stonehearth/components/ai/execution\_frame.luac:338: in function \<stonehearth/components/ai/execution\_frame.luac:329\>  
[C]: in function 'xpcall’  
stonehearth/components/ai/execution\_frame.luac:658: in function '\_protected\_call’  
stonehearth/components/ai/execution\_frame.luac:340: in function 'run’  
stonehearth/services/server/ai/compound\_action.luac:117: in function ‘call\_fn’  
.  
develop-2494 (x64)  
stonehearth/components/ai/execution\_frame.luac:672: stonehearth/components/ai/execution\_frame.luac:672: stonehearth/components/ai/execution\_frame.luac:672: stonehearth/components/ai/execution\_frame.luac:672: stonehearth/components/ai/execution\_frame.luac:672: stonehearth/components/ai/execution\_frame.luac:672: stonehearth/services/server/inventory/inventory.luac:223: assertion failed: tried to add iconic (399233 Mean Bed (iconic)) when root is already in inventory  
stack traceback:  
stonehearth/components/ai/execution\_frame.luac:656: in function \<stonehearth/components/ai/execution\_frame.luac:649\>  
[C]: in function 'error’  
stonehearth/components/ai/execution\_frame.luac:672: in function '\_exit\_protected\_call’  
stonehearth/components/ai/execution\_frame.luac:667: in function '\_protected\_call’  
stonehearth/components/ai/execution\_frame.luac:340: in function 'run’  
stonehearth/services/server/ai/compound\_action.luac:117: in function 'call\_fn’  
stonehearth/components/ai/execution\_unit\_v2.luac:16: in function '\_call\_run’  
stonehearth/components/ai/execution\_unit\_v2.luac:185: in function '\_run\_from\_started’  
stonehearth/components/ai/execution\_unit\_v2.luac:128: in function '\_run’  
stonehearth/components/ai/execution\_frame.luac:439: in function \<stonehearth/components/ai/execution\_frame.luac:439\>  
[C]: in function ‘xpcall’  
.  
develop-2494 (x64)  
stonehearth/components/ai/execution\_frame.luac:672: stonehearth/components/ai/execution\_frame.luac:672: stonehearth/components/ai/execution\_frame.luac:672: stonehearth/components/ai/execution\_frame.luac:672: stonehearth/components/ai/execution\_frame.luac:672: stonehearth/components/ai/execution\_frame.luac:672: stonehearth/components/ai/execution\_frame.luac:672: stonehearth/services/server/inventory/inventory.luac:223: assertion failed: tried to add iconic (399233 Mean Bed (iconic)) when root is already in inventory  
stack traceback:  
stonehearth/components/ai/execution\_frame.luac:656: in function \<stonehearth/components/ai/execution\_frame.luac:649\>  
[C]: in function 'error’  
stonehearth/components/ai/execution\_frame.luac:672: in function '\_exit\_protected\_call’  
stonehearth/components/ai/execution\_frame.luac:667: in function '\_protected\_call’  
stonehearth/components/ai/execution\_frame.luac:439: in function '\_run\_from\_started’  
stonehearth/components/ai/execution\_frame.luac:101: in function '\_run’  
stonehearth/components/ai/execution\_frame.luac:338: in function \<stonehearth/components/ai/execution\_frame.luac:329\>  
[C]: in function 'xpcall’  
stonehearth/components/ai/execution\_frame.luac:658: in function '\_protected\_call’  
stonehearth/components/ai/execution\_frame.luac:340: in function 'run’  
stonehearth/components/ai/ai\_component.luac:128: in function '\_thread\_main’  
stonehearth/services/server/threads/thread.luac:90: in function \<stonehearth/services/server/threads/thread.luac:89\>  
[C]: in function 'xpcall’  
stonehearth/services/server/threads/thread.luac:89: in function 'f’  
radiant/lib/env.luac:8: in function \<radiant/lib/env.luac:8\>

EDIT3: so after all this Leo got unstuck, I removed orders to place mean beds, and placed them all over again; Leo was playing ‘sitting on ground and eating’ animation four times, all across the stockpile; after that the starving buff was still present, he dumped mean bed in stockpile, sat by campfire, I gave him a promotion, which he accepted, started to craft; still starving; new day came, happily makes everything, though starving buff doesn’t come off (weirdly he still has 100% health). Result of this is also having two separate icons for mean beds, one for nine placed in the world, and one for one in stockpile.
