CraftSim

CraftSim

2M Downloads

[CraftLog] RecipeData.lua:484: attempt to index field 'reagentData' (a nil value) - OnRecraft

Brkostoner opened this issue ยท 0 comments

commented

Describe the bug
When I do any craft order, Public or Personal, I get this error

To Reproduce
Steps to reproduce the behavior:

  1. Go to crafting table
  2. Click on proffessions, open for example Blacksmithing
  3. Check and take order and do craft.
  4. See error
    34x CraftSim/Classes/RecipeData.lua:484: attempt to index field 'reagentData' (a nil value) [string "@CraftSim/Classes/RecipeData.lua"]:484: in function SetNonQualityReagentsMax'
    [string "@CraftSim/Classes/OnCraftData.lua"]:49: in function CreateRecipeData' [string "@CraftSim/Init/Init.lua"]:216: in function <CraftSim/Init/Init.lua:201> [string "@CraftSim/Init/Init.lua"]:270: in function <CraftSim/Init/Init.lua:269> [string "=[C]"]: in function RecraftRecipeForOrder'
    [string "@Blizzard_Professions/Blizzard_ProfessionsCrafterOrderView.lua"]:1033: in function RecraftOrder' [string "@Blizzard_Professions/Blizzard_ProfessionsCrafterOrderView.lua"]:79: in function StartCraft'
    [string "@Blizzard_Professions/Blizzard_ProfessionsCrafterOrderView.lua"]:108: in function <...Professions/Blizzard_ProfessionsCrafterOrderView.lua:76>

Locals:
self =

{
concentrating = false
concentrationCost = 0
specializationDataCached = false
subRecipeCostsEnabled = false
professionGearCached = false
professionInfoCached = false
subRecipeDepth = 0
optimizedSubRecipes =
{
}
parentRecipeInfo =
{
}
crafterData =
{
}
operationInfoCached = false
recipeInfoCached = false
}
(*temporary) = nil
(*temporary) = false
(*temporary) = true
(*temporary) = nil
(*temporary) =
{
UI =
{
}
registeredDebugIDs =
{
}
isMute = false
profilings =
{
}
frame =
{
}
}
(*temporary) = "SetNonQualityReagentsMax"
(*temporary) = "Classes.RecipeData.SetNonQualityReagentsMax"
(*temporary) = false
(*temporary) = true
(*temporary) = nil
(*temporary) =
{
}
(*temporary) = nil
(*temporary) = "DEBUG_IDS"
(*temporary) = "attempt to index field 'reagentData' (a nil value)"
CraftSim =
{
COOLDOWNS =
{
}
STATISTICS =
{
}
OPTIONAL_REAGENT_DATA =
{
}
NEWS =
{
}
OnCraftData =
{
}
DEBUG =
{
}
PRICE_DETAILS =
{
}
CRAFT_LOG = Frame {
}
WIDGETS =
{
}
ProfessionGear =
{
}
CRAFT_BUFFS = Frame {
}
NodeData =
{
}
PRICE_OVERRIDE =
{
}
ConcentrationData =
{
}
LOCAL_MX =
{
}
ENCHANT_RECIPE_DATA =
{
}
REAGENT_DATA =
{
}
COST_OPTIMIZATION =
{
}
EXPLANATIONS =
{
}
LibCompress =
{
}
TopGearResult =
{
}
ReagentData =
{
}
LOCAL_DE =
{
}
CONCENTRATION_TRACKER =
{
}
SUPPORTERS =
{
}
LibGraph =
{
}
OptionalReagentSlot =
{
}
Reagent =
{
}
PRICE_APIS =
{
}
LOCAL_FR =
{
}
SPECIALIZATION_DATA =
{
}
PRICE_SOURCE =
{
}
UTIL =
{
}
LOCAL_ES =
{
}
CraftSimObject =
{
}
PerkData =
{
}
ITEM_COUNT = Frame {
}
TOPGEAR =
{
}
PriceData =
{
}
OptionalReagent =
{
}
CONCENTRATION_CURVE_DATA =
{
}
LOCAL_IT =
{
}
CONTROL_PANEL =
{
}
CraftQueueItem =
{
}
ResultData =
{
}
CraftQueue =
{
}
RECIPE_SCAN =
{
}
AVERAGEPROFIT =
{
}
BagBuff =
{
}
Buff =
{
}
BuffData =
{
}
SIMULATION_MODE =
{
}
JSONBuilder =
{
}
OPTIONS =
{
}
CraftRecipeData =
{
}
INIT = Frame {
}
CALC =
{
}
ProfessionGearSet =
{
}
SpecializationData =
{
}
ProfessionData =
{
}
LOCAL_RU =
{
}
CraftSessionData =
{
}
ProfessionStats =
{
}
CraftResultItem =
{
}
LOCAL_CN =
{
}
CraftResult =
{
}
DB =
{
}
ReagentOptimizationResult =
{
}
ProfessionStat =
{
}
Statweights =
{
}
SalvageReagentSlot =
{
}
CraftResultReagent =
{
}
GUTIL =
{
}
CUSTOMER_HISTORY = Frame {
}
ReagentListItem =
{
}
REAGENT_OPTIMIZATION =
{
}
ReagentItem =
{
}
LOCAL_EN =
{
}
COMM =
{
}
FRAME =
{
}
RecipeData =
{
}
LOCAL_KO =
{
}
LOCAL_TW =
{
}
Object =
{
}
LOCAL_PT =
{
}
LibIcon =
{
}
LOCAL =
{
}
CooldownData =
{
}
PRICE_API =
{
}
SPECIALIZATION_INFO =
{
}
CONST =
{
}
CRAFTQ = Frame {
}
GGUI =
{
}
MEDIA =
{
}
}
GUTIL =
{
COLORS =
{
}
eventWaitFrame = Frame {
}
Object =
{
}
FrameDistributor =
{
}
Formatter =
{
}
}
`
Expected behavior
Not to show any bug or error. It doesn on every craft

Screenshots
image

Addon Version: [e.g. 19.7.1]
19.7.1 (current version up to date)

Additional context
Nothing else