Auctionator / Journalator

World of Warcraft addon. Keep track of your gold making on the AH, crafting orders and with vendors
https://www.curseforge.com/wow/addons/journalator
MIT License
10 stars 6 forks source link

Journalator error when processing a Public Engineering Crafting Order (on 10.1.5) #64

Closed b-morgan closed 1 year ago

b-morgan commented 1 year ago

Please include as much of the following information as possible to help me fix the bug:

Brief Description of Bug

I actually found an Engineering Public Crafting Order I could complete.

Steps to Reproduce

Create an Engineering Public Crafting Order

Loaded Addons

Auctionator, Skillet, Journalator, and many others (if you really need the list, let me know and I'll create one).

Back Trace (LUA Error Output)

2x ...urnalator/Source/Monitor/CraftingOrderFulfilling.lua:16: table index is nil [string "@Journalator/Source/Monitor/CraftingOrderFulfilling.lua"]:16: in function <...urnalator/Source/Monitor/CraftingOrderFulfilling.lua:13>

[string "@Journalator/Source/Monitor/CraftingOrderFulfilling.lua"]:182: in function `ProcessReagents' [string "@Journalator/Source/Monitor/CraftingOrderFulfilling.lua"]:198: in function <...urnalator/Source/Monitor/CraftingOrderFulfilling.lua:196>

Locals: array =

{ 1 =
{ } } toExclude =
{ 1 =
{ } } hits =
{ } (for generator) = defined =[C]:-1 (for state) =
{ 1 =
{ } } (for control) = 1 _ = 1 item =
{ quantity = 1 itemID = 203402 } (temporary) = nil (temporary) = 1 (temporary) =
{ quantity = 1 itemID = 203402 } (temporary) = nil (*temporary) = "table index is nil"

b-morgan commented 1 year ago

I completed four public orders and all produced the same error. I then completed two guild orders with no errors.

The public orders were for a Gnomish Voicebox with the customer supplied reagent, a broken Gnomish Voicebox.

designadrug commented 1 year ago

I got this same error today when completing inscription treatise through guild orders. Here is an example of the Bug Sack capture:

1x ...urnalator/Source/Monitor/CraftingOrderFulfilling.lua:16: table index is nil [string "@Journalator/Source/Monitor/CraftingOrderFulfilling.lua"]:16: in function <...urnalator/Source/Monitor/CraftingOrderFulfilling.lua:13>

[string "@Journalator/Source/Monitor/CraftingOrderFulfilling.lua"]:182: in function `ProcessReagents' [string "@Journalator/Source/Monitor/CraftingOrderFulfilling.lua"]:198: in function <...urnalator/Source/Monitor/CraftingOrderFulfilling.lua:196>

Locals: array =

{ 1 =
{ } 2 =
{ } 3 =
{ } 4 =
{ } } toExclude =
{ 1 =
{ } 2 =
{ } 3 =
{ } 4 =
{ } 5 =
{ } } hits =
{ } (for generator) = defined =[C]:-1 (for state) =
{ 1 =
{ } 2 =
{ } 3 =
{ } 4 =
{ } 5 =
{ } } (for control) = 1 _ = 1 item =
{ quantity = 10 itemID = 190456 } (temporary) = nil (temporary) = 1 (temporary) =
{ quantity = 10 itemID = 190456 } (temporary) = nil (*temporary) = "table index is nil"

designadrug commented 1 year ago

I got the same error at the same time for 3 guild treatise and a public enchanting order. The majority of the error capture is identical with only the itemID changing.

plusmouse commented 1 year ago

Thanks for the bug report. I've added a fix into 1.52 which will be available shortly.