Jaliborc / PetTracker

Tracks pets, alerts for upgrades and helps you in pet battles.
49 stars 26 forks source link

Tooltips.lua:22 Error #424

Open PhiraNova opened 2 weeks ago

PhiraNova commented 2 weeks ago

Which software were you running?

Have you read the changelog? Yes Mark if read.

Please describe the bug. A clear and concise description of what the bug is.

From Bug Grabber

562x PetTracker/addons/main/features/tooltips.lua:22: attempt to index a nil value [string "@PetTracker/addons/main/features/tooltips.lua"]:22: in function <PetTracker/addons/main/features/tooltips.lua:14>

[string "=[C]"]: in function securecallfunction' [string "@Blizzard_SharedXMLGame/Tooltip/TooltipDataHandler.lua"]:61: in function <...lizzard_SharedXMLGame/Tooltip/TooltipDataHandler.lua:56> [string "@Blizzard_SharedXMLGame/Tooltip/TooltipDataHandler.lua"]:81: in function <...lizzard_SharedXMLGame/Tooltip/TooltipDataHandler.lua:77> [string "@Blizzard_SharedXMLGame/Tooltip/TooltipDataHandler.lua"]:117: in function <...lizzard_SharedXMLGame/Tooltip/TooltipDataHandler.lua:107> [string "=[C]"]: in functionSetAttribute' [string "@Blizzard_SharedXMLGame/Tooltip/TooltipDataHandler.lua"]:142: in function <...lizzard_SharedXMLGame/Tooltip/TooltipDataHandler.lua:135> [string "@Blizzard_SharedXMLGame/Tooltip/TooltipDataHandler.lua"]:288: in function <...lizzard_SharedXMLGame/Tooltip/TooltipDataHandler.lua:238> [string "=[C]"]: in function securecallfunction' [string "@Blizzard_SharedXMLGame/Tooltip/TooltipDataHandler.lua"]:235: in functionProcessInfo' [string "@Blizzard_GameTooltip/Mainline/GameTooltip.lua"]:941: in function `SetWorldCursor' [string "@Blizzard_UIParent/Mainline/UIParent.lua"]:1367: in function <...rfaceBlizzard_UIParent/Mainline/UIParent.lua:1290>

Locals: tip = GameTooltip { ATT_AttachComplete = true ItemTooltip = Frame { } AllTheThingsOnTooltipClearedHook = true shadow = Frame { } BottomOverlay = Texture { } NineSlice = Frame { } textLeft1Font = "GameTooltipHeaderText" hasMoney = 1 textRight2Font = "GameTooltipText" TopOverlay = Texture { } TextLeft1 = GameTooltipTextLeft1 { } StatusBar = GameTooltipStatusBar { } numMoneyFrames = 2 supportsDataRefresh = true CIMI_tooltipWritten = false AllTheThingsProcessing = "Ebon Ploughworm" processingInfo =

{ } infoList =
{ } shouldRefreshData = false waitingForData = false style = Frame { } shoppingTooltips =
{ } updateTooltipTimer = 0.173000 TextRight1 = GameTooltipTextRight1 { } supportsItemComparison = true textRight1Font = "GameTooltipHeaderText" layoutType = "TooltipDefaultLayout" textLeft2Font = "GameTooltipText" TextRight2 = GameTooltipTextRight2 { } TextLeft2 = GameTooltipTextLeft2 { } } name = "Ebon Ploughworm" specie = 4498 owned = "Collected: |cff1eff0023|r" (for index) = 3 (for limit) = 4 (for step) = 1 i = 3 line = GameTooltipTextLeft3 { } (temporary) = nil (temporary) = nil (temporary) = nil (temporary) = nil (temporary) = 2 (temporary) = "attempt to index a nil value" Addon =
{ sets =
{ } state =
{ } SpeciePin =
{ } Maps =
{ } Enemy =
{ } RivalsJournal = PetTrackerRivalsJournal { } BattleRecord =
{ } MaxLevel = 25 Entity =
{ } Species =
{ } JournalSlot =
{ } Rival =
{ } JournalMods =
{ } Tooltips =
{ } MaxPlayerQuality = 4 MapCanvas =
{ } Tracker =
{ } SpecieLine =
{ } AbilityDisplay =
{ } StablePin =
{ } RivalInfo =
{ } Pin =
{ } Tag = "PetTracker." BattleSlot =
{ } Pet =
{ } AbilityAction =
{ } MaxQuality = 6 Stables =
{ } ProgressBar =
{ } SpecieStats =
{ } RivalPin =
{ } MultiTip =
{ } Specie =
{ } PetSlot =
{ } Rivals =
{ } Base =
{ } Ability =
{ } Predict =
{ } SpecieBreeds =
{ } TrackToggle = PetTrackerTrackToggle { } Breeds =
{ } AbilityButton =
{ } Name = "PetTracker" RivalOrder =
{ } Objectives = Frame { } }

Please describe how to reproduce it.

  1. Go to '...' Saw that Bug grabber picked it up
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Any Screenshots? If applicable, please add screenshots to help explain your problem.

Error Logs are Important! Type /console scriptErrors 1 in the chat and reload the game. If an error window appears when reproducing the bug, please write here the first message (labelled 1/Many) that appeared. :warning: By default, the last error message is shown, not the first! You need to navigate back to the first error.

fubaWoW commented 1 week ago

same here

6x PetTracker/addons/main/features/tooltips.lua:22: attempt to index a nil value
[string "@PetTracker/addons/main/features/tooltips.lua"]:22: in function <PetTracker/addons/main/features/tooltips.lua:14>
[string "=(tail call)"]: ?
[string "=[C]"]: in function `securecallfunction'
[string "@Blizzard_SharedXMLGame/Tooltip/TooltipDataHandler.lua"]:61: in function <...lizzard_SharedXMLGame/Tooltip/TooltipDataHandler.lua:56>
[string "@Blizzard_SharedXMLGame/Tooltip/TooltipDataHandler.lua"]:81: in function <...lizzard_SharedXMLGame/Tooltip/TooltipDataHandler.lua:77>
[string "@Blizzard_SharedXMLGame/Tooltip/TooltipDataHandler.lua"]:117: in function <...lizzard_SharedXMLGame/Tooltip/TooltipDataHandler.lua:107>
[string "=[C]"]: in function `SetAttribute'
[string "@Blizzard_SharedXMLGame/Tooltip/TooltipDataHandler.lua"]:142: in function <...lizzard_SharedXMLGame/Tooltip/TooltipDataHandler.lua:135>
[string "@Blizzard_SharedXMLGame/Tooltip/TooltipDataHandler.lua"]:288: in function <...lizzard_SharedXMLGame/Tooltip/TooltipDataHandler.lua:238>
[string "=[C]"]: in function `securecallfunction'
[string "@Blizzard_SharedXMLGame/Tooltip/TooltipDataHandler.lua"]:235: in function `ProcessInfo'
[string "@Blizzard_GameTooltip/Mainline/GameTooltip.lua"]:942: in function `SetWorldCursor'
[string "@Blizzard_UIParent/Mainline/UIParent.lua"]:1370: in function <...rfaceBlizzard_UIParent/Mainline/UIParent.lua:1293>
[string "=[C]"]: ?

Locals:
tip = GameTooltip {
 ItemTooltip = Frame {
 }
 AllTheThingsOnTooltipClearedHook = true
 shadow = Frame {
 }
 BottomOverlay = Texture {
 }
 NineSlice = Frame {
 }
 textLeft1Font = "GameTooltipHeaderText"
 hasMoney = 1
 textRight2Font = "GameTooltipText"
 windInspectLoaded = false
 TopOverlay = Texture {
 }
 TextLeft1 = GameTooltipTextLeft1 {
 }
 processingInfo = <table> {
 }
 infoList = <table> {
 }
 StatusBar = GameTooltipStatusBar {
 }
 petIcon = Texture {
 }
 shouldRefreshData = false
 __windShadow = 1
 ARKTTD = <table> {
 }
 numMoneyFrames = 2
 PixelSnapDisabled = true
 supportsDataRefresh = true
 CIMI_tooltipWritten = false
 waitingForData = false
 factionFrame = Texture {
 }
 shoppingTooltips = <table> {
 }
 progressBarPool = <table> {
 }
 updateTooltipTimer = 0.179000
 TextRight1 = GameTooltipTextRight1 {
 }
 supportsItemComparison = true
 textRight1Font = "GameTooltipHeaderText"
 layoutType = "TooltipDefaultLayout"
 textLeft2Font = "GameTooltipText"
 TextRight2 = GameTooltipTextRight2 {
 }
 TextLeft2 = GameTooltipTextLeft2 {
 }
}
name = "Honey Bee"
specie = 2379
owned = "Collected:  |TPetBattles/PetBattle-StatIcons:17:17:-2:0:32:32:16:32:0:16|t|cff0070dd23|r"
(for index) = 3
(for limit) = 4
(for step) = 1
i = 3
line = GameTooltipTextLeft3 {
}
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = 2
(*temporary) = "attempt to index a nil value"
Addon = <table> {
 RivalOrder = <table> {
 }
 SpeciePin = <table> {
 }
 Enemy = <table> {
 }
 Options = Frame {
 }
 Maps = <table> {
 }
 MaxLevel = 25
 Entity = <table> {
 }
 Species = <table> {
 }
 JournalSlot = <table> {
 }
 Rival = <table> {
 }
 state = <table> {
 }
 Tooltips = <table> {
 }
 MaxPlayerQuality = 4
 MapCanvas = <table> {
 }
 Tracker = <table> {
 }
 SpecieLine = <table> {
 }
 AbilityDisplay = <table> {
 }
 StablePin = <table> {
 }
 RivalInfo = <table> {
 }
 Pin = <table> {
 }
 Tag = "PetTracker."
 BattleSlot = <table> {
 }
 Pet = <table> {
 }
 AbilityAction = <table> {
 }
 MaxQuality = 6
 Stables = <table> {
 }
 ProgressBar = <table> {
 }
 SpecieStats = <table> {
 }
 RivalPin = <table> {
 }
 MultiTip = <table> {
 }
 Specie = <table> {
 }
 PetSlot = <table> {
 }
 Rivals = <table> {
 }
 Base = <table> {
 }
 Ability = <table> {
 }
 Predict = <table> {
 }
 SpecieBreeds = <table> {
 }
 sets = <table> {
 }
 Breeds = <table> {
 }
 AbilityButton = <table> {
 }
 Tutorials = <table> {
 }
 Name = "PetTracker"
 Objectives = Frame {
 }
}