Nil Ref in UpdateKeystoneItem
zmj opened this issue · 4 comments
One of my characters this week had a bit of latency looting the Great Vault, and since then (edit: not related) I've been getting errors with this stack trace:
Message: Interface/AddOns/AlterEgo/Database.lua:756: attempt to index a nil value
Time: Tue Apr 2 18:31:34 2024
Count: 1
Stack: Interface/AddOns/AlterEgo/Database.lua:756: attempt to index a nil value
[string "@Interface/AddOns/AlterEgo/Database.lua"]:756: in function UpdateKeystoneItem' [string "@Interface/AddOns/AlterEgo/Database.lua"]:477: in function
UpdateDB'
I tried resetting the addon data (deleting AlterEgo.lua in SavedVariables), but that didn't fix it. Any suggestions? Should I just remove or hard-code this color?
color = C_ChallengeMode.GetKeystoneLevelRarityColor(level):GenerateHexColor(),
Had this on another character as well. I updated the color assignment to:
color = C_ChallengeMode.GetKeystoneLevelRarityColor(level) and C_ChallengeMode.GetKeystoneLevelRarityColor(level):GenerateHexColor() or nil,
Hi there @zmj
That is indeed odd.
I'll look into it as soon as I get home from the office.
I can't tell from the error message itself which part is returning nil, but most likely the function itself from the ChallengeMode namespace.
I'll check if something has changed on Blizzard's side as well.
Looks like a Blizzard issue. That's just fantastic 🤦