AuraEnvironment GetData() override doesn't check if currentId is nil for getDataCallCounts[currentId]
Daemoos opened this issue ยท 7 comments
Description
It should work without error.
WeakAuras Version
WeakAuras dragonflight-beta-5
World of Warcraft Flavor
Beta (Dragonflight)
Tested with only WeakAuras
- Yes
- No
Lua Error
1x Interface/AddOns/WeakAuras/AuraEnvironment.lua:479: attempt to perform arithmetic on field '?' (a nil value)
[string "@Interface/AddOns/WeakAuras/AuraEnvironment.lua"]:479: in function `GetData'
[string "return function() local CLASS = aura_env.id:gsub("General Options %- LWA %- ", "")
aura_env.CLASS = CLASS
LWA = LWA or {}
LWA[CLASS] = LWA[CLASS] or {}
local LWA = LWA[CLASS]
local RESOURCES_GROUP = "Resources - LWA - " .. CLASS
function LWA.UpdateResources()
local grpData = WeakAuras.GetData(RESOURCES_GROUP)
end
end"]:12: in function <[string "return function() local CLASS = aura_env.id..."]:11>
Locals:
id = "Resources - LWA - GetData"
currentId = nil
(*temporary) = <table> {
BetterPowerBar = 0
Scarlet Adaptation = 0
Soul Tap = 0
Maelstrom - LWA - Shaman = 0
Mirror Images = 0
General Options - LWA - GetData = 0
Health Bar - LWA - GetData = 0
}
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = "attempt to perform arithmetic on field '?' (a nil value)"
Private = <table> {
HandleGlowAction = <function> defined @Interface/AddOns/WeakAuras/WeakAuras.lua:3331
frame_strata_types = <table> {
}
DisplayToString = <function> defined @Interface/AddOns/WeakAuras/Transmission.lua:343
combat_event_type = <table> {
}
regions = <table> {
}
frameLevels = <table> {
}
CheckItemSlotCooldowns = <function> defined @Interface/AddOns/WeakAuras/GenericTrigger.lua:2433
InitializeEncounterAndZoneLists = <function> defined @Interface/AddOns/WeakAuras/Types_Retail.lua:10
IsEnvironmentInitialized = <function> defined @Interface/AddOns/WeakAuras/AuraEnvironment.lua:198
form_types = <table> {
}
CleanArchive = <function> defined @Interface/AddOns/WeakAuras/History.lua:22
RunConditions = <function> defined @Interface/AddOns/WeakAuras/Conditions.lua:721
tooltip_count = <table> {
}
pet_spec_types = <table> {
}
regionOptions = <table> {
}
get_zoneId_list = <function> defined @Interface/AddOns/WeakAuras/Types_Retail.lua:66
checkForSingleLoadCondition = <function> defined @Interface/AddOns/WeakAuras/Prototypes.lua:1068
author_option_classes = <table> {
}
grid_types = <table> {
}
non_transmissable_fields = <table> {
}
absorb_modes = <table> {
}
combatlog_spell_school_types_for_ui = <table> {
}
miss_types = <table> {
}
faction_group = <table> {
}
ensurePRDFrame = <function> defined @Interface/AddOns/WeakAuras/WeakAuras.lua:4880
talent_types = <table> {
}
LoadFunction = <function> defined @Interface/AddOns/WeakAuras/AuraEnvironment.lua:625
reset_swing_spells = <table> {
}
circular_group_constant_factor_types = <table> {
}
FinishLoadUnload = <function> defined @Interface/AddOns/WeakAuras/WeakAuras.lua:1915
subRegionTypes = <table> {
}
ToggleMinimap = <function> defined @Interface/AddOns/WeakAuras/WeakAuras.lua:203
array_entry_name_types = <table> {
}
combatlog_spell_school_types = <table> {
}
StringToTable = <function> defined @Interface/AddOns/WeakAuras/Transmission.lua:292
RegisterLoadEvents = <function> defined @Interface/AddOns/WeakAuras/WeakAuras.lua:1765
FixGroupChildrenOrderForGroup = <function> defined @Interface/AddOns/WeakAuras/WeakAuras.lua:3805
blend_types = <table> {
}
text_automatic_width = <table> {
}
EnforceSubregionExists = <function> defined @Interface/AddOns/WeakAuras/RegionTypes/RegionPrototype.lua:1014
CheckSpellCooldown = <function> defined @Interface/AddOns/WeakAuras/GenericTrigger.lua:2310
custom_trigger_types = <table> {
}
group_types = <table> {
}
subRegionOptions = <table> {
}
text_rotate_types = <table> {
}
spec_types = <table> {
}
anim_ease_types = <table> {
}
item_slot_types = <table> {
}
multiUnitUnits = <table> {
}
anim_color_types = <table> {
}
loaded = <table> {
}
Convert = <function> defined @Interface/AddOns/WeakAuras/WeakAuras.lua:2131
sound_channel_types = <table> {
}
CheckCooldownReady = <function> defined @Interface/AddOns/WeakAuras/GenericTrigger.lua:2490
event_prototypes = <table> {
}
CanHaveDuration = <function> defined @Interface/AddOns/WeakAuras/WeakAuras.lua:3475
NeedToRepairDatabase = <function> defined @Interface/AddOns/WeakAuras/WeakAuras.lua:2210
StopProfileSystem = <function> defined @Interface/AddOns/WeakAuras/Init.lua:259
classification_types = <table> {
}
unit_types_bufftrigger_2 = <table> {
}
CheckSpellCooldows = <function> defined @Interface/AddOns/WeakAuras/GenericTrigger.lua:2364
IsOptionsProcessingPaused = <function> defined @Interface/AddOns/WeakAuras/WeakAuras.lua:1456
ValueFromPath = <function> defined @Interface/AddOns/WeakAuras/WeakAuras.lua:3757
Login = <function> defined @Interface/AddOns/WeakAuras/WeakAuras.lua:1116
GetTriggerConditions = <function>
Reproduction Steps
We have an aura that uses WeakAuras.GetData() but the target aura might not have finished loading yet.
Last Good Version
No response
Screenshots
No response
Export String
!WA:2!TQ1BmUXX1DrrFv105p6oBDXs1oA9zPZ35C6K0zlLe7OktYJ3DuMhjZsENSuSZYz5oK7kTC3v7U8(JAdA7bxh5c0gKlfTbUOPbeT9tPUPST2aTbPbxmCrcmsF9cQRtsrRHqHrbA)q79H2pvG(EZSl59h9Veu(bYDM9nV5nV537FZWelouG3dA4ZA660W2QPz4j05HStCMHAnKXqg34X9gQURtOVRTn3iRPLTHp35j9o6SChUpZwPKxOLRtGYjukCX043ZYdNMfY8oSkpWTTFD(EE1n1D9n4(zy1VQHVRN3bZyBD9RZ8nuQ66AhA55VsPgnc4HZ9CJSVF(9HFwVPVBBV8OC4DmlNqUFdwD(jTW2bNSUnliGEulWK1I5mPUTxxMtDtx)YUiX6zZvSAo1UYjnRRTR)fsKirYPA7BVFFwDH0Fw1GqMFyk9gwowbMPYG)eMATqFRMn5(bhzu)OhFLogC92nAuDvpU)C5kuEMfkKjeBOYA7ZMATapUTDEJGu3mOToFjUtyfKARv6QLnDLQAvQMwTAVxv2NJVsTs5CfkKPnoJ6E2Sv5(QI3QphNzhAQ6WAXdsTEBNiri1wcvGdZEru0q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Rk79iVxIzWSzufJWSFu4pq6wmIkVXYh)FS5fJoncmdLxCH8NOFRtuHgaLjjMeu3OPPUTLxnmC9tByFPY(Jn7txDk4F1e(jMDDPBevgQRZCLuZF5sfXIIeXYhLIL)WYRInkAT4FjroFFx)GAIeEol8DnH3A)DmC1AHQsgLn1GJIfR(j6vuO8FpYKBdDqfA3)4aXqpF3AyEtdT099f()(d
I need the aura to understand how current_uid can be nil, or a much more complete error message.
I'm working on Lux's WA. We have a trigger on PLAYER_ENTERING_WORLD on an aura that runs code and uses WeakAuras.GetData(otherId) to get information on a different aura. That other aura might not yet be loaded. They're all part of the same parent group.
Your analysis is entirely incorrect, the error message is not about the target aura at all. GetData works on auras whether they are loaded or not.
So please do what I asked you. Provide the auras please and a complete error message.
!WA:2!TQ1BmUXX1DrrFv105p6oBDXs1oA9zPZ35C6K0zlLe7OktYJ3DuMhjZsENSuSZYz5oK7kTC3v7U8(JAdA7bxh5c0gKlfTbUOPbeT9tPUPST2aTbPbxmCrcmsF9cQRtsrRHqHrbA)q79H2pvG(EZSl59h9Veu(bYDM9nV5nV537FZWelouG3dA4ZA660W2QPz4j05HStCMHAnKXqg34X9gQURtOVRTn3iRPLTHp35j9o6SChUpZwPKxOLRtGYjukCX043ZYdNMfY8oSkpWTTFD(EE1n1D9n4(zy1VQHVRN3bZyBD9RZ8nuQ66AhA55VsPgnc4HZ9CJSVF(9HFwVPVBBV8OC4DmlNqUFdwD(jTW2bNSUnliGEulWK1I5mPUTxxMtDtx)YUiX6zZvSAo1UYjnRRTR)fsKirYPA7BVFFwDH0Fw1GqMFyk9gwowbMPYG)eMATqFRMn5(bhzu)OhFLogC92nAuDvpU)C5kuEMfkKjeBOYA7ZMATapUTDEJGu3mOToFjUtyfKARv6QLnDLQAvQMwTAVxv2NJVsTs5CfkKPnoJ6E2Sv5(QI3QphNzhAQ6WAXdsTEBNiri1wcvGdZEru0qP)ARhWTBiwSWdKXGhu37XNNzWv0xvPq7vcnDPTGWLTcRBoz4sN0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HgaLjjMeu3OPPUTLxnmC9tByFPY(Jn7txDk4F1e(jMDDPBevgQRZCLuZF5sfXIIeXYhLIL)WYRInkAT4FjroFFx)GAIeEol8DnH3A)DmC1AHQsgLn1GJIfR(j6vuO8FpYKBdDqfA3)4aXqpF3AyEtdT099f()(d
This simplified test reproduces the error. General Options trigger calls LWA.UpdateResources() which calls GetData on a the Resources Group.
1x Interface/AddOns/WeakAuras/AuraEnvironment.lua:479: attempt to perform arithmetic on field '?' (a nil value)
[string "@Interface/AddOns/WeakAuras/AuraEnvironment.lua"]:479: in function `GetData'
[string "return function() local CLASS = aura_env.id:gsub("General Options %- LWA %- ", "")
aura_env.CLASS = CLASS
LWA = LWA or {}
LWA[CLASS] = LWA[CLASS] or {}
local LWA = LWA[CLASS]
local RESOURCES_GROUP = "Resources - LWA - " .. CLASS
function LWA.UpdateResources()
local grpData = WeakAuras.GetData(RESOURCES_GROUP)
end
end"]:12: in function <[string "return function() local CLASS = aura_env.id..."]:11>
Locals:
id = "Resources - LWA - GetData"
currentId = nil
(*temporary) = <table> {
BetterPowerBar = 0
Scarlet Adaptation = 0
Soul Tap = 0
Maelstrom - LWA - Shaman = 0
Mirror Images = 0
General Options - LWA - GetData = 0
Health Bar - LWA - GetData = 0
}
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = "attempt to perform arithmetic on field '?' (a nil value)"
Private = <table> {
HandleGlowAction = <function> defined @Interface/AddOns/WeakAuras/WeakAuras.lua:3331
frame_strata_types = <table> {
}
DisplayToString = <function> defined @Interface/AddOns/WeakAuras/Transmission.lua:343
combat_event_type = <table> {
}
regions = <table> {
}
frameLevels = <table> {
}
CheckItemSlotCooldowns = <function> defined @Interface/AddOns/WeakAuras/GenericTrigger.lua:2433
InitializeEncounterAndZoneLists = <function> defined @Interface/AddOns/WeakAuras/Types_Retail.lua:10
IsEnvironmentInitialized = <function> defined @Interface/AddOns/WeakAuras/AuraEnvironment.lua:198
form_types = <table> {
}
CleanArchive = <function> defined @Interface/AddOns/WeakAuras/History.lua:22
RunConditions = <function> defined @Interface/AddOns/WeakAuras/Conditions.lua:721
tooltip_count = <table> {
}
pet_spec_types = <table> {
}
regionOptions = <table> {
}
get_zoneId_list = <function> defined @Interface/AddOns/WeakAuras/Types_Retail.lua:66
checkForSingleLoadCondition = <function> defined @Interface/AddOns/WeakAuras/Prototypes.lua:1068
author_option_classes = <table> {
}
grid_types = <table> {
}
non_transmissable_fields = <table> {
}
absorb_modes = <table> {
}
combatlog_spell_school_types_for_ui = <table> {
}
miss_types = <table> {
}
faction_group = <table> {
}
ensurePRDFrame = <function> defined @Interface/AddOns/WeakAuras/WeakAuras.lua:4880
talent_types = <table> {
}
LoadFunction = <function> defined @Interface/AddOns/WeakAuras/AuraEnvironment.lua:625
reset_swing_spells = <table> {
}
circular_group_constant_factor_types = <table> {
}
FinishLoadUnload = <function> defined @Interface/AddOns/WeakAuras/WeakAuras.lua:1915
subRegionTypes = <table> {
}
ToggleMinimap = <function> defined @Interface/AddOns/WeakAuras/WeakAuras.lua:203
array_entry_name_types = <table> {
}
combatlog_spell_school_types = <table> {
}
StringToTable = <function> defined @Interface/AddOns/WeakAuras/Transmission.lua:292
RegisterLoadEvents = <function> defined @Interface/AddOns/WeakAuras/WeakAuras.lua:1765
FixGroupChildrenOrderForGroup = <function> defined @Interface/AddOns/WeakAuras/WeakAuras.lua:3805
blend_types = <table> {
}
text_automatic_width = <table> {
}
EnforceSubregionExists = <function> defined @Interface/AddOns/WeakAuras/RegionTypes/RegionPrototype.lua:1014
CheckSpellCooldown = <function> defined @Interface/AddOns/WeakAuras/GenericTrigger.lua:2310
custom_trigger_types = <table> {
}
group_types = <table> {
}
subRegionOptions = <table> {
}
text_rotate_types = <table> {
}
spec_types = <table> {
}
anim_ease_types = <table> {
}
item_slot_types = <table> {
}
multiUnitUnits = <table> {
}
anim_color_types = <table> {
}
loaded = <table> {
}
Convert = <function> defined @Interface/AddOns/WeakAuras/WeakAuras.lua:2131
sound_channel_types = <table> {
}
CheckCooldownReady = <function> defined @Interface/AddOns/WeakAuras/GenericTrigger.lua:2490
event_prototypes = <table> {
}
CanHaveDuration = <function> defined @Interface/AddOns/WeakAuras/WeakAuras.lua:3475
NeedToRepairDatabase = <function> defined @Interface/AddOns/WeakAuras/WeakAuras.lua:2210
StopProfileSystem = <function> defined @Interface/AddOns/WeakAuras/Init.lua:259
classification_types = <table> {
}
unit_types_bufftrigger_2 = <table> {
}
CheckSpellCooldows = <function> defined @Interface/AddOns/WeakAuras/GenericTrigger.lua:2364
IsOptionsProcessingPaused = <function> defined @Interface/AddOns/WeakAuras/WeakAuras.lua:1456
ValueFromPath = <function> defined @Interface/AddOns/WeakAuras/WeakAuras.lua:3757
Login = <function> defined @Interface/AddOns/WeakAuras/WeakAuras.lua:1116
GetTriggerConditions = <function>