Copy-pasting game errors

Just copy pasting the errors I get in game, if it helps solving them faster (otherwise I ask admins to just delete this topic)

and anyone else can add their errors

release-559 (x64)
…h/components/entity_forms/entity_forms_component.lua:359: assertion failed!
stack traceback:
[C]: ?
[C]: in function ‘assert’
…h/components/entity_forms/entity_forms_component.lua:359: in function ‘place_item_on_structure’
…/fixture_fabricator/fixture_fabricator_component.lua:266: in function ‘_place_item_on_structure’
…/fixture_fabricator/fixture_fabricator_component.lua:243: in function ‘_place_fixture’
…/fixture_fabricator/fixture_fabricator_component.lua:203: in function ‘_start_project’
…/fixture_fabricator/fixture_fabricator_component.lua:150: in function 'start_project’
stonehearth/services/server/build/build_service.lua:1210: in function 'add_fixture_fabricator’
stonehearth/services/server/build/build_service.lua:1251: in function ‘add_fixture’
…tonehearth/call_handlers/place_item_call_handler.lua:81: in function <…tonehearth/call_handlers/place_item_call_handler.lua:67>

release-559 (x64)
…components/resource_node/resource_node_component.lua:48: attempt to index local ‘json’ (a nil value)
stack traceback:
…components/resource_node/resource_node_component.lua:48: in function ‘_place_spawned_items’
…components/resource_node/resource_node_component.lua:73: in function ‘spawn_resource’
…hearth/ai/actions/harvest_resource_node_adjacent.lua:36: in function <…hearth/ai/actions/harvest_resource_node_adjacent.lua:18>
[C]: ?
[C]: ?
[C]: ?
[C]: ?
[C]: in function ‘run’
…tonehearth/services/server/tasks/run_task_action.lua:143: in function <…tonehearth/services/server/tasks/run_task_action.lua:141>
[C]: ?
[C]: ?

[C]: in function 'run’
stonehearth/components/ai/ai_component.lua:541: in function <stonehearth/components/ai/ai_component.lua:525>
[C]: in function 'xpcall’
radiant/modules/common.lua:257: in function 'xpcall’
stonehearth/components/ai/ai_component.lua:525: in function '_thread_main’
stonehearth/services/server/threads/thread.lua:249: in function <stonehearth/services/server/threads/thread.lua:246>
[C]: in function 'xpcall’
radiant/modules/common.lua:257: in function 'xpcall’
stonehearth/services/server/threads/thread.lua:246: in function 'f’
radiant/lib/env.lua:15: in function <radiant/lib/env.lua:14>

Hey, these are nice, but by themselves they will not be very helpful. Could you describe what you were doing at the moment of each error?

will try adding my best descriptions of that with next ones :slight_smile:

Well, i just got this while my soldiers were defending town from goblins and wolves (1 big goblin included) but i was a bit too slow to catch its names or anything else…
…but if i’m not wrong its a building bug?

release-559 (x64)
…components/resource_node/resource_node_component.lua:48: attempt to index local ‘json’ (a nil value)
stack traceback:
…components/resource_node/resource_node_component.lua:48: in function ‘_place_spawned_items’
…components/resource_node/resource_node_component.lua:73: in function ‘spawn_resource’
…hearth/ai/actions/harvest_resource_node_adjacent.lua:36: in function <…hearth/ai/actions/harvest_resource_node_adjacent.lua:18>
[C]: ?
[C]: ?
[C]: ?
[C]: ?
[C]: in function ‘run’
…tonehearth/services/server/tasks/run_task_action.lua:143: in function <…tonehearth/services/server/tasks/run_task_action.lua:141>
[C]: ?
[C]: ?

[C]: in function 'run’
stonehearth/components/ai/ai_component.lua:541: in function <stonehearth/components/ai/ai_component.lua:525>
[C]: in function 'xpcall’
radiant/modules/common.lua:257: in function 'xpcall’
stonehearth/components/ai/ai_component.lua:525: in function '_thread_main’
stonehearth/services/server/threads/thread.lua:249: in function <stonehearth/services/server/threads/thread.lua:246>
[C]: in function 'xpcall’
radiant/modules/common.lua:257: in function 'xpcall’
stonehearth/services/server/threads/thread.lua:246: in function 'f’
radiant/lib/env.lua:15: in function <radiant/lib/env.lua:14>

…and this error belongs in the same event as the previous one

release-559 (x64)
(1096391 Silene Winset) (stonehearth:combat:heal) bad frame transition to “unit_not_ready” from "running"
stack traceback:
[C]: in function 'fn’
stonehearth/services/server/threads/thread.lua:322: in function 'private_msg’
stonehearth/services/server/threads/thread.lua:515: in function '_dispatch_messages’
stonehearth/services/server/threads/thread.lua:379: in function <stonehearth/services/server/threads/thread.lua:360>
[C]: in function 'suspend’
stonehearth/ai/actions/run_effect_action.lua:66: in function <stonehearth/ai/actions/run_effect_action.lua:38>
[C]: ?
[C]: ?
[C]: in function ‘execute’
…tonehearth/ai/actions/combat/execute_heal_action.lua:108: in function <…tonehearth/ai/actions/combat/execute_heal_action.lua:68>
[C]: ?

[C]: in function 'run’
stonehearth/components/ai/ai_component.lua:541: in function <stonehearth/components/ai/ai_component.lua:525>
[C]: in function 'xpcall’
radiant/modules/common.lua:257: in function 'xpcall’
stonehearth/components/ai/ai_component.lua:525: in function '_thread_main’
stonehearth/services/server/threads/thread.lua:249: in function <stonehearth/services/server/threads/thread.lua:246>
[C]: in function 'xpcall’
radiant/modules/common.lua:257: in function 'xpcall’
stonehearth/services/server/threads/thread.lua:246: in function 'f’
radiant/lib/env.lua:15: in function <radiant/lib/env.lua:14>

this one just came randomly (i think) …i was just trying to plant a tree when this error appeared:

release-559 (x64)
@stonehearth/components/ai/ai_component.lua:567: (654258 Rabbit) has not yielded after 10 ai spins. Are they in a bad state? Last abort reason: follow_path mover aborted
stack traceback:
radiant/modules/common.lua:237: in function 'report_traceback’
radiant/modules/common.lua:456: in function 'verify’
stonehearth/components/ai/ai_component.lua:567: in function <stonehearth/components/ai/ai_component.lua:525>
[C]: in function 'xpcall’
radiant/modules/common.lua:257: in function 'xpcall’
stonehearth/components/ai/ai_component.lua:525: in function '_thread_main’
stonehearth/services/server/threads/thread.lua:249: in function <stonehearth/services/server/threads/thread.lua:246>
[C]: in function 'xpcall’
radiant/modules/common.lua:257: in function 'xpcall’
stonehearth/services/server/threads/thread.lua:246: in function 'f’
radiant/lib/env.lua:15: in function <radiant/lib/env.lua:14>

I reliably get that one when a hunter’s pet critter has hopped on top of a bed that’s in a cave (ie a 4-high room, rather than a 6-high room of constructed buildings). They seem to get stuck there, and can’t move off it. Deconstructing/moving the bed frees the critter, and it’ll go on its merry way, and the error will stop reoccuring (only shows up once per Load to start with, though). I assume something about the low ceiling is the factor, since it only happens in cave-beds for me, never building-beds.

Edit - hm, the Last abort reason does seem to vary though. The one I have in my current log is:

which was a critter on a bed. I think there’s at least one other ‘Last abort reason’ I see with it too, though my most recent log only has that one instance. And it’s not just rabbits, btw, though they’ve been most of them lately. (I want to say I’ve had squirrel and fox at a minimum, too).

@Vyrasa I didn’t have any beds in mine, but if it is so as you say, than even staircase or anything else with low ceiling might be causing that error

I got this when my 2 footmen and 1 cleric stopped fighting stone golems, i saw those 2 footmen run back to town, but monk was still doing something, I didn’t pay much attention when suddenly error pops up (p.s. other hearthlings were building a 2 story building which didnt get finished after this because there were blocks where windows should be)

release-559 (x64)
start thinking called from non-stopped state "ready"
stack traceback:
[C]: ?
[C]: in function ‘set_think_output’
…ctions/combat/move_to_targetable_location_action.lua:94: in function ‘_update_think_output’
…ctions/combat/move_to_targetable_location_action.lua:27: in function '_changed_cb’
radiant/modules/filtered_trace.lua:12: in function <radiant/modules/filtered_trace.lua:7>

I got this eeror when i ordered my hearthlings to remove a “building” - more accurately, i got it when they were done removing blocks of that “building”

release-559 (x64)
std::logic_error: 'invalid reference in native get_id’
stack traceback:
[C]: ?
[C]: in function 'get_id’
radiant/modules/entities.lua:301: in function ‘get_world_grid_location’
…rth/services/server/build/scaffolding_builder_2d.lua:194: in function ‘_create_builders’
…rth/services/server/build/scaffolding_builder_2d.lua:179: in function ‘_on_project_changed’
…rth/services/server/build/scaffolding_builder_2d.lua:137: in function <…rth/services/server/build/scaffolding_builder_2d.lua:136>