Syiana / SUI

SUI - The Dark Side of World of Warcraft
https://www.curseforge.com/wow/addons/sui
36 stars 16 forks source link

[BUG] Debuffs.lua - Attempt to index local 'color' (a nil value) #106

Closed Syzuna closed 11 months ago

Syzuna commented 1 year ago

Describe the bug A clear and concise description of what the bug is.

To Reproduce Steps to reproduce the behavior:

  1. Go to Freehold
  2. It just started near the third boss
  3. See error

Stacktrace

1764x SUI/Modules/Buffs/_Debuffs.lua:173: attempt to index local 'color' (a nil value)
[string "@SUI/Modules/Buffs/_Debuffs.lua"]:173: in function `updateDebuffs'
[string "@SUI/Modules/Buffs/_Debuffs.lua"]:184: in function <SUI/Modules/Buffs/_Debuffs.lua:183>

Locals:
Children = <table> {
 1 = Button {
 }
 2 = Button {
 }
 3 = Button {
 }
 4 = Button {
 }
 5 = Button {
 }
 6 = Button {
 }
 7 = Button {
 }
 8 = Button {
 }
 9 = Button {
 }
 10 = Button {
 }
 11 = Button {
 }
 12 = Button {
 }
 13 = Button {
 }
 14 = Button {
 }
 15 = Button {
 }
 16 = Button {
 }
}
(for generator) = <function> defined =[C]:-1
(for state) = <table> {
 1 = Button {
 }
 2 = Button {
 }
 3 = Button {
 }
 4 = Button {
 }
 5 = Button {
 }
 6 = Button {
 }
 7 = Button {
 }
 8 = Button {
 }
 9 = Button {
 }
 10 = Button {
 }
 11 = Button {
 }
 12 = Button {
 }
 13 = Button {
 }
 14 = Button {
 }
 15 = Button {
 }
 16 = Button {
 }
}
(for control) = 2
index = 2
child = Button {
 0 = <userdata>
 OnEnter = <function> defined @FrameXML/BuffFrame.lua:651
 timeLeft = 8
 TempEnchantBorder = Texture {
 }
 Update = <function> defined @FrameXML/BuffFrame.lua:791
 timeMod = 1
 GetFilter = <function> defined @FrameXML/BuffFrame.lua:750
 OnLeave = <function> defined @FrameXML/BuffFrame.lua:667
 OnUpdate = <function> defined @FrameXML/BuffFrame.lua:675
 Duration = FontString {
 }
 unit = "player"
 GetID = <function> defined @FrameXML/BuffFrame.lua:847
 Icon = Texture {
 }
 OnLoad = <function> defined @FrameXML/BuffFrame.lua:619
 UpdateAuraType = <function> defined @FrameXML/BuffFrame.lua:731
 isExample = false
 OnClick = <function> defined @FrameXML/BuffFrame.lua:624
 SUIBorder = Frame {
 }
 Symbol = FontString {
 }
 buttonInfo = <table> {
 }
 Count = FontString {
 }
 hasValidInfo = true
 UpdateDuration = <function> defined =[C]:-1
 auraType = "Debuff"
 UpdateExpirationTime = <function> defined @FrameXML/BuffFrame.lua:764
 DebuffBorder = Texture {
 }
}
frame = Button {
 0 = <userdata>
 OnEnter = <function> defined @FrameXML/BuffFrame.lua:651
 timeLeft = 8
 TempEnchantBorder = Texture {
 }
 Update = <function> defined @FrameXML/BuffFrame.lua:791
 timeMod = 1
 GetFilter = <function> defined @FrameXML/BuffFrame.lua:750
 OnLeave = <function> defined @FrameXML/BuffFrame.lua:667
 OnUpdate = <function> defined @FrameXML/BuffFrame.lua:675
 Duration = FontString {
 }
 unit = "player"
 GetID = <function> defined @FrameXML/BuffFrame.lua:847
 Icon = Texture {
 }
 OnLoad = <function> defined @FrameXML/BuffFrame.lua:619
 UpdateAuraType = <function> defined @FrameXML/BuffFrame.lua:731
 isExample = false
 OnClick = <function> defined @FrameXML/BuffFrame.lua:624
 SUIBorder = Frame {
 }
 Symbol = FontString {
 }
 buttonInfo = <table> {
 }
 Count = FontString {
 }
 hasValidInfo = true
 UpdateDuration = <function> defined =[C]:-1
 auraType = "Debuff"
 UpdateExpirationTime = <function> defined @FrameXML/BuffFrame.lua:764
 DebuffBorder = Texture {
 }
}
icon = Texture {
 0 = <userdata>
}
debuffType = ""
color = nil
(*temporary) = <function> defined =[C]:-1
(*temporary) = Texture {
 0 = <userdata>
}
(*temporary) = 0.080000
(*temporary) = 0.920000
(*temporary) = <userdata>
(*temporary) = Button {
 0 = <userdata>
 GetID = <function> defined @FrameXML/BuffFrame.lua:847
 UpdateAuraType = <function> defined @FrameXML/BuffFrame.lua:731
 Update = <function> defined @FrameXML/BuffFrame.lua:791
 GetFilter = <function> defined @FrameXML/BuffFrame.lua:750
 OnClick = <function> defined @FrameXML/BuffFrame.lua:624
 TempEnchantBorder = Texture {
 }
 hasValidInfo = false
 isExample = false
 OnLoad = <function> defined @FrameXML/BuffFrame.lua:619
 UpdateExpirationTime = <function> defined @FrameXML/BuffFrame.lua:764
 Symbol = FontString {
 }
 SUIBorder = Frame {
 }
 OnEnter = <function> defined @FrameXML/BuffFrame.lua:651
 OnLeave = <function> defined @FrameXML/BuffFrame.lua:667
 Count = FontString {
 }
 DebuffBorder = Texture {
 }
 UpdateDuration = <function> defined =[C]:-1
 Duration = FontString {
 }
 OnUpdate = <function> defined @FrameXML/BuffFrame.lua:675
 Icon 

Which World of Warcraft version (please complete the following information):

Additional context Only happened in Freehold for now

muleyo commented 11 months ago

Should be fixed by today. Sorry for the delay.