v4.7.7 nil error when canceling the color picker
Farmbuyer opened this issue ยท 0 comments
Having right-clicked a bar in editing mode, I mistakenly clicked the color picker menu entry instead of the enable/disable toggle. When the color picker was displayed, I clicked Cancel; it spat out the error here and did not close the picker. Clicking Okay closed it eventually.
3x NeedToKnow/BarMenu.lua:425: attempt to perform arithmetic on field 'opacity' (a nil value)
[string "@NeedToKnow/BarMenu.lua"]:425: in function `cancelFunc'
[string "@Blizzard_FrameXML/Mainline/ColorPickerFrame.lua"]:27: in function <...dOns/Blizzard_FrameXML/Mainline/ColorPickerFrame.lua:25>
Locals:
oldColor = <table> {
a = 0
b = 0.807843
g = 0.439216
r = 0.835294
}
groupID = 2
barID = 1
barSettings = <table> {
buffcd_duration = 0
show_spark = false
BuffOrDebuff = "CASTCD"
show_time = true
AuraName = "Vampiric Embrace"
Unit = "player"
blink_label = ""
OnlyMine = true
vct_enabled = false
TimeFormat = "Fmt_SingleUnit"
show_text_user = ""
show_icon = false
show_text = true
blink_boss = false
Enabled = false
show_all_stacks = false
append_cd = false
bDetectExtends = false
blink_enabled = false
blink_ooc = true
BarColor = <table> {
}
show_count = true
vct_color = <table> {
}
MissingBlink = <table> {
}
show_charges = false
usable_duration = 0
buffcd_reset_spells = ""
append_usable = false
vct_extra = 0
vct_spell = ""
}
color = <table> {
a = 1
b = 0.807843
g = 0.439216
r = 0.835294
}
(*temporary) = nil
(*temporary) = 0.439216
(*temporary) = 0.807843
(*temporary) = <table> {
buffcd_duration = 0
show_spark = false
BuffOrDebuff = "CASTCD"
show_time = true
AuraName = "Vampiric Embrace"
Unit = "player"
blink_label = ""
OnlyMine = true
vct_enabled = false
TimeFormat = "Fmt_SingleUnit"
show_text_user = ""
show_icon = false
show_text = true
blink_boss = false
Enabled = false
show_all_stacks = false
append_cd = false
bDetectExtends = false
blink_enabled = false
blink_ooc = true
BarColor = <table> {
}
show_count = true
vct_color = <table> {
}
MissingBlink = <table> {
}
show_charges = false
usable_duration = 0
buffcd_reset_spells = ""
append_usable = false
vct_extra = 0
vct_spell = ""
}
(*temporary) = "attempt to perform arithmetic on field 'opacity' (a nil value)"
BarMenu = <table> {
barID = 1
frame = NeedToKnowDropDownMenu {
}
groupID = 2
}
NeedToKnow = <table> {
SpellUsableBarMixin = <table> {
}
ProfilePanel = InterfaceOptionsNeedToKnowProfilePanel {
}
raid_members = <table> {
}
OptionSlider = <table> {
}
String = <table> {
}
m_last_cast_head = <table> {
}
m_last_cast = <table> {
}
ResizeButton = <table> {
}
m_last_cast_tail = <table> {
}
BarMenu = <table> {
}
profiles = <table> {
}
AuraBarMixin = <table> {
}
Bar = <table> {
}
barGroups = <table> {
}
accountSettings = <table> {
}
ExecutiveFrame = NeedToKnow_ExecutiveFrame {
}
last_cast = <table> {
}
profileSettings = <table> {
}
BarGroup = <table> {
}
totem_drops = <table> {
}
version = "4.7.7"
OptionsPanel = InterfaceOptionsNeedToKnowPanel {
}
Cooldown = <table> {
}
AppearancePanel = InterfaceOptionsNeedToKnowAppearancePanel {
}
LSM = <table> {
}
BarBorder = <table> {
}
m_last_guid = <table> {
}
guidPlayer = "Player-4-00004628"
characterSettings = <table> {
}
TotemBarMixin = <table> {
}
EquipCooldownBarMixin = <table> {
}
SpellCooldownBarMixin = <table> {
}
BuffCooldownBarMixin = <table> {
}
ProfileSettings = <table> {
}
BarGroupTab = <table> {
}
DefaultSettings = <table> {
}
MAX_BARGROUPS = 4
Dialog = <table> {
}
}