5 errors: Assertion failed! - in function 'begin_transaction' & attempt to index local 'parent' (a nil value) - in function 'erase_fixture'

I was paused and when I clicked on a mason cart notice I got a ui error and when I refreshed I got the following:


release-523 (x64)
stonehearth/services/server/build/build_service.lua:386: attempt to index local 'parent' (a nil value)
stack traceback:
	[C]: ?
	stonehearth/services/server/build/build_service.lua:386: in function 'erase_fixture'
	stonehearth/services/server/build/build_service.lua:395: in function 'cb'
	stonehearth/services/server/build/build_service.lua:1430: in function 'do_command'
	stonehearth/services/server/build/build_service.lua:394: in function <stonehearth/services/server/build/build_service.lua:393>

release-523 (x64)
c++ exception: lua runtime error
stack traceback:

release-523 (x64)
...ehearth/services/server/build/build_undo_manager.lua:46: assertion failed!
stack traceback:
	[C]: ?
	[C]: in function 'assert'
	...ehearth/services/server/build/build_undo_manager.lua:46: in function 'begin_transaction'
	stonehearth/services/server/build/build_service.lua:1427: in function 'do_command'
	stonehearth/services/server/build/build_service.lua:394: in function <stonehearth/services/server/build/build_service.lua:393>

release-523 (x64)
bad unit transition "set_think_output" from "stopped in action find path to storage containing entity type
stack traceback:
	[C]: ?
	[C]: in function 'set_think_output'
	...nd_path_to_storage_containing_entity_type_action.lua:28: in function 'solved_cb'
	...rth/components/pathfinder/shared_bfs_path_finder.lua:193: in function '_call_solved_cb'
	...rth/components/pathfinder/shared_bfs_path_finder.lua:215: in function '_call_solved_cbs'
	...rth/components/pathfinder/shared_bfs_path_finder.lua:149: in function <...rth/components/pathfinder/shared_bfs_path_finder.lua:122>

release-523 (x64)
...ehearth/services/server/build/build_undo_manager.lua:411: assertion failed!
stack traceback:
	[C]: ?
	[C]: in function 'assert'
	...ehearth/services/server/build/build_undo_manager.lua:411: in function 'clear'
	stonehearth/services/server/build/build_service.lua:107: in function 'set_teardown'
	stonehearth/call_handlers/build_call_handler.lua:25: in function <stonehearth/call_handlers/build_call_handler.lua:23>

@yshan. sorry if im paging the wrong person

Hi @Fralee
Are the errors in a save and they persist on load? If so, please upload the save and I can take a look :slight_smile:

Also, what do you mean by “mason cart”? Is that the mason show workshop screen?
It’s possible the UI got stuck somehow and these errors had always been there but since the UI was stuck, the errors didn’t show up until the UI was refreshed.

Thanks
-Yang

no it didn’t show up after a load.
and I meant the master mason cart trader. sorry for the confusion :sweat:

the ui got stuck after the trader notice popped up and the messages showed up after the refresh

trying to erase a placed item while setting a building plan
paging @yshan ? I hope Im getting the right person :sweat:

release-523 (x64)
...ehearth/services/server/build/build_undo_manager.lua:46: assertion failed!
stack traceback:
	[C]: ?
	[C]: in function 'assert'
	...ehearth/services/server/build/build_undo_manager.lua:46: in function 'begin_transaction'
	stonehearth/services/server/build/build_service.lua:1427: in function 'do_command'
	stonehearth/services/server/build/build_service.lua:394: in function <stonehearth/services/server/build/build_service.lua:393>

release-523 (x64)
c++ exception: lua runtime error
stack traceback:

release-523 (x64)
stonehearth/services/server/build/build_service.lua:386: attempt to index local 'parent' (a nil value)
stack traceback:
	[C]: ?
	stonehearth/services/server/build/build_service.lua:386: in function 'erase_fixture'
	stonehearth/services/server/build/build_service.lua:395: in function 'cb'
	stonehearth/services/server/build/build_service.lua:1430: in function 'do_command'
	stonehearth/services/server/build/build_service.lua:394: in function <stonehearth/services/server/build/build_service.lua:393>

The mods generally have a good idea which member of TR is currently working on what problems. So I’d start by paging @jomaxro or @8BitCrab and see who they elect to page. I try not to bug TR directly too much myself, so as to avoid spamming them unnecessarily.

2 Likes