KkthnxUI

KkthnxUI

244k Downloads

LUA Error on Hover with Fade Databars On

JoaoCPires opened this issue ยท 1 comments

commented

Description

If the option to fade databars is selected in KkthnxUI > Data Bars > Fade Data Bars is selected, the on hover even triggers a LUA error and doesn't display remove the fade

Version Number

9.10.5

Steps to Reproduce

  1. Step 1 Set Fade Data Bars to on;
  2. Step 2 Reload;
  3. Step 3 Hover mouse over data bars

Expected Behavior

There should be no LUA error, the data bar should lose alpha

Actual Behavior

Error is thrown and the data bar doesn't lose fase

Only KkthnxUI Enabled

Yes, it can be reproduced with only KkthnxUI enabled

Error Log

There are 2 LUA errors

LUA Error 1

Message: Interface\AddOns\KkthnxUI\Modules\Databars\Core.lua:330: attempt to index field 'Container' (a nil value)
Time: Sun May 31 11:06:27 2020
Count: 2
Stack: Interface\AddOns\KkthnxUI\Modules\Databars\Core.lua:330: attempt to index field 'Container' (a nil value)
[string "@Interface\AddOns\KkthnxUI\Modules\Databars\Core.lua"]:330: in function <Interface\AddOns\KkthnxUI\Modules\Databars\Core.lua:325>

Locals: self = KKUI_Databars {
 0 = <userdata>
}
(*temporary) = <function> defined @Interface\AddOns\KkthnxUI\Core\Animation.lua:217
(*temporary) = nil
(*temporary) = 0.250000
(*temporary) = nil
(*temporary) = nil
(*temporary) = -4
(*temporary) = <userdata>
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = "attempt to index field 'Container' (a nil value)"
GameTooltip = GameTooltip {
 0 = <userdata>
 SetCurrencyByID = <function> defined =[C]:-1
 SetRecipeReagentItem = <function> defined =[C]:-1
 shoppingTooltips = <table> {
 }
 SetAzeritePower = <function> defined =[C]:-1
 ItemTooltip = <unnamed> {
 }
 SetCurrencyToken = <function> defined =[C]:-1
 BottomOverlay = <unnamed> {
 }
 updateTooltip = 0.200000
 SetUnitAura = <function> defined =[C]:-1
 TopOverlay = <unnamed> {
 }
 SetAzeriteEssenceSlot = <function> defined =[C]:-1
 needsReset = true
 SetToyByItemID = <function> defined =[C]:-1
 SetAzeriteEssence = <function> defined =[C]:-1
 SetCurrencyTokenByID = <function> defined =[C]:-1
 SetHyperlink = <function> defined =[C]:-1
}
C = <table> {
 Inventory = <table> {
 }
 Misc = <table> {
 }
 General = <table> {
 }
 Media = <table> {
 }
 QuestNotifier = <table> {
 }
 Auras = <table> {
 }
 PulseCooldown = <table> {
 }
 Loot = <table> {
 }
 Automation = <table> {
 }
 Skins = <table> {
 }
 Raid = <table> {
 }
 Party = <table> {
 }
 DataBars = <table> {
 }
 Filger = <table> {
 }
 Nameplate = <table> {
 }
 Boss = <table> {
 }
 FilgerSpells = <table> {
 }
 Tooltip = <table> {
 }
 UIFonts = <table> {
 }
 UITextures = <table> {
 }
 Announcements = <table> {
 }
 Unitframe = <table> {
 }
 DataText = <table> {
 }
 WorldMap = <table> {
 }
 Minimap = <table> {
 }
 Arena = <table> {
 }
 ActionBar = <table> {
 }
 Chat = <table> {
 }
}
K = <table> {
 GetAnchors = <function> defined @Interface\AddOns\KkthnxUI\Core\Functions.lua:369
 Race = "Tauren"
 TalentChatSpam = <table> {
 }
 FormatMoney = <function> defined @Interface\AddOns\KkthnxUI\Core\Functions.lua:575
 UIFrameFade_OnUpdate = <function> defined @Interface\AddOns\KkthnxUI\Core\Animation.lua:114
 StaticPopup_EscapePressed = <function> defined @Interface\AddOns\KkthnxUI\Core\StaticPopups.lua:318
 TextureTable = <table> {
 }
 DebuffHighlightColors = <table> {
 }
 InspectItemInfo = <function> defined @Interface\AddOns\KkthnxUI\Core\Functions.lua:239
 ScheduleTimer = <function> defined @Interface\AddOns\KkthnxUI\Init.lua:631
 PriestColors = <table> {
 }
 GetFont = <function> defined @Interface\AddOns\KkthnxUI\Core\Media.lua:98
 SetUpAnimGroup = <function> defined @Interface\AddOns\KkthnxUI\Core\Animation.lua:15
 Class = "DRUID"
 UnitColor = <function> defined @Interface\AddOns\KkthnxUI\Core\Functions.lua:156
 ShortValue = <function> defined @Interface\AddOns\KkthnxUI\Core\Functions.lua:55
 Role = "Tank"
 WaitFrame = KkthnxUI_WaitFrame {
 }
 ShortenString = <function> defined @Interface\AddOns\KkthnxUI\Core\Functions.lua:464
 Credits = "Alza, Azilroka, Blazeflack, Caellian, Caith, Darth Predator, Elv, Goldpaw, Haleth, Haste, Hungtar, Hydra, Ishtara, KkthnxUI Community, LightSpark, Magicnachos, Merathilis, Nightcracker, P3lim, Rav99, Roth, Shestak, Simpy, siweia, Sophia, Sticklord, Tekkub, Tohveli, Tukz, Tulla, Tuller, oUF Team"
 BuffsTracking = <table> {
 }
 AutoDisenchantOres = <table> {
 }
 cargBags = <unnamed> {
 }
 SetupUIScale = <function> defined @Interface\AddOns\KkthnxUI\Init.lua:185
 Version = "9

LUA Error 2

Message: Interface\AddOns\KkthnxUI\Modules\Databars\Core.lua:417: attempt to index field 'Container' (a nil value)
Time: Sun May 31 11:06:27 2020
Count: 2
Stack: Interface\AddOns\KkthnxUI\Modules\Databars\Core.lua:417: attempt to index field 'Container' (a nil value)
[string "@Interface\AddOns\KkthnxUI\Modules\Databars\Core.lua"]:417: in function <Interface\AddOns\KkthnxUI\Modules\Databars\Core.lua:415>

Locals: self = KKUI_Databars {
 0 = <userdata>
}
(*temporary) = <function> defined @Interface\AddOns\KkthnxUI\Core\Animation.lua:238
(*temporary) = nil
(*temporary) = 1
(*temporary) = nil
(*temporary) = nil
(*temporary) = "attempt to index field 'Container' (a nil value)"
C = <table> {
 Inventory = <table> {
 }
 Misc = <table> {
 }
 General = <table> {
 }
 Media = <table> {
 }
 QuestNotifier = <table> {
 }
 Auras = <table> {
 }
 PulseCooldown = <table> {
 }
 Loot = <table> {
 }
 Automation = <table> {
 }
 Skins = <table> {
 }
 Raid = <table> {
 }
 Party = <table> {
 }
 DataBars = <table> {
 }
 Filger = <table> {
 }
 Nameplate = <table> {
 }
 Boss = <table> {
 }
 FilgerSpells = <table> {
 }
 Tooltip = <table> {
 }
 UIFonts = <table> {
 }
 UITextures = <table> {
 }
 Announcements = <table> {
 }
 Unitframe = <table> {
 }
 DataText = <table> {
 }
 WorldMap = <table> {
 }
 Minimap = <table> {
 }
 Arena = <table> {
 }
 ActionBar = <table> {
 }
 Chat = <table> {
 }
}
K = <table> {
 GetAnchors = <function> defined @Interface\AddOns\KkthnxUI\Core\Functions.lua:369
 Race = "Tauren"
 TalentChatSpam = <table> {
 }
 FormatMoney = <function> defined @Interface\AddOns\KkthnxUI\Core\Functions.lua:575
 UIFrameFade_OnUpdate = <function> defined @Interface\AddOns\KkthnxUI\Core\Animation.lua:114
 StaticPopup_EscapePressed = <function> defined @Interface\AddOns\KkthnxUI\Core\StaticPopups.lua:318
 TextureTable = <table> {
 }
 DebuffHighlightColors = <table> {
 }
 InspectItemInfo = <function> defined @Interface\AddOns\KkthnxUI\Core\Functions.lua:239
 ScheduleTimer = <function> defined @Interface\AddOns\KkthnxUI\Init.lua:631
 PriestColors = <table> {
 }
 GetFont = <function> defined @Interface\AddOns\KkthnxUI\Core\Media.lua:98
 SetUpAnimGroup = <function> defined @Interface\AddOns\KkthnxUI\Core\Animation.lua:15
 Class = "DRUID"
 UnitColor = <function> defined @Interface\AddOns\KkthnxUI\Core\Functions.lua:156
 ShortValue = <function> defined @Interface\AddOns\KkthnxUI\Core\Functions.lua:55
 Role = "Tank"
 WaitFrame = KkthnxUI_WaitFrame {
 }
 ShortenString = <function> defined @Interface\AddOns\KkthnxUI\Core\Functions.lua:464
 Credits = "Alza, Azilroka, Blazeflack, Caellian, Caith, Darth Predator, Elv, Goldpaw, Haleth, Haste, Hungtar, Hydra, Ishtara, KkthnxUI Community, LightSpark, Magicnachos, Merathilis, Nightcracker, P3lim, Rav99, Roth, Shestak, Simpy, siweia, Sophia, Sticklord, Tekkub, Tohveli, Tukz, Tulla, Tuller, oUF Team"
 BuffsTracking = <table> {
 }
 AutoDisenchantOres = <table> {
 }
 cargBags = <unnamed> {
 }
 SetupUIScale = <function> defined @Interface\AddOns\KkthnxUI\Init.lua:185
 Version = "9.10.5"
 ClassList = <table> {
 }
 WowPatch = "8.3.0"
 CollectEssenceInfo = <function> defined @Interface\AddOns\KkthnxUI\Core\Functions.lua:251
 Media = KkthnxUIFonts {
 }
 NewModule = <function> defined @Interface\AddOns\KkthnxUI\Init.lua:158
 StaticPopup_EditBoxOnEscapePressed = <function> defined @Interface\AddOns\KkthnxUI\Core\StaticPopups.lua:527
 UIFrameFade = <function> defined @Interface\AddOns\KkthnxUI\Core\Animation.lua:167
 Client = "enUS"
 ScanTooltip = KkthnxUI_ScanTooltip {
 }
 CreateGF = <function> defined @Interface\AddOns\KkthnxUI\Core\Functions.lua:109
 Mover = <function> defined @Interface\AddOns\KkthnxUI\Core\Movers.lua:29
 StaticPopup_OnHide = <function> defined @Interface\AddOns\KkthnxUI\Core\StaticPopups.lua:420
 PostAlertMove = <function> defined @Interface\AddOns\KkthnxUI\Modules\Blizzard\AlertFrames.lua:15
 Colors = <table> {
 }
 UIFrameFadeOut = <function> defined @Interface\AddOns\KkthnxUI\Core\Animation.lua:238
 MinimapHei
commented

Fixed 98b7c70