raethkcj / RatingBuster

An item comparison tool for WoW Classic.
GNU General Public License v2.0
58 stars 14 forks source link

[Bug]: attempt to index upvalue 'globalDB' (a nil value), NonEmptySpell:ContinueOnLoad(callbackFunction) #135

Closed Sakatard closed 1 year ago

Sakatard commented 1 year ago

Describe the bug

upon login on my warlock I get:

4x Interface\AddOns\RatingBuster\RatingBuster-(development).nil.lua:1454: Usage: NonEmptySpell:ContinueOnLoad(callbackFunction) string "=[C]": in function error' [string "@Interface\FrameXML\ObjectAPI\Spell.lua"]:53: in functionContinueOnSpellLoad' [string "@Interface\AddOns\RatingBuster\RatingBuster-(development).nil.lua"]:1454: in function <Interface\AddOns\RatingBuster\RatingBuster.lua:1434> [string "@Interface\AddOns\RatingBuster\RatingBuster-(development).nil.lua"]:1469: in function <Interface\AddOns\RatingBuster\RatingBuster.lua:1466>

Locals: (*temporary) = "Usage: NonEmptySpell:ContinueOnLoad(callbackFunction)"

and

30x Interface\AddOns\RatingBuster\RatingBuster-(development).nil.lua:1655: attempt to index upvalue 'globalDB' (a nil value) [string "@Interface\AddOns\RatingBuster\RatingBuster-(development).nil.lua"]:1655: in function `handler' [string "@Interface\AddOns\RatingBuster\libs\TipHooker-1.0\TipHooker-1.0-67029.lua"]:156: in function <...ns\RatingBuster\libs\TipHooker-1.0\TipHooker-1.0.lua:150>

string "=[C]": in function SetAction' [string "@Interface\AddOns\ElvUI_Libraries\Core\LibActionButton-1.0\LibActionButton-1.0-70.lua"]:2440: in functionSetTooltip' [string "@Interface\AddOns\ElvUI_Libraries\Core\LibActionButton-1.0\LibActionButton-1.0-70.lua"]:2141: in function <...ies\Core\LibActionButton-1.0\LibActionButton-1.0.lua:2133> [string "@Interface\AddOns\ElvUI_Libraries\Core\LibActionButton-1.0\LibActionButton-1.0-70.lua"]:1098: in function <...ies\Core\LibActionButton-1.0\LibActionButton-1.0.lua:1096>

string "=[C]": in function `handler' [string "@Interface\AddOns\CustomFlyout\Libs\LibFlyoutFrame\LibFlyoutFrame.lua"]:977: in function <...\CustomFlyout\Libs\LibFlyoutFrame\LibFlyoutFrame.lua:971>

Locals: tooltip = GameTooltip { 0 = SetUnitBuff = defined =[C]:-1 SetExistingSocketGem = defined =[C]:-1 GetBackdropColor = defined @Interface\SharedXML\SharedTooltipTemplates.lua:191 SetHyperlink = defined =[C]:-1 SetGuildBankItem = defined =[C]:-1 SetVoidItem = defined =[C]:-1 SetBackdropBorderColor = defined @Interface\SharedXML\SharedTooltipTemplates.lua:195 SetVoidDepositItem = defined =[C]:-1 SetVoidWithdrawalItem = defined =[C]:-1 default = 1 SetCraftItem = defined =[C]:-1 __tooltipUpdated = true Hide = defined =[C]:-1 comparing = false SetSocketGem = defined =[C]:-1 SetCurrencyTokenByID = defined =[C]:-1 TopOverlay = { } GetBackdropBorderColor = defined @Interface\SharedXML\SharedTooltipTemplates.lua:199 SetPetAction = defined =[C]:-1 SetUnitDebuff = defined =[C]:-1 SetItemByID = defined =[C]:-1 SetLootItem = defined =[C]:-1 SetQuestItem = defined =[C]:-1 hasMoney = 1 SetBorderBlendMode = defined @Interface\SharedXML\SharedTooltipTemplates.lua:203 SetTrainerService = defined =[C]:-1 numMoneyFrames = 2 StatusBar = GameTooltipStatusBar { } SetInboxItem = defined =[C]:-1 layoutType = "TooltipDefaultLayout" shoppingTooltips =

{ } SetRecipeResultItem = defined =[C]:-1 SetMerchantItem = defined =[C]:-1 SetQuestLogItem = defined =[C]:-1 SetMerchantCostItem = defined @Interface\AddOns\TradeSkillMaster\LibTSM\Service\ItemTooltipClasses\Wrapper.lua:101 SetTradeTargetItem = defined =[C]:-1 SetTradeSkillItem = defined @Interface\AddOns\TradeSkillMaster\LibTSM\Service\ItemTooltipClasses\Wrapper.lua:101 SetTradePlayerItem = defined =[C]:-1 SetRecipeReagentItem = defined @Interface\AddOns\TradeSkillMaster\LibTSM\Service\ItemTooltipClasses\Wrapper.lua:101 SetSendMailItem = defined =[C]:-1 BottomOverlay = { } updateTooltip = 0.050000 SetInventoryItem = defined =[C]:-1 qualityChanged = true NineSlice = { } TooltipBackdropOnLoad = defined @Interface\SharedXML\SharedTooltipTemplates.lua:172 SetUnitAura = defined =[C]:-1 SetBuybackItem = defined =[C]:-1 SetAuctionSellItem = defined =[C]:-1 SetBagItem = defined =[C]:-1 needsReset = true SetAction = defined =[C]:-1 SetBackdropColor = defined @Interface\SharedXML\SharedTooltipTemplates.lua:187 SetLootRollItem = defined =[C]:-1 SetAuctionItem = defined =[C]:-1 } name = "" link = "|cffa335ee|Hitem:40750:3606:::::::80:::::::::|h[Xintor's Expeditionary Boots]|h|r" itemType = 4 isRecipe = false (temporary) = nil (temporary) = "Armor" (temporary) = "Cloth" (temporary) = "INVTYPE_FEET" (temporary) = 132560 (temporary) = 4 (temporary) = 1 (temporary) = 4 (temporary) = 1 (temporary) = nil (temporary) = nil (temporary) = nil (temporary) = nil (temporary) = nil (temporary) = nil (temporary) = nil (*temporary) = "attempt to index upvalue 'globalDB' (a nil value)" select = defined =[C]:-1 calcLevel = nil globalDB = nil playerLevel = 80 GetItemInfo = defined @Interface\AddOns\RatingBuster\RatingBuster.lua:80 profileDB = nil StatLogic =
{ GetRAPFromAgi = defined @Interface\AddOns\StatLogic\StatLogic.lua:1901 GetReductionFromArmor = defined @Interface\AddOns\StatLogic\StatLogic.lua:1490 GetSum = defined @Interface\AddOns\StatLogic\StatLogic.lua:2393 argCheck = defined @Interface\AddOns\StatLogic\StatLogic.lua:77 GetDodgeChanceBeforeDR = defined @Interface\AddOns\StatLogic\Wrath_Logic.lua:3833 GetRAPPerAgi = defined @Interface\AddOns\StatLogic\StatLogic.lua:1862 GetStatMod = defined @Interface\AddOns\StatLogic\StatLogic.lua:1456 Ta

Addon Source

GitHub Releases

Version

84128389875a818a4dbc66ff8e51b89f5a6a4114

Locale

English

Talent Specialization

Demonology Warlock

Race

Gnome

raethkcj commented 1 year ago

Thanks for the report! Seems to have been a niche issue that only showed up when talented into Demonic Pact. Should be fixed in 1.7.2.