Class Error, UI Error & Engine Error - [Text and pictures]

Summary:

This bug appeared after my Footman (lvl 6) and Archer (lvl 4) leveled up at the same time, then I clicked on the character sheet for the Footman while having the Footman selected, and then clicked on the Archer level-up (pop up) screen character sheet.

This results in a UI error, which needs reloading.
After the UI reload, I got 7 different Engine Errors as posted here in screenshots and text format,

Pre-UI error and class/engine errors

Steps to reproduce:

  1. Level up a Footman to level 6, and an Archer to level 4.
  2. Click on the character sheet for the Footman while having the Footman selected, then click on the Archer´s level up character sheet.
  3. UI error appears and asks for a reload.
  4. Reload the UI, resulting in 7 different Engine errors to appear. After the initial Engine Errors

Expected Results:

This is a strange and weird bug, not sure if it will be able to be recreated, which is why I have saved the screenshots for as much information as possible.

Actual Results:

Should just show the information about the level ups without crashing. But instead crashes the UI for some reason.

Notes:

Pre-UI error
UI Error 1:

release-798 (x64)
Uncaught TypeError: Cannot read property ‘removeClass’ of undefined
TypeError: Cannot read property ‘removeClass’ of undefined
at n._setPreviewStyling (http://radiant/stonehearth/ui/game/show_workshop/show_team_workshop.js:693:30)
at invoke (http://radiant/stonehearth/ui/root/js/libs/ember-1.8.1.min.js:1:7142)
at n.flush (http://radiant/stonehearth/ui/root/js/libs/ember-1.8.1.min.js:1:7689)
at a.end (http://radiant/stonehearth/ui/root/js/libs/ember-1.8.1.min.js:1:2462)
at http://radiant/stonehearth/ui/root/js/libs/ember-1.8.1.min.js:1:1288

UI Error 2:

release-798 (x64)
Uncaught TypeError: this._moodBarTooltipTemplate is not a function
TypeError: this._moodBarTooltipTemplate is not a function
at n._makeMoodBarTooltip (http://radiant/stonehearth/ui/game/character_sheets/citizen_character_sheet/citizen_character_sheet.js:213:19)
at HTMLDivElement. (http://radiant/stonehearth/ui/game/character_sheets/citizen_character_sheet/citizen_character_sheet.js:180:35)
at Function.each (http://radiant/radiant/js/external/jquery-2.1.4.min.js:2:2882)
at n.fn.init.each (http://radiant/radiant/js/external/jquery-2.1.4.min.js:2:847)
at n._updateMoodBarTooltips (http://radiant/stonehearth/ui/game/character_sheets/citizen_character_sheet/citizen_character_sheet.js:179:28)
at n._updateHappiness (http://radiant/stonehearth/ui/game/character_sheets/citizen_character_sheet/citizen_character_sheet.js:110:12)
at w (http://radiant/stonehearth/ui/root/js/libs/ember-1.8.1.min.js:5:23160)
at m (http://radiant/stonehearth/ui/root/js/libs/ember-1.8.1.min.js:4:21008)
at b (http://radiant/stonehearth/ui/root/js/libs/ember-1.8.1.min.js:5:13753)
at a (http://radiant/stonehearth/ui/root/js/libs/ember-1.8.1.min.js:5:12519)

After these errors, I had to reload the UI. Resulting in 7 other Engine Errors. As posted here:

UIReload Error 1:

Forgot to copy the text! Sorry!
It is however in the picture following.

UIReload Error 2:

release-798 (x64)
CHECK failed: C:\rb\ihome\root\SH-OB0-BUILD\stonehearth\source\lib\lua\ai\execution_frame.cpp:1596 Aborting with empty runStack. Unexpected state: thinking
stack traceback:
radiant/modules/commons.lua:53: in function ‘report_traceback’
stonehearth/components/ai/ai_component.lua:581: in function <stonehearth/components/ai/ai_component.lua:578>
[C]: in function ‘fn’
stonehearth/services/server/threads/thread.lua:346: in function ‘private_msg’
stonehearth/services/server/threads/thread.lua:543: in function ‘_dispatch_messages’
stonehearth/services/server/threads/thread.lua:403: in function ‘suspend’
stonehearth/services/server/threads/thread.lua:445: in function ‘sleep_realtime’
stonehearth/components/ai/ai_component.lua:551: in function <stonehearth/components/ai/ai_component.lua:499>
[C]: in function ‘xpcall’
radiant/modules/commons.lua:73: in function ‘xpcall’
stonehearth/components/ai/ai_component.lua:499: in function ‘_thread_main’
stonehearth/services/server/threads/thread.lua:273: in function <stonehearth/services/server/threads/thread.lua:270>
[C]: in function ‘xpcall’
radiant/modules/commons.lua:73: in function ‘xpcall’
stonehearth/services/server/threads/thread.lua:270: in function ‘f’
radiant/lib/env.lua:15: in function <radiant/lib/env.lua:14>

UIReload Error 3:

release-798 (x64)
CHECK failed: C:\rb\ihome\root\SH-OB0-BUILD\stonehearth\source\lib\lua\ai\execution_frame.cpp:982 invalid initial state “finished” in run
stack traceback:
[C]: ?
[C]: in function ‘run’
stonehearth/components/ai/ai_component.lua:515: in function <stonehearth/components/ai/ai_component.lua:499>
[C]: in function ‘xpcall’
radiant/modules/commons.lua:73: in function ‘xpcall’
stonehearth/components/ai/ai_component.lua:499: in function ‘_thread_main’
stonehearth/services/server/threads/thread.lua:273: in function <stonehearth/services/server/threads/thread.lua:270>
[C]: in function ‘xpcall’
radiant/modules/commons.lua:73: in function ‘xpcall’
stonehearth/services/server/threads/thread.lua:270: in function ‘f’
radiant/lib/env.lua:15: in function <radiant/lib/env.lua:14>

UIReload Error 4:

release-798 (x64)
CHECK failed: C:\rb\ihome\root\SH-OB0-BUILD\stonehearth\source\lib\lua\ai\execution_unit.cpp:205 bad unit transition “set_think_output” from “finished” in action find path to entity
stack traceback:
[C]: ?
[C]: in function ‘set_think_output’
stonehearth/ai/actions/find_path_to_entity.lua:71: in function ‘cb’
stonehearth/components/pathfinder/astar_search.lua:131: in function ‘_on_solved’
stonehearth/components/pathfinder/astar_search.lua:99: in function <stonehearth/components/pathfinder/astar_search.lua:98>

UIReload Error 5:

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

UIReloadError5

UIReload Error 6:

release-798 (x64)
CHECK failed: C:\rb\ihome\root\SH-OB0-BUILD\stonehearth\source\lib\lua\ai\execution_unit.cpp:205 bad unit transition “set_think_output” from “stopped” in action find path to entity
stack traceback:
[C]: ?
[C]: in function ‘set_think_output’
stonehearth/ai/actions/find_path_to_entity.lua:71: in function ‘cb’
stonehearth/components/pathfinder/astar_search.lua:131: in function ‘_on_solved’
stonehearth/components/pathfinder/astar_search.lua:99: in function <stonehearth/components/pathfinder/astar_search.lua:98>

UIReload Error 7:

release-798 (x64)
CHECK failed: C:\rb\ihome\root\SH-OB0-BUILD\stonehearth\source\lib\lua\ai\execution_unit.cpp:205 bad unit transition “set_think_output” from “started” in action find path to entity
stack traceback:
[C]: ?
[C]: in function ‘set_think_output’
stonehearth/ai/actions/find_path_to_entity.lua:71: in function ‘cb’
stonehearth/components/pathfinder/astar_search.lua:131: in function ‘_on_solved’
stonehearth/components/pathfinder/astar_search.lua:99: in function <stonehearth/components/pathfinder/astar_search.lua:98>

Attachments:
Added pictures into the notes where the error code is.

Version Number and Mods in use:

No mods, using the unstable build: release-798 (x64)

System Information:

Current and newest version of Windows 10.

CPU: Intel Core i5-4670K @4.6GHz
GPU model: Nvidia GTX 1070, Asus ROG Strix
RAM: 16GB 2133MHz RAM. - Can´t remember the brand and not at home while posting this.

I hope this helps solve a weird problem I´ve encountered while checking the stats and bonuses from a level up. ~ Shalix

2 Likes