auraData.stacks is nil
saenic opened this issue ยท 10 comments
Describe the bug
Error popup when casting some spells (e.g. Frostnova Cone of Cold) saying that BuffTrigger2.lua:1016 auraData.stacks
is nil
Which version of WeakAuras are you using?
2.16.6-49-g5236c74-classic
Are you on World of Warcraft Classic or Retail?
- Classic
- Retail
Was it working in a previous version? If yes, which was the last good one?
It was working a week ago or so.
Additional Info
I fixed it currently by changing
stackCount = stackCount + auraData.stacks
into
totalStacks = totalStacks + (auraData.stacks or 0)
everywhere in BuffTrigger2.lua
It is just a variant of this https://wago.io/ieUt1vGkT
I can't reproduce the issue with that aura.
Can you export the actual aura that shows the problem?
Report from @Thisisjazzy on Discord having same issue, error doesn't show which aura does it
Happen on retail with version 2.16.6-65-g79e6fee
Report from @Thisisjazzy on Discord having same issue, error doesn't show which aura does it
Happen on retail with version 2.16.6-65-g79e6fee
Using retail and it happens every now and then. Sometimes I can play in a dungeon for half an hour before it shows up and sometimes it is after just a couple of trash packs.
Thisisjazzy reported only playing Hunter these days both beast mastery & survival.
Did some filtering to help find which trigger could make issue
for aura, auradata in pairs(WeakAurasSaved.displays) do
if auradata.triggers then
if not (auradata.load and auradata.load.class.single == "PALADIN")
and auradata.parent ~= "T26: 2 Maut N/H/Mythic Pack"
then
for i, v in ipairs(auradata.triggers) do
if v.trigger
and v.trigger.type == "aura2"
and v.trigger.unit ~= "player"
and v.trigger.unit ~= "target"
and v.trigger.unit ~= "pet"
then
local name = ("%s trigger %d"):format(
auradata.id,
i
)
ViragDevTool_AddData(v.trigger, name)
end
end
end
end
end
Can reproduce with this aura
!nA16pkUnq8)DA)WXYchTRQuReWY(OInzpCO66xcysmj(wJDQTdSSFG)27mtsGaCNALqH4zgpV(nps8TXrXmzCWT9hCx)phZCXS7fBJzBIzP4pG77HRx7e(4GUXS9TENRtYn2xnsTpMnEsq0KzXSeJrLA2Pz7KfI4raHsN3Sjs8UFErk3lIzL1)3i6K0mr8kWlsmA8gERmltyDGTdi3RMa(APt8c3NKViXucMfKMxA5A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