PetTracker

PetTracker

12M Downloads

GetUsedHeight nil exception

Opened this issue ยท 0 comments

commented

Running addon version 8.0.2

1x PetTracker\Features\Objectives.lua:86: attempt to compare number with nil
PetTracker\Features\Objectives.lua:86: in function `GetUsedHeight'
PetTracker\Features\Objectives.lua:51: in function <PetTracker\Features\Objectives.lua:50>
[C]: in function `ObjectiveTracker_Update'
...zzard_ObjectiveTracker\Blizzard_ObjectiveTracker.lua:767: in function <...zzard_ObjectiveTracker\Blizzard_ObjectiveTracker.lua:766>
[C]: in function `GetHeight'
...zzard_ObjectiveTracker\Blizzard_ObjectiveTracker.lua:1046: in function <...zzard_ObjectiveTracker\Blizzard_ObjectiveTracker.lua:1032>
[C]: in function `ObjectiveTracker_Update'
...zzard_ObjectiveTracker\Blizzard_ObjectiveTracker.lua:753: in function <...zzard_ObjectiveTracker\Blizzard_ObjectiveTracker.lua:669>

Locals:
self = PetTrackerTracker1 {
 0 = <userdata>
 Lines = <table> {
 }
 Startup = <function> defined @PetTracker\Features\Objectives.lua:35
 maxEntries = 0
 frameCache = <table> {
 }
 GetUsedHeight = <function> defined @PetTracker\Features\Objectives.lua:80
 Header = <unnamed> {
 }
 Anchor = PetTrackerProgressBar1 {
 }
 Index = 1
 TrackingChanged = <function> defined @PetTracker\Features\Objectives.lua:69
}
height = nil
(*temporary) = 0
(*temporary) = 0
(*temporary) = 1
(*temporary) = nil
(*temporary) = nil
(*temporary) = "attempt to compare number with nil"