BigDebuffs

BigDebuffs

20M Downloads

Message: Interface\AddOns\BigDebuffs\BigDebuffs.lua:982: attempt to index field '?' (a nil value)

freddiehaddad opened this issue ยท 6 comments

commented

When inside a BG, I keep seeing errors like the following:

Message: Interface\AddOns\BigDebuffs\BigDebuffs.lua:982: attempt to index field '?' (a nil value)
Time: Fri Feb 12 12:11:56 2021
Count: 29
Stack: Interface\AddOns\BigDebuffs\BigDebuffs.lua:982: attempt to index field '?' (a nil value)
[string "@Interface\AddOns\BigDebuffs\BigDebuffs.lua"]:982: in function `GetAuraPriority'
[string "@Interface\AddOns\BigDebuffs\BigDebuffs.lua"]:1679: in function `UNIT_AURA'
[string "@Interface\AddOns\BigDebuffs\BigDebuffs.lua"]:552: in function <Interface\AddOns\BigDebuffs\BigDebuffs.lua:552>

Locals: self = <table> {
 NAME_PLATE_UNIT_REMOVED = <function> defined @Interface\AddOns\BigDebuffs\BigDebuffs.lua:1940
 SetDefaultModuleLibraries = <function> defined @Interface\AddOns\BigDebuffs\Libs\AceAddon-3.0\AceAddon-3.0.lua:367
 SaveUnitFramePosition = <function> defined @Interface\AddOns\BigDebuffs\BigDebuffs.lua:680
 EnableModule = <function> defined @Interface\AddOns\BigDebuffs\Libs\AceAddon-3.0\AceAddon-3.0.lua:332
 modules = <table> {
 }
 baseName = "BigDebuffs"
 IterateEmbeds = <function> defined @Interface\AddOns\BigDebuffs\Libs\AceAddon-3.0\AceAddon-3.0.lua:442
 IsDispellable = <function> defined @Interface\AddOns\BigDebuffs\BigDebuffs.lua:910
 SecureHookScript = <function> defined @Interface\AddOns\BigDebuffs\Libs\AceHook-3.0\AceHook-3.0.lua:410
 IsPriorityBigDebuff = <function> defined @Interface\AddOns\BigDebuffs\BigDebuffs.lua:1613
 IsPriorityDebuff = <function> defined @Interface\AddOns\BigDebuffs\BigDebuffs.lua:900
 PriorityDebuffs = <table> {
 }
 SetDefaultModulePrototype = <function> defined @Interface\AddOns\BigDebuffs\Libs\AceAddon-3.0\AceAddon-3.0.lua:409
 defaultModuleState = true
 IsEnabled = <function> defined @Interface\AddOns\BigDebuffs\Libs\AceAddon-3.0\AceAddon-3.0.lua:451
 DisableModule = <function> defined @Interface\AddOns\BigDebuffs\Libs\AceAddon-3.0\AceAddon-3.0.lua:350
 RegisterMessage = <function> defined @Interface\AddOns\BigDebuffs\Libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:90
 UnregisterMessage = <function> defined @Interface\AddOns\BigDebuffs\Libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:153
 frames = <table> {
 }
 hooks = <table> {
 }
 PLAYER_FOCUS_CHANGED = <function> defined @Interface\AddOns\BigDebuffs\BigDebuffs.lua:1862
 WarningDebuffs = <table> {
 }
 UNIT_AURA = <function> defined @Interface\AddOns\BigDebuffs\BigDebuffs.lua:1619
 SetEnabledState = <function> defined @Interface\AddOns\BigDebuffs\Libs\AceAddon-3.0\AceAddon-3.0.lua:424
 Hook = <function> defined @Interface\AddOns\BigDebuffs\Libs\AceHook-3.0\AceHook-3.0.lua:274
 enabledState = true
 COMBAT_LOG_EVENT_UNFILTERED = <function> defined @Interface\AddOns\BigDebuffs\BigDebuffs.lua:748
 RegisterEvent = <function> defined @Interface\AddOns\BigDebuffs\Libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:90
 units = <table> {
 }
 IterateModules = <function> defined @Interface\AddOns\BigDebuffs\Libs\AceAddon-3.0\AceAddon-3.0.lua:437
 AttachNameplate = <function> defined @Interface\AddOns\BigDebuffs\BigDebuffs.lua:647
 RawHook = <function> defined @Interface\AddOns\BigDebuffs\Libs\AceHook-3.0\AceHook-3.0.lua:313
 AttachUnitFrame = <function> defined @Interface\AddOns\BigDebuffs\BigDebuffs.lua:543
 UNIT_AURA_NAMEPLATE = <function> defined @Interface\AddOns\BigDebuffs\BigDebuffs.lua:1743
 OnInitialize = <function> defined @Interface\AddOns\BigDebuffs\BigDebuffs.lua:468
 NewModule = <function> defined @Interface\AddOns\BigDebuffs\Libs\AceAddon-3.0\AceAddon-3.0.lua:235
 GetModule = <function> defined @Interface\AddOns\BigDebuffs\Libs\AceAddon-3.0\AceAddon-3.0.lua:210
 AttachedFrames = <table> {
 }
 defaultModuleLibraries = <table> {
 }
 options = <table> {
 }
 specDispel = <table> {
 }
 Spells = <table> {
 }
 GetName = <function> defined @Interface\AddOns\BigDebuffs\Libs\AceAddon-3.0\AceAddon-3.0.lua:279
 UNIT_AURA_ALL_UNITS = <function> defined @Interface\AddOns\BigDebuffs\BigDebuffs.lua:794
 name = "BigDebuffs"
 GetNameplatesPriority = <function> defined @Interface\AddOns\BigDebuffs\BigDebuffs.lua:100
commented

Hi, this error always happens to me when there's a mage in the arena. Cant recall what skill they use when this happens.

commented

It happens whenever a mage uses Alter Time, you can fix it by going to World of Warcraft_retail_\Interface\AddOns\BigDebuffs\Retail and changing the ID of Alter Time for frost/fire to "342246" instead of "110909"

commented

fyi I applied the Alter Time fix and it worked.

Don't really understand as the 110909 ID looked correct to me: https://www.wowhead.com/spell=110909/alter-time

Anyway thanks a lot fem !

commented

Because Old_Alter Time with id 110909 is added in patch 5.0.4.15890
and the New_Alter_Time with id 342246 is added in patch 9.0.1.36216

commented

Because Old_Alter Time with id 110909 is added in patch 5.0.4.15890
and the New_Alter_Time with id 342246 is added in patch 9.0.1.36216

Thanks a lot for this info mate, will definitely be helpful as this situation may happen again for other spells.

Thanks !

commented

I just triple checked in-game, and 110909 is definitely the ID for the version of Alter Time that Fire and Frost cast, while 342246 is for the version of the spell that Arcane casts, all produced no errors. The parent id is wrong on version 9.7, which I think is the version published on CurseForge at the moment, you can get the 9.8 from the github homepage:
image