TipTac Reborn

TipTac Reborn

1M Downloads

ShoppingTooltip LUA error

hollo6 opened this issue ยท 1 comments

commented

Describe the bug
#194 is back, less frequently but more and more every day.
Pops up for any tooltip shortly after logging in.

3x ...libs/LibFroznFunctions-1.0-5/LibFroznFunctions-1.0.lua:268: attempt to perform arithmetic on a nil value
[string "@TipTac/libs/LibFroznFunctions-1.0-5/LibFroznFunctions-1.0.lua"]:268: in function RefreshAnchorShoppingTooltips' [string "@TipTac/ttCore.lua"]:2266: in function <TipTac/ttCore.lua:2262> [string "=[C]"]: in function GameTooltip_ShowCompareItem'
[string "@SharedXML/Tooltip/TooltipDataRules.lua"]:161: in function func' [string "@SharedXML/Tooltip/TooltipDataHandler.lua"]:49: in function <SharedXML/Tooltip/TooltipDataHandler.lua:44> [string "@SharedXML/Tooltip/TooltipDataHandler.lua"]:71: in function <SharedXML/Tooltip/TooltipDataHandler.lua:67> [string "@SharedXML/Tooltip/TooltipDataHandler.lua"]:135: in function <SharedXML/Tooltip/TooltipDataHandler.lua:134> [string "@SharedXML/Tooltip/TooltipDataHandler.lua"]:278: in function <SharedXML/Tooltip/TooltipDataHandler.lua:236> [string "=[C]"]: in function securecallfunction'
[string "@SharedXML/Tooltip/TooltipDataHandler.lua"]:233: in function <SharedXML/Tooltip/TooltipDataHandler.lua:232>
[string "=(tail call)"]: ?
[string "=[C]"]: ?
[string "=[C]"]: in function SetAction' [string "@FrameXML/ActionButton.lua"]:906: in function SetTooltip'
[string "@FrameXML/ActionButton.lua"]:1185: in function <FrameXML/ActionButton.lua:1180>
[string "=[C]"]: ?
[string "=[C]"]: ?
[string "=[C]"]: ?
[string "@FrameXML/SecureHandlers.lua"]:266: in function <FrameXML/SecureHandlers.lua:263>
[string "=[C]"]: ?
[string "@FrameXML/SecureHandlers.lua"]:322: in function <FrameXML/SecureHandlers.lua:306>
[string "=(tail call)"]: ?

Locals:
self =

{
CreatePushArray = defined @TipTac/libs/LibFroznFunctions-1.0/LibFroznFunctions-1.0.lua:598
GetAverageItemLevel = defined @TipTac/libs/LibFroznFunctions-1.0/LibFroznFunctions-1.0.lua:2151
MixinDifferingObjects = defined @TipTac/libs/LibFroznFunctions-1.0/LibFroznFunctions-1.0.lua:733
FormatText = defined @TipTac/libs/LibFroznFunctions-1.0/LibFroznFunctions-1.0.lua:390
RegisterForGroupEvents = defined @TipTac/libs/LibFroznFunctions-1.0/LibFroznFunctions-1.0.lua:794
GetValueFromObjectByPath = defined @TipTac/libs/LibFroznFunctions-1.0/LibFroznFunctions-1.0.lua:695
MirrorAnchorPointCentered = defined @TipTac/libs/LibFroznFunctions-1.0/LibFroznFunctions-1.0.lua:1158
HookScriptOnTooltipSetItem = defined @TipTac/libs/LibFroznFunctions-1.0/LibFroznFunctions-1.0.lua:170
IsAverageItemLevelAvailable = defined @TipTac/libs/LibFroznFunctions-1.0/LibFroznFunctions-1.0.lua:2123
CallFunctionAndSuppressErrorMessageAndSpeech = defined @TipTac/libs/LibFroznFunctions-1.0/LibFroznFunctions-1.0.lua:671
AreTalentsAvailable = defined @TipTac/libs/LibFroznFunctions-1.0/LibFroznFunctions-1.0.lua:1973
GetItemQualityColor = defined @TipTac/libs/LibFroznFunctions-1.0/LibFroznFunctions-1.0.lua:1006
CanInspect = defined @TipTac/libs/LibFroznFunctions-1.0/LibFroznFunctions-1.0.lua:1755
IsInspectFrameOpen = defined @TipTac/libs/LibFroznFunctions-1.0/LibFroznFunctions-1.0.lua:1747
RegisterNewSlashCommands = defined @TipTac/libs/LibFroznFunctions-1.0/LibFroznFunctions-1.0.lua:866
IsTableEmpty = defined @TipTac/libs/LibFroznFunctions-1.0/LibFroznFunctions-1.0.lua:414
RecalculateSizeOfGameTooltip = defined @TipTac/libs/LibFroznFunctions-1.0/LibFroznFunctions-1.0.lua:1280
InspectUnit = defined @TipTac/libs/LibFroznFunctions-1.0/LibFroznFunctions-1.0.lua:1647
CreateUnitRecord = defined @TipTac/libs/LibFroznFunctions-1.0/LibFroznFunctions-1.0.lua:1548
CreateMarkupForClassIcon = defined @TipTac/libs/LibFroznFunctions-1.0/LibFroznFunctions-1.0.lua:1084
UnitIsWildBattlePet = defined @TipTac/libs/LibFroznFunctions-1.0/LibFroznFunctions-1.0.lua:75
UpdateUnitRecord = defined @TipTac/libs/LibFroznFunctions-1.0/LibFroznFunctions-1.0.lua:1585
ExistsInTable = defined @TipTac/libs/LibFroznFunctions-1.0/LibFroznFunctions-1.0.lua:607
HookSecureFuncIfExists = defined @TipTac/libs/LibFroznFunctions-1.0/LibFroznFunctions-1.0.lua:764
GetClassColorByClassFile = defined @TipTac/libs/LibFroznFunctions-1.0/LibFroznFunctions-1.0.lua:965
UnitIsBattlePetCompanion = defined @TipTac/libs/LibFroznFunctions-1.0/LibFroznFunctions-1.0.lua:87
GetUnitReactionIndex = defined @TipTac/libs/LibFroznFunctions-1.0/LibFroznFunctions-1.0.lua:1448
GetPowerColor = defined @TipTac/libs/LibFroznFunctions-1.0/LibFroznFunctions-1.0.lua:997
FontExists = defined @TipTac/libs/LibFroznFunctions-1.0/LibFroznFunctions-1.0.lua:1298
TextureExists = defined @TipTac/libs/LibFroznFunctions-1.0/LibFroznFunctions-1.0.lua:1325
RemoveCallbackFromQueuedInspectCallbacks = defined @TipTac/libs/LibFroznFunctions-1.0/LibFroznFunctions-1.0.lua:1693
IsFrameBackInFrameChain = defined @TipTac/libs/LibFroznFunctions-1.0/LibFroznFunctions-1.0.lua:1241
CallFunctionDelayed = defined @interface

To Reproduce
Steps to reproduce the behavior:

  1. Log in.
  2. Hover over any button (maybe anything? I often get this for professions on action bars, hearthstones or icons on bag frame).
  3. Observe the error above

Expected behavior
No LUA errors should be thrown.

TipTac Reborn (please complete the following information):

  • Version 23.02.06

WoW (please complete the following information):

  • Flavor: Retail
  • Version 10.0.5
commented

I has been able to reproduce it. Will be included in the next release! ๐Ÿ‘