Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Brkostoner opened this issue Nov 30, 2024 · 0 comments
Assignees

Comments

@Brkostoner
Copy link

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

@github-project-automation github-project-automation bot moved this to Backlog in CraftSim Nov 30, 2024
@Brkostoner Brkostoner changed the title [<Module Name>] <Issue Title> [<CraftLog>] <Error when crafting any orders> Nov 30, 2024
@derfloh205 derfloh205 moved this from Backlog to Ready in CraftSim Dec 2, 2024
@derfloh205 derfloh205 changed the title [<CraftLog>] <Error when crafting any orders> [CraftLog] RecipeData.lua:484: attempt to index field 'reagentData' (a nil value) - OnRecraft Dec 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Ready
Development

No branches or pull requests

2 participants