View Bug Report
nil index when tracking certain guild bank
Bug #: 2295
File: Inventory Insight
Date: 08/19/18 09:11 PM
By: Kyzeragon
Status: Unconfirmed
Code:
user:/AddOns/PotionMaker/Libs/LibAsync/LibAsync.lua:35: user:/AddOns/IIfA/IIfADataCollection.lua:109: table index is nil
stack traceback:
user:/AddOns/IIfA/IIfADataCollection.lua:114: in function '(anonymous)'
(tail call): ?
[C]: in function 'pcall'
user:/AddOns/PotionMaker/Libs/LibAsync/LibAsync.lua:21: in function 'DoCallback'
user:/AddOns/PotionMaker/Libs/LibAsync/LibAsync.lua:49: in function 'DoJob'
user:/AddOns/PotionMaker/Libs/LibAsync/LibAsync.lua:100: in function 'Scheduler'
stack traceback:
[C]: in function 'error'
user:/AddOns/PotionMaker/Libs/LibAsync/LibAsync.lua:35: in function 'DoCallback'
user:/AddOns/PotionMaker/Libs/LibAsync/LibAsync.lua:49: in function 'DoJob'
user:/AddOns/PotionMaker/Libs/LibAsync/LibAsync.lua:100: in function 'Scheduler'
II throws this error every time I opened a specific guild bank. This only happened in one of my guild banks, the others worked. Possibly relevant info: 5th slot, I'm the leader of the guild. I have data collection enabled on 1st and 5th slot guilds.
Code:
local slotIndex = ZO_GuildBankBackpack.data[i].data.slotIndex
This is nil. The addon seems to work fine if I put the loop body inside a nil check.