Error when demoting/promoting combat classes

it appears when changing jobs
page 1
release-584 (x64)
@stonehearth/ai/actions/walk_in_formation_action.lua:21: (16354 Heath Inverse) does not have a party component
stack traceback:
radiant/modules/common.lua:237: in function 'report_traceback’
radiant/modules/common.lua:456: in function 'verify’
stonehearth/ai/actions/walk_in_formation_action.lua:21: in function <stonehearth/ai/actions/walk_in_formation_action.lua:16>
[C]: in function 'set_think_output’
stonehearth/ai/actions/patrol_as_party_action.lua:38: in function <stonehearth/ai/actions/patrol_as_party_action.lua:26>
[C]: in function ‘start_thinking’
…tonehearth/services/server/tasks/run_task_action.lua:66: in function ‘_start_stop_thinking’
…tonehearth/services/server/tasks/run_task_action.lua:125: in function <…tonehearth/services/server/tasks/run_task_action.lua:119>
[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>

page2

release-584 (x64)
stonehearth/ai/actions/walk_in_formation_action.lua:24: attempt to index local ‘party_component’ (a nil value)
stack traceback:
stonehearth/ai/actions/walk_in_formation_action.lua:24: in function <stonehearth/ai/actions/walk_in_formation_action.lua:16>
[C]: in function 'set_think_output’
stonehearth/ai/actions/patrol_as_party_action.lua:38: in function <stonehearth/ai/actions/patrol_as_party_action.lua:26>
[C]: in function ‘start_thinking’
…tonehearth/services/server/tasks/run_task_action.lua:66: in function ‘_start_stop_thinking’
…tonehearth/services/server/tasks/run_task_action.lua:125: in function <…tonehearth/services/server/tasks/run_task_action.lua:119>
[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>

page3
release-584 (x64)
(15067 Aprii Winset) (stonehearth:top) bad frame transition to “stop” from "starting_thinking"
stack traceback:
[C]: ?
[C]: in function 'stop’
stonehearth/components/ai/ai_component.lua:581: 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>

page 4

release-584 (x64)
invalid initial state “starting_thinking” in run
stack traceback:
[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>

page 5

release-584 (x64)
@stonehearth/components/ai/ai_component.lua:567: (15067 Aprii Winset) has not yielded after 10 ai spins. Are they in a bad state? Last abort reason: leader has new waypoint
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>

page 6

release-584 (x64)
(15067 Aprii Winset) (stonehearth:patrol) bad frame transition to “remove_action” from "starting_thinking"
stack traceback:
radiant/modules/common.lua:237: in function 'report_traceback’
radiant/modules/common.lua:248: in function <radiant/modules/common.lua:242>
[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 'suspend’
stonehearth/services/server/threads/thread.lua:421: in function 'sleep_realtime’
stonehearth/components/ai/ai_component.lua:559: 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>

page 8

release-584 (x64)
(15067 Aprii Winset) (stonehearth:walk_in_formation) bad frame transition to “remove_action” from "starting_thinking"
stack traceback:
radiant/modules/common.lua:237: in function 'report_traceback’
radiant/modules/common.lua:248: in function <radiant/modules/common.lua:242>
[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 'suspend’
stonehearth/services/server/threads/thread.lua:421: in function 'sleep_realtime’
stonehearth/components/ai/ai_component.lua:559: 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>

page 9

release-584 (x64)
(15067 Aprii Winset) (stonehearth:work) bad frame transition to “remove_action” from "starting_thinking"
stack traceback:
radiant/modules/common.lua:237: in function 'report_traceback’
radiant/modules/common.lua:248: in function <radiant/modules/common.lua:242>
[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 'suspend’
stonehearth/services/server/threads/thread.lua:421: in function 'sleep_realtime’
stonehearth/components/ai/ai_component.lua:559: 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>

page 10

release-584 (x64)
(15067 Aprii Winset) (stonehearth:work) bad frame transition to “add_action” from "starting_thinking"
stack traceback:
radiant/modules/common.lua:237: in function 'report_traceback’
radiant/modules/common.lua:248: in function <radiant/modules/common.lua:242>
[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 'suspend’
stonehearth/services/server/threads/thread.lua:421: in function 'sleep_realtime’
stonehearth/components/ai/ai_component.lua:559: 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>

release-584 (x64)
@stonehearth/components/ai/ai_component.lua:567: (15067 Aprii Winset) has not yielded after 15 ai spins. Are they in a bad state? Last abort reason: leader has new waypoint
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>

Welcome to the forum, @OneLink :smiley:

Which jobs were changed? Were you trying to demote a combat class (footman, knight, archer…) or promoting someone to a combat class?

@Relyss
im having the same problem and it is combat classes

Summary:
I demoted 2 hearthling footmen into workers. Then I promoted one hearthling worker into a hearthling footman. I get an error message, then the hearthling i promoted freezes and doesn’t move no matter what.
Steps to reproduce:

  1. Demote two footmen into workers.
  2. Promote one worker into a footmen.
  3. There you go.

Expected Results:
The worker that is promoted was supposed to move around and be on watch.
Actual Results:
He freezes and an error message beeps up.
Notes:
Error message 123
Attachments:
If there is any need I can post the error message.
Version Number and Mods in use:
No mods, Alpha 17 latest update.
System Information:
Alienware, Windows 10 GTX 970M, Running on i7 intel core laptop