CraftSim

CraftSim

2M Downloads

10.2.5 - ProfessionData.lua:15: attempt to index field 'professionInfoCache' (a nil value)

voidzone opened this issue ยท 3 comments

commented

CraftSim 13.0.0

Triggered when opening a crafting table.

None of these panels were previously opened by me.
image

16x ...faceCraftSim/Data/Classes/ProfessionData.lua:15: attempt to index field 'professionInfoCache' (a nil value)
[string "@CraftSim/Data/Classes/ProfessionData.lua"]:15: in function `new'
[string "@CraftSim/Libs/classic.lua"]:62: in function `ProfessionData'
[string "@CraftSim/Data/Classes/RecipeData.lua"]:41: in function `new'
[string "@CraftSim/Libs/classic.lua"]:62: in function `RecipeData'
[string "@CraftSim/Main/CraftSim.lua"]:623: in function `TriggerModulesByRecipeType'
[string "@CraftSim/Main/CraftSim.lua"]:216: in function `TriggerModuleUpdate'
[string "@CraftSim/Main/CraftSim.lua"]:262: in function <CraftSim/Main/CraftSim.lua:234>
[string "=[C]"]: in function `Init'
[string "@Blizzard_ProfessionsTemplates/Blizzard_ProfessionsRecipeSchematicForm.lua"]:192: in function <...emplates/Blizzard_ProfessionsRecipeSchematicForm.lua:186>
[string "=[C]"]: in function `SetShown'
[string "@SharedXML/TabSystem/TabSystemOwner.lua"]:33: in function `SetTab'
[string "@SharedXML/TabSystem/TabSystemOwner.lua"]:69: in function `SetTab'
[string "@Blizzard_Professions/Blizzard_ProfessionsFrame.lua"]:420: in function `SetTab'
[string "@Blizzard_Professions/Blizzard_ProfessionsFrame.lua"]:301: in function `UpdateTabs'
[string "@Blizzard_Professions/Blizzard_ProfessionsFrame.lua"]:248: in function `Refresh'
[string "@Blizzard_Professions/Blizzard_ProfessionsFrame.lua"]:210: in function `SetProfessionInfo'
[string "@Blizzard_Professions/Blizzard_ProfessionsFrame.lua"]:139: in function <...s/Blizzard_Professions/Blizzard_ProfessionsFrame.lua:102>

Locals:
self = <table> {
 recipeData = <table> {
 }
}
recipeData = <table> {
 professionInfoCached = false
 crafterData = <table> {
 }
 recipeInfoCached = false
 specializationDataCached = false
 professionGearCached = false
 recipeID = 414989
 operationInfoCached = false
}
recipeID = 414989
crafterUID = "Veldruk-Vek'nilash"
(*temporary) = nil
(*temporary) = nil
(*temporary) = "-"
(*temporary) = "Vek'nilash"
(*temporary) = nil
(*temporary) = nil
(*temporary) = "attempt to index field 'professionInfoCache' (a nil value)"

commented

temp fix:
in Data\Classes\ProfessionData.lua put this between lines 14 and 15

CraftSimRecipeDataCache.professionInfoCache = CraftSimRecipeDataCache.professionInfoCache or {}
commented

You can also temp fix it ingame by
/run CraftSimRecipeDataCache.professionInfoCache = {}
and reloading

commented

fixed with 13.0.1