Todoloo

Todoloo

944 Downloads

Lua error: attempt to index field 'TaskManager' (a nil value)

Dairyman opened this issue ยท 2 comments

commented

Describe the bug

1x Todoloo/Source/Display/TaskTracker.lua:36: attempt to index field 'TaskManager' (a nil value)
[string "@Todoloo/Source/Display/TaskTracker.lua"]:36: in function `BuildGroupInfos'
[string "@Todoloo/Source/Display/TaskTracker.lua"]:49: in function `EnumGroupData'
[string "@Todoloo/Source/Display/TaskTracker.lua"]:196: in function `Update'
[string "@Todoloo/Source/Display/Tracker.lua"]:839: in function `TodolooTracker_Update'
[string "@Todoloo/Source/Display/Tracker.lua"]:713: in function <Todoloo/Source/Display/Tracker.lua:707>

Locals:
self = <table> {
 contentsHeight = 0
 potentialGroupsAddedThisLayout = 0
 EnumGroupData = <function> defined @Todoloo/Source/Display/TaskTracker.lua:48
 userProgressBars = <table> {
 }
 EndLayout = <function> defined @Todoloo/Source/Display/Tracker.lua:104
 fromModuleOffsetY = -10
 AddGroupOffset = <function> defined @Todoloo/Source/Display/Tracker.lua:658
 fromHeaderOffsetY = -10
 FreeTask = <function> defined @Todoloo/Source/Display/Tracker.lua:169
 IsCollapsed = <function> defined @Todoloo/Source/Display/Tracker.lua:490
 FreeUnusedGroups = <function> defined @Todoloo/Source/Display/Tracker.lua:131
 taskSpacing = 2
 groupsFrame = Frame {
 }
 GetExistingGroup = <function> defined @Todoloo/Source/Display/Tracker.lua:181
 groupType = "Frame"
 Header = Frame {
 }
 ShouldDisplayGroup = <function> defined @Todoloo/Source/Display/TaskTracker.lua:204
 OnTaskLeave = <function> defined @Todoloo/Source/Display/Tracker.lua:415
 SetHeader = <function> defined @Todoloo/Source/Display/Tracker.lua:113
 hasSkippedGroups = false
 groupOffset = <table> {
 }
 taskTemplate = "TodolooTrackerTaskTemplate"
 UpdateSingle = <function> defined @Todoloo/Source/Display/TaskTracker.lua:152
 freeProgressBars = <table> {
 }
 freeTasks = <table> {
 }
 SetGroupHeader = <function> defined @Todoloo/Source/Display/TaskTracker.lua:21
 groupTemplate = "TodolooTrackerGroupTemplate"
 Update = <function> defined @Todoloo/Source/Display/TaskTracker.lua:193
 OnGroupHeaderLeave = <function> defined @Todoloo/Source/Display/Tracker.lua:367
 OnTaskClick = <function> defined @Todoloo/Source/Display/Tracker.lua:436
 updateReasonEvents = 0
 GetGroup = <function> defined @Todoloo/Source/Display/Tracker.lua:199
 FreeUnusedTasks = <function> defined @Todoloo/Source/Display/Tracker.lua:158
 oldContentsHeight = 0
 OnGroupHeaderEnter = <function> defined @Todoloo/Source/Display/Tracker.lua:339
 BuildGroupInfos = <function> defined @Todoloo/Source/Display/TaskTracker.lua:33
 friendlyName = "TODOLOO_TASK_TRACKER_MODULE"
 MarkGroupsUnused = <function> defined @Todoloo/Source/Display/Tracker.lua:122
 usedGroups = <table> {
 }
 OnLoad = <function> defined @Todoloo/Source/Display/Tracker.lua:46
 poolCollection = <table> {
 }
 taskWidth = 230.444444
 AddTask = <function> defined @Todoloo/Source/Display/Tracker.lua:287
 contentsAnimHeight = 0
 OnTaskEnter = <function> defined @Todoloo/Source/Display/Tracker.lua:395
 BeginLayout = <function> defined @Todoloo/Source/Display/Tracker.lua:86
 SetStringText = <function> defined @Todoloo/Source/Display/Tracker.lua:468
 hasSkippedGroup = false
 GetTask = <function> defined @Todoloo/Source/Display/Tracker.lua:244
 FreeGroup = <function> defined @Todoloo/Source/Display/Tracker.lua:143
 updateReasonModule = 0
}
infos = <table> {
}
(*temporary) = <function> defined =[C]:-1
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = "attempt to index field 'TaskManager' (a nil value)"

To Reproduce
Version: v1.1.1

  • On Login or Reload
commented

Version 1.1.2 has been released with a fix for this issue.

Please don't hesitate to get back to me, if you're still experiencing this issue.

commented

Thank you for a detailed bug report.
I'm fairly certain that I found the issue and I'll make sure the fix is included in the next release.