AlterEgo

AlterEgo

39k Downloads

Nil Ref in UpdateKeystoneItem

zmj opened this issue · 4 comments

commented

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(),

commented

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,

commented

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.

commented

Also, do you have a keystone in your inventory? If so, what level is it?

commented

Looks like a Blizzard issue. That's just fantastic 🤦

Stanzilla/WoWUIBugs#544