PetTracker

PetTracker

13M Downloads

ipairs error

deadlydag opened this issue ยท 4 comments

commented

Running latest PetTracker from Curse.

The following error pops up now and then, but especially when changing spec.

20x ...ddOns/PetTracker/addons/main/features/objectives.lua:54: bad argument #1 to 'ipairs' (table expected, got nil)
[string "=[C]"]: in function ipairs' [string "@PetTracker/addons/main/features/objectives.lua"]:54: in function GetContent'
[string "@PetTracker/addons/main/features/objectives.lua"]:30: in function Layout' [string "@PetTracker/addons/main/features/objectives.lua"]:24: in function <...ddOns/PetTracker/addons/main/features/objectives.lua:23> [string "=[C]"]: in function Update'
[string "@Blizzard_EditMode/Mainline/EditModeSystemTemplates.lua"]:2088: in function OnAnyEditModeSystemAnchorChanged' [string "@Blizzard_EditMode/Mainline/EditModeManager.lua"]:888: in function <...ddOns/Blizzard_EditMode/Mainline/EditModeManager.lua:887> [string "=[C]"]: in function secureexecuterange'
[string "@Blizzard_EditMode/Mainline/EditModeManager.lua"]:890: in function InvokeOnAnyEditModeSystemAnchorChanged' [string "@Blizzard_EditMode/Mainline/EditModeManager.lua"]:875: in function UpdateLayoutInfo'
[string "@Blizzard_EditMode/Mainline/EditModeManager.lua"]:155: in function <...ddOns/Blizzard_EditMode/Mainline/EditModeManager.lua:152>

Locals:
(*temporary) = nil
(*temporary) = "table expected, got nil"

commented

I get this same error, tho my GetContent call is on line 49, same file (I haven't looked in the file).

commented

Getting the same error:

2x ...ddOns/PetTracker/addons/main/features/objectives.lua:49: bad argument #1 to 'ipairs' (table expected, got nil) [string "=[C]"]: in function ipairs'
[string "@PetTracker/addons/main/features/objectives.lua"]:49: in function GetContent' [string "@PetTracker/addons/main/features/objectives.lua"]:30: in function <...ddOns/PetTracker/addons/main/features/objectives.lua:28> [string "=[C]"]: ? [string "@Blizzard_SharedXMLBase/CallbackRegistry.lua"]:144: in function <...eBlizzard_SharedXMLBase/CallbackRegistry.lua:143> [string "=[C]"]: ? [string "@Blizzard_SharedXMLBase/CallbackRegistry.lua"]:147: in function TriggerEvent'
[string "@PetTracker/libs/WildAddon-1.0/WildAddon-1.0.lua"]:97: in function SendSignal' [string "@PetTracker/addons/main/main.lua"]:65: in function SetOption'
[string "@PetTracker/addons/main/main.lua"]:60: in function <PetTracker/addons/main/main.lua:59>
[string "=(tail call)"]: ?
[string "=[C]"]: in function securecallfunction' [string "@Blizzard_Menu/Menu.lua"]:868: in function Pick'
[string "@Blizzard_Menu/MenuTemplates.lua"]:74: in function <Blizzard_Menu/MenuTemplates.lua:68>

Locals:
(*temporary) = nil
(*temporary) = "table expected, got nil"
`

commented

Got the same issue everydays
["message"] = "...ddOns/PetTracker/addons/main/features/objectives.lua:49: bad argument #1 to 'ipairs' (table expected, got nil)", ["time"] = "2024/10/03 11:45:32", ["locals"] = "(*temporary) = nil\n(*temporary) = \"table expected, got nil\"\n", ["stack"] = "[string \"=[C]\"]: in function ipairs'\n[string "@Interface/AddOns/PetTracker/addons/main/features/objectives.lua"]:49: in function GetContent'\n[string \"@Interface/AddOns/PetTracker/addons/main/features/objectives.lua\"]:30: in function Layout'\n[string "@Interface/AddOns/PetTracker/addons/main/features/objectives.lua"]:24: in function <...ddOns/PetTracker/addons/main/features/objectives.lua:23>\n[string "=[C]"]: in function Update'\n[string \"@Interface/AddOns/Blizzard_EditMode/Mainline/EditModeSystemTemplates.lua\"]:2088: in function OnAnyEditModeSystemAnchorChanged'\n[string "@Interface/AddOns/Blizzard_EditMode/Mainline/EditModeManager.lua"]:888: in function <...ddOns/Blizzard_EditMode/Mainline/EditModeManager.lua:887>\n[string "=[C]"]: in function secureexecuterange'\n[string \"@Interface/AddOns/Blizzard_EditMode/Mainline/EditModeManager.lua\"]:890: in function InvokeOnAnyEditModeSystemAnchorChanged'\n[string "@Interface/AddOns/Blizzard_EditMode/Mainline/EditModeManager.lua"]:875: in function UpdateLayoutInfo'\n[string \"@Interface/AddOns/Blizzard_EditMode/Mainline/EditModeManager.lua\"]:155: in function <...ddOns/Blizzard_EditMode/Mainline/EditModeManager.lua:152>", ["session"] = 28, ["counter"] = 22,

commented

Piggy backing on here as I'm getting the same error every login/reloadui.

...ddOns/PetTracker/addons/main/features/objectives.lua:49: bad argument #1 to 'ipairs' (table expected, got nil) [string "=[C]"]: in function ipairs'
[string "@PetTracker/addons/main/features/objectives.lua"]:49: in function GetContent' [string "@PetTracker/addons/main/features/objectives.lua"]:30: in function Layout'
[string "@PetTracker/addons/main/features/objectives.lua"]:24: in function <...ddOns/PetTracker/addons/main/features/objectives.lua:23>
[string "=[C]"]: in function Update' [string "@Blizzard_ObjectiveTracker/Blizzard_ObjectiveTrackerContainer.lua"]:17: in function <...ectiveTracker/Blizzard_ObjectiveTrackerContainer.lua:16> [string "=[C]"]: in function GetHeight'
[string "@PetTracker/libs/CustomTutorials-2.1-13/CustomTutorials-2.1.lua"]:57: in function <...ker/libs/CustomTutorials-2.1/CustomTutorials-2.1.lua:36>
[string "@PetTracker/libs/CustomTutorials-2.1-13/CustomTutorials-2.1.lua"]:118: in function <...ker/libs/CustomTutorials-2.1/CustomTutorials-2.1.lua:117>

Locals:
(*temporary) = nil
(*temporary) = "table expected, got nil"`