derfloh205 / CraftSim

MIT License
16 stars 40 forks source link

lua error in new version #742

Open yourapple opened 2 days ago

yourapple commented 2 days ago

1x 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 functionCreateRecipeData' [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 functionRecraftOrder' [string "@Blizzard_Professions/Blizzard_ProfessionsCrafterOrderView.lua"]:79: in function callback' [string "@Blizzard_StaticPopup_Frame/Mainline/StaticPopup.lua"]:70: in functionOnAccept' [string "@Blizzard_StaticPopup/StaticPopup.lua"]:1023: in function `StaticPopup_OnClick'

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 =
{ } }

derfloh205 commented 14 hours ago

Please add info:

  • Addon Version
  • Steps to reproduce the error