jncl / Skinner

World of Warcraft AddOn which changes the look of the default UI
7 stars 2 forks source link

[BUG]: nil reference with new version of BetterBags #78

Closed HereticalHermit closed 4 months ago

HereticalHermit commented 4 months ago

WoW Version Retail

AddOn skin name BetterBags

Describe the bug 2x Skinner/AddonSkins/BetterBags.lua:51: attempt to index a nil value [string "@Skinner/AddonSkins/BetterBags.lua"]:51: in function <Skinner/AddonSkins/BetterBags.lua:48>

string "=[C]": in function Show' [string "@BetterBags/frames/bag.lua"]:124: in functionShow' [string "@BetterBags/core/hooks.lua"]:48: in function `cb' [string "@BetterBags/core/events.lua"]:50: in function <BetterBags/core/events.lua:45>

amey1956 commented 4 months ago

same type of error on cata, referencing a different line:

`16x Skinner/AddonSkins/BetterBags.lua:53: attempt to index a nil value [string "@Skinner/AddonSkins/BetterBags.lua"]:53: in function <Skinner/AddonSkins/BetterBags.lua:48>

string "=[C]": in function Show' [string "@BetterBags/frames/bag.lua"]:124: in functionShow' [string "@BetterBags/core/hooks.lua"]:48: in function `cb' [string "@BetterBags/core/events.lua"]:50: in function <BetterBags/core/events.lua:45>

[string "@AnnoyingPopupRemover/Libs/CallbackHandler-1.0-8/CallbackHandler-1.0.lua"]:19: in function <...ver/Libs/CallbackHandler-1.0/CallbackHandler-1.0.lua:15> [string "@AnnoyingPopupRemover/Libs/CallbackHandler-1.0-8/CallbackHandler-1.0.lua"]:54: in function SendMessage' [string "@BetterBags/core/events.lua"]:176: in functionSendMessage' [string "@BetterBags/core/hooks.lua"]:91: in function ToggleAllBags' [string "@BetterBags/core/init.lua"]:87: in functionBetterBags_ToggleBags'

Locals: this = BetterBagsBagBackpack { 0 = Owner =

{ } sf = Frame { } } (temporary) = nil (temporary) = nil (temporary) = BetterBagsBagBackpack { 0 = Owner =
{ } sf = Frame { } } (temporary) = 18 (temporary) = nil (temporary) = "attempt to index a nil value" aObj =
{ add2Table = defined @Skinner/Core/SharedFuncs.lua:132 makeIconSquare = defined @Skinner/Core/UtilFuncs.lua:955 blizzLoDFrames =
{ } checkShown = defined @Skinner/Core/UtilFuncs.lua:458 getChild = defined @Skinner/Core/UtilFuncs.lua:607 isAddOnLoadOnDemand = defined @Skinner/Core/UtilFuncs.lua:847 tbClr =
{ } changeTandC = defined @Skinner/Core/UtilFuncs.lua:263 Debug3 = defined @Blizzard_UIParent/Cata/UIParent.lua:3182 isButton = defined @Blizzard_UIParent/Cata/UIParent.lua:3182 bColour =
{ } rarrow = defined @Blizzard_UIParent/Cata/UIParent.lua:3182 larrow = defined @Blizzard_UIParent/Cata/UIParent.lua:3182 setupOptions = defined @Skinner/Core/SharedFuncs.lua:141 ADDON_LOADED = defined @Skinner/Core/AddonFrames.lua:177 mmButs =
{ } getInt = defined @Skinner/Core/UtilFuncs.lua:668 addButtonBorder = defined @Blizzard_UIParent/Cata/UIParent.lua:3182 skinTooltip = defined @Skinner/Core/MainFuncs.lua:1183 db =
{ } clrButtonFromBorder = defined @Blizzard_UIParent/Cata/UIParent.lua:3182 SetupDefaults = defined @Skinner/Core/Options.lua:6 SetEnabledState = defined @Masque/Libs/AceAddon-3.0/AceAddon-3.0.lua:420 SetupClassic_NPCFramesOptions = defined @Skinner/ClassicSupport/NPCFrames_Classic.lua:373 isTT = false Backdrop =
{ } bdTexName = "Blizzard ChatFrame Background" hookSocialToastFuncs = defined @Skinner/Core/UtilFuncs.lua:795 isClscERAPTR = false setupFramesOptions = defined @Skinner/Core/UtilFuncs.lua:1331 AddonFrames = defined @Skinner/Core/AddonFrames.lua:107 hasTextInName = defined @Skinner/Core/UtilFuncs.lua:720 iofDD =
{ } bdbTexName = "Blizzard Tooltip" UnregisterAllEvents = defined @AnnoyingPopupRemover/Libs/CallbackHandler-1.0/CallbackHandler-1.0.lua:164 skinGlowBox = defined @Blizzard_UIParent/Cata/UIParent.lua:3182 keepFontStrings = defined @Skinner/Core/UtilFuncs.lua:892 XLoot = defined @Skinner/AddonSkins/XLoot.lua:5 hook = defined @Skinner/Core/UtilFuncs.lua:772 ttDelay = 0.200000 ttHook =
{ } isClsc = true GetName = defined @Masque/Libs/AceAddon-3.0/AceAddon-3.0.lua:275 name = "Skinner" Disable = defined @Masque/Libs/AceAddon-3.0/AceAddon-3.0.lua:310 round2 = defined @Skinner/Core/UtilFuncs.lua:1213 ebRgns =
{ } findFrame2 = defined @Skinner/Core/UtilFuncs.lua:558 Unhook = defined @BetterBags/libs/AceHook-3.0/AceHook-3.0.lua:417 addSkinFrame = defined @Skinner/Core/MainFuncs.lua:333 skinStatusBar = defined @Skinner/Core/MainFuncs.lua:1020 isClscERA = false clrBtnBdr = defined @Blizzard_UIParent/Cata/UIParent.lua:3182 L =
{ } Debug = defined @Blizzard_UIParent/Cata/UIParent.lua:3182 BTr = 0.600000 checkLoadable = defined `