[Dup] Failed to sleep In bed error

one of my hearths refuses to sleep lol

http://s6.postimg.org/prd9yinfl/253250_2015_09_28_00001.png
possibly linked with this

develop-2611 (x64)...ai/actions/sleeping/sleep_in_bed_trivial_action.luac:10: assertion failed!stack traceback:
	stonehearth/components/ai/execution_frame.luac:672: in function <stonehearth/components/ai/execution_frame.luac:665>
	[C]: in function 'assert'
	...ai/actions/sleeping/sleep_in_bed_trivial_action.luac:10: in function 'start_thinking'
	stonehearth/services/server/ai/compound_action.luac:73: in function 'call_fn'
	stonehearth/components/ai/execution_unit_v2.luac:22: in function '_call_start_thinking'
	stonehearth/components/ai/execution_unit_v2.luac:243: in function '_do_start_thinking'
	stonehearth/components/ai/execution_unit_v2.luac:179: in function '_start_thinking_from_stopped'
	stonehearth/components/ai/execution_unit_v2.luac:96: in function '_start_thinking'
	stonehearth/components/ai/execution_frame.luac:307: in function '_restart_thinking'
	stonehearth/components/ai/execution_frame.luac:324: in function '_start_thinking_from_stopped'
	stonehearth/components/ai/execution_frame.luac:106: in function '_start_thinking'
	...
	stonehearth/components/ai/execution_frame.luac:129: in function '_run'
	stonehearth/components/ai/execution_frame.luac:360: in function <stonehearth/components/ai/execution_frame.luac:352>
	[C]: in function 'xpcall'
	stonehearth/components/ai/execution_frame.luac:674: in function '_protected_call'
	stonehearth/components/ai/execution_frame.luac:362: in function 'run'
	stonehearth/components/ai/ai_component.luac:178: 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-2611 (x64)stonehearth/components/ai/execution_frame.luac:688: ...ai/actions/sleeping/sleep_in_bed_trivial_action.luac:10: assertion failed!stack traceback:
	stonehearth/components/ai/execution_frame.luac:672: in function <stonehearth/components/ai/execution_frame.luac:665>
	[C]: in function 'error'
	stonehearth/components/ai/execution_frame.luac:688: in function '_exit_protected_call'
	stonehearth/components/ai/execution_frame.luac:683: in function '_protected_call'
	stonehearth/components/ai/execution_frame.luac:456: in function '_run_from_started'
	stonehearth/components/ai/execution_frame.luac:129: in function '_run'
	stonehearth/components/ai/execution_frame.luac:360: in function <stonehearth/components/ai/execution_frame.luac:352>
	[C]: in function 'xpcall'
	stonehearth/components/ai/execution_frame.luac:674: in function '_protected_call'
	stonehearth/components/ai/execution_frame.luac:362: in function 'run'
	stonehearth/components/ai/execution_unit_v2.luac:300: in function '?'
	...
	stonehearth/components/ai/execution_frame.luac:129: in function '_run'
	stonehearth/components/ai/execution_frame.luac:360: in function <stonehearth/components/ai/execution_frame.luac:352>
	[C]: in function 'xpcall'
	stonehearth/components/ai/execution_frame.luac:674: in function '_protected_call'
	stonehearth/components/ai/execution_frame.luac:362: in function 'run'
	stonehearth/components/ai/ai_component.luac:178: 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-2611 (x64)stonehearth/components/ai/execution_frame.luac:688: stonehearth/components/ai/execution_frame.luac:688: ...ai/actions/sleeping/sleep_in_bed_trivial_action.luac:10: assertion failed!stack traceback:
	stonehearth/components/ai/execution_frame.luac:672: in function <stonehearth/components/ai/execution_frame.luac:665>
	[C]: in function 'error'
	stonehearth/components/ai/execution_frame.luac:688: in function '_exit_protected_call'
	stonehearth/components/ai/execution_frame.luac:683: in function '_protected_call'
	stonehearth/components/ai/execution_frame.luac:362: in function 'run'
	stonehearth/components/ai/execution_unit_v2.luac:300: in function '?'
	stonehearth/components/ai/execution_unit_v2.luac:18: in function 'execute'
	stonehearth/ai/actions/idle_breathe_action.luac:3: in function 'call_fn'
	stonehearth/components/ai/execution_unit_v2.luac:22: in function '_call_run'
	stonehearth/components/ai/execution_unit_v2.luac:198: in function '_run_from_started'
	stonehearth/components/ai/execution_unit_v2.luac:141: in function '_run'
	...
	stonehearth/components/ai/execution_frame.luac:129: in function '_run'
	stonehearth/components/ai/execution_frame.luac:360: in function <stonehearth/components/ai/execution_frame.luac:352>
	[C]: in function 'xpcall'
	stonehearth/components/ai/execution_frame.luac:674: in function '_protected_call'
	stonehearth/components/ai/execution_frame.luac:362: in function 'run'
	stonehearth/components/ai/ai_component.luac:178: 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-2611 (x64)stonehearth/components/ai/execution_frame.luac:688: stonehearth/components/ai/execution_frame.luac:688: stonehearth/components/ai/execution_frame.luac:688: ...ai/actions/sleeping/sleep_in_bed_trivial_action.luac:10: assertion failed!stack traceback:
	stonehearth/components/ai/execution_frame.luac:672: in function <stonehearth/components/ai/execution_frame.luac:665>
	[C]: in function 'error'
	stonehearth/components/ai/execution_frame.luac:688: in function '_exit_protected_call'
	stonehearth/components/ai/execution_frame.luac:683: in function '_protected_call'
	stonehearth/components/ai/execution_frame.luac:456: in function '_run_from_started'
	stonehearth/components/ai/execution_frame.luac:129: in function '_run'
	stonehearth/components/ai/execution_frame.luac:360: in function <stonehearth/components/ai/execution_frame.luac:352>
	[C]: in function 'xpcall'
	stonehearth/components/ai/execution_frame.luac:674: in function '_protected_call'
	stonehearth/components/ai/execution_frame.luac:362: in function 'run'
	stonehearth/components/ai/execution_unit_v2.luac:300: in function '?'
	...
	stonehearth/components/ai/execution_frame.luac:129: in function '_run'
	stonehearth/components/ai/execution_frame.luac:360: in function <stonehearth/components/ai/execution_frame.luac:352>
	[C]: in function 'xpcall'
	stonehearth/components/ai/execution_frame.luac:674: in function '_protected_call'
	stonehearth/components/ai/execution_frame.luac:362: in function 'run'
	stonehearth/components/ai/ai_component.luac:178: 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-2611 (x64)stonehearth/components/ai/execution_frame.luac:688: stonehearth/components/ai/execution_frame.luac:688: stonehearth/components/ai/execution_frame.luac:688: stonehearth/components/ai/execution_frame.luac:688: ...ai/actions/sleeping/sleep_in_bed_trivial_action.luac:10: assertion failed!stack traceback:
	stonehearth/components/ai/execution_frame.luac:672: in function <stonehearth/components/ai/execution_frame.luac:665>
	[C]: in function 'error'
	stonehearth/components/ai/execution_frame.luac:688: in function '_exit_protected_call'
	stonehearth/components/ai/execution_frame.luac:683: in function '_protected_call'
	stonehearth/components/ai/execution_frame.luac:362: in function 'run'
	stonehearth/components/ai/execution_unit_v2.luac:300: in function '?'
	stonehearth/components/ai/execution_unit_v2.luac:18: in function 'execute'
	stonehearth/ai/actions/idle_action.luac:9: in function 'call_fn'
	stonehearth/components/ai/execution_unit_v2.luac:22: in function '_call_run'
	stonehearth/components/ai/execution_unit_v2.luac:198: in function '_run_from_started'
	stonehearth/components/ai/execution_unit_v2.luac:141: in function '_run'
	...
	stonehearth/components/ai/execution_frame.luac:129: in function '_run'
	stonehearth/components/ai/execution_frame.luac:360: in function <stonehearth/components/ai/execution_frame.luac:352>
	[C]: in function 'xpcall'
	stonehearth/components/ai/execution_frame.luac:674: in function '_protected_call'
	stonehearth/components/ai/execution_frame.luac:362: in function 'run'
	stonehearth/components/ai/ai_component.luac:178: 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-2611 (x64)stonehearth/components/ai/execution_frame.luac:688: stonehearth/components/ai/execution_frame.luac:688: stonehearth/components/ai/execution_frame.luac:688: stonehearth/components/ai/execution_frame.luac:688: stonehearth/components/ai/execution_frame.luac:688: ...ai/actions/sleeping/sleep_in_bed_trivial_action.luac:10: assertion failed!stack traceback:
	stonehearth/components/ai/execution_frame.luac:672: in function <stonehearth/components/ai/execution_frame.luac:665>
	[C]: in function 'error'
	stonehearth/components/ai/execution_frame.luac:688: in function '_exit_protected_call'
	stonehearth/components/ai/execution_frame.luac:683: in function '_protected_call'
	stonehearth/components/ai/execution_frame.luac:456: in function '_run_from_started'
	stonehearth/components/ai/execution_frame.luac:129: in function '_run'
	stonehearth/components/ai/execution_frame.luac:360: in function <stonehearth/components/ai/execution_frame.luac:352>
	[C]: in function 'xpcall'
	stonehearth/components/ai/execution_frame.luac:674: in function '_protected_call'
	stonehearth/components/ai/execution_frame.luac:362: in function 'run'
	stonehearth/components/ai/execution_unit_v2.luac:300: in function '?'
	...
	stonehearth/components/ai/execution_frame.luac:129: in function '_run'
	stonehearth/components/ai/execution_frame.luac:360: in function <stonehearth/components/ai/execution_frame.luac:352>
	[C]: in function 'xpcall'
	stonehearth/components/ai/execution_frame.luac:674: in function '_protected_call'
	stonehearth/components/ai/execution_frame.luac:362: in function 'run'
	stonehearth/components/ai/ai_component.luac:178: 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-2611 (x64)stonehearth/components/ai/execution_frame.luac:688: stonehearth/components/ai/execution_frame.luac:688: stonehearth/components/ai/execution_frame.luac:688: stonehearth/components/ai/execution_frame.luac:688: stonehearth/components/ai/execution_frame.luac:688: stonehearth/components/ai/execution_frame.luac:688: ...ai/actions/sleeping/sleep_in_bed_trivial_action.luac:10: assertion failed!stack traceback:
	stonehearth/components/ai/execution_frame.luac:672: in function <stonehearth/components/ai/execution_frame.luac:665>
	[C]: in function 'error'
	stonehearth/components/ai/execution_frame.luac:688: in function '_exit_protected_call'
	stonehearth/components/ai/execution_frame.luac:683: in function '_protected_call'
	stonehearth/components/ai/execution_frame.luac:362: in function 'run'
	stonehearth/components/ai/execution_unit_v2.luac:300: in function '?'
	stonehearth/components/ai/execution_unit_v2.luac:18: in function 'execute'
	stonehearth/ai/actions/idle_top_action.luac:5: in function 'call_fn'
	stonehearth/components/ai/execution_unit_v2.luac:22: in function '_call_run'
	stonehearth/components/ai/execution_unit_v2.luac:198: in function '_run_from_started'
	stonehearth/components/ai/execution_unit_v2.luac:141: in function '_run'
	...
	stonehearth/components/ai/execution_frame.luac:129: in function '_run'
	stonehearth/components/ai/execution_frame.luac:360: in function <stonehearth/components/ai/execution_frame.luac:352>
	[C]: in function 'xpcall'
	stonehearth/components/ai/execution_frame.luac:674: in function '_protected_call'
	stonehearth/components/ai/execution_frame.luac:362: in function 'run'
	stonehearth/components/ai/ai_component.luac:178: 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-2611 (x64)stonehearth/components/ai/execution_frame.luac:688: stonehearth/components/ai/execution_frame.luac:688: stonehearth/components/ai/execution_frame.luac:688: stonehearth/components/ai/execution_frame.luac:688: stonehearth/components/ai/execution_frame.luac:688: stonehearth/components/ai/execution_frame.luac:688: stonehearth/components/ai/execution_frame.luac:688: ...ai/actions/sleeping/sleep_in_bed_trivial_action.luac:10: assertion failed!stack traceback:
	stonehearth/components/ai/execution_frame.luac:672: in function <stonehearth/components/ai/execution_frame.luac:665>
	[C]: in function 'error'
	stonehearth/components/ai/execution_frame.luac:688: in function '_exit_protected_call'
	stonehearth/components/ai/execution_frame.luac:683: in function '_protected_call'
	stonehearth/components/ai/execution_frame.luac:456: in function '_run_from_started'
	stonehearth/components/ai/execution_frame.luac:129: in function '_run'
	stonehearth/components/ai/execution_frame.luac:360: in function <stonehearth/components/ai/execution_frame.luac:352>
	[C]: in function 'xpcall'
	stonehearth/components/ai/execution_frame.luac:674: in function '_protected_call'
	stonehearth/components/ai/execution_frame.luac:362: in function 'run'
	stonehearth/components/ai/ai_component.luac:178: 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-2611 (x64)...ai/actions/sleeping/sleep_in_bed_trivial_action.luac:10: assertion failed!stack traceback:
	stonehearth/components/ai/execution_frame.luac:672: in function <stonehearth/components/ai/execution_frame.luac:665>
	[C]: in function 'assert'
	...ai/actions/sleeping/sleep_in_bed_trivial_action.luac:10: in function 'start_thinking'
	stonehearth/services/server/ai/compound_action.luac:73: in function 'call_fn'
	stonehearth/components/ai/execution_unit_v2.luac:22: in function '_call_start_thinking'
	stonehearth/components/ai/execution_unit_v2.luac:243: in function '_do_start_thinking'
	stonehearth/components/ai/execution_unit_v2.luac:179: in function '_start_thinking_from_stopped'
	stonehearth/components/ai/execution_unit_v2.luac:96: in function '_start_thinking'
	stonehearth/components/ai/execution_frame.luac:307: in function '_restart_thinking'
	stonehearth/components/ai/execution_frame.luac:324: in function '_start_thinking_from_stopped'
	stonehearth/components/ai/execution_frame.luac:106: in function '_start_thinking'
	...
	stonehearth/components/ai/execution_frame.luac:334: in function 'start_thinking'
	stonehearth/components/ai/execution_frame.luac:357: in function <stonehearth/components/ai/execution_frame.luac:352>
	[C]: in function 'xpcall'
	stonehearth/components/ai/execution_frame.luac:674: in function '_protected_call'
	stonehearth/components/ai/execution_frame.luac:362: in function 'run'
	stonehearth/components/ai/ai_component.luac:178: 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-2611 (x64)stonehearth/components/ai/execution_frame.luac:104: bad frame transition "stop" from "starting_thinking"stack traceback:
	stonehearth/services/server/threads/thread.luac:87: in function <stonehearth/services/server/threads/thread.luac:87>
	[C]: in function 'error'
	stonehearth/components/ai/execution_frame.luac:104: in function '_unknown_transition'
	stonehearth/components/ai/execution_frame.luac:172: in function '_stop'
	stonehearth/components/ai/execution_frame.luac:679: in function '_protected_call'
	stonehearth/components/ai/execution_frame.luac:362: in function 'run'
	stonehearth/components/ai/ai_component.luac:178: 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>

4 posts were merged into an existing topic: Bug: NPCs become fused with beds