BigDebuffs

BigDebuffs

20M Downloads

LUA Error - "GetAuraPriority" ?

mjdeans opened this issue ยท 7 comments

commented

Message: Interface\AddOns\BigDebuffs\BigDebuffs.lua:982: attempt to index field '?' (a nil value)
Time: Thu Jan 28 22:34:07 2021
Count: 151
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 =

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

commented

Same issue here it rarely happens tho.

Message: Interface\AddOns\BigDebuffs\BigDebuffs.lua:1005: attempt to index field '?' (a nil value) Time: Fri Jan 29 13:49:54 2021 Count: 7 Stack: Interface\AddOns\BigDebuffs\BigDebuffs.lua:1005: attempt to index field '?' (a nil value) [string "@Interface\AddOns\BigDebuffs\BigDebuffs.lua"]:1005: in function GetNameplatesPriority'
[string "@interface\AddOns\BigDebuffs\BigDebuffs.lua"]:1807: in function `UNIT_AURA_NAMEPLATE'
[string "@interface\AddOns\BigDebuffs\BigDebuffs.lua"]:1932: in function <Interface\AddOns\BigDebuffs\BigDebuffs.lua:1931>

Locals: self =

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

commented

I have the same two errors as above. line 982 and 1005

commented

Also having the same issue. Seems to be whenever there is a mage around (I think fire but could be other specs too) Looks like it's related to Alter Time.

Message: Interface\AddOns\BigDebuffs\BigDebuffs.lua:1005: attempt to index field '?' (a nil value)
Time: Mon Feb 1 18:49:39 2021
Count: 63
Stack: Interface\AddOns\BigDebuffs\BigDebuffs.lua:1005: attempt to index field '?' (a nil value)
[string "@interface\AddOns\BigDebuffs\BigDebuffs.lua"]:1005: in function GetNameplatesPriority' [string "@Interface\AddOns\BigDebuffs\BigDebuffs.lua"]:1807: in function UNIT_AURA_NAMEPLATE'
[string "@interface\AddOns\BigDebuffs\BigDebuffs.lua"]:1932: in function <Interface\AddOns\BigDebuffs\BigDebuffs.lua:1931>

Locals: self =

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

commented

Still getting this error like crazy. Every single BG/Arena.

commented

Same thing happening for me since the reset , I know blizzard has changed Unstable Affliction spell priority if that can help you solve this !

commented

fixed in #206
in the meantime you can go to line 240 in Addons/BigDebuffs/Retail.lua and change the parentID:

OLD

    [342246] = { type = BUFF_DEFENSIVE }, --Alter Time (Arcane)
        [110909] = { type = BUFF_DEFENSIVE, parent = 108978 }, --Alter Time (Fire/Frost) 

NEW

    [342246] = { type = BUFF_DEFENSIVE }, --Alter Time (Arcane)
        [110909] = { type = BUFF_DEFENSIVE, parent = 342246 }, --Alter Time (Fire/Frost)
commented

Thank you very much!