0xbs / premade-groups-filter

A World of Warcraft addon for powerful filtering of premade group listings.
GNU General Public License v2.0
76 stars 40 forks source link

Lua Error today #198

Closed Milky063 closed 1 year ago

Milky063 commented 1 year ago

got the following lua error after queing for some groups then porting back to town.

3x ...ddOns/PremadeGroupsFilter/Modules/RemainingSlots.lua:33: attempt to compare number with nil
[string "@PremadeGroupsFilter/Modules/RemainingSlots.lua"]:33: in function <...ddOns/PremadeGroupsFilter/Modules/RemainingSlots.lua:31>
[string "=(tail call)"]: ?
[string "@PremadeGroupsFilter/Modules/ColoredApplications.lua"]:46: in function `ColorApplications'
[string "@PremadeGroupsFilter/Main.lua"]:568: in function <PremadeGroupsFilter/Main.lua:565>
[string "=[C]"]: ?
[string "=[C]"]: ?
[string "=[C]"]: in function `LFGListSearchEntry_Update'
[string "@FrameXML/LFGList.lua"]:2146: in function `initializer'
[string "@SharedXML/Scroll/ScrollBoxListView.lua"]:324: in function `InvokeInitializers'
[string "@SharedXML/Scroll/ScrollBox.lua"]:686: in function `Update'
[string "@SharedXML/Scroll/ScrollBox.lua"]:254: in function `SetScrollPercentageInternal'
[string "@SharedXML/Scroll/ScrollBox.lua"]:180: in function `FullUpdateInternal'
...
[string "=[C]"]: ?
[string "@SharedXML/CallbackRegistry.lua"]:178: in function <SharedXML/CallbackRegistry.lua:177>
[string "=[C]"]: ?
[string "@SharedXML/CallbackRegistry.lua"]:181: in function `TriggerEvent'
[string "@SharedXML/Scroll/ScrollBoxListView.lua"]:266: in function `SignalDataChangeEvent'
[string "@SharedXML/Scroll/ScrollBoxListView.lua"]:246: in function `SetDataProvider'
[string "@SharedXML/Scroll/ScrollBox.lua"]:618: in function `SetDataProvider'
[string "@FrameXML/LFGList.lua"]:2190: in function `LFGListSearchPanel_UpdateResults'
[string "@FrameXML/LFGList.lua"]:2009: in function `onEvent'
[string "@FrameXML/LFGList.lua"]:218: in function <FrameXML/LFGList.lua:139>

Locals:
memberCounts = <table> {
 HUNTER = 0
 WARRIOR = 1
 ROGUE = 0
 MAGE = 0
 NOROLE = 0
 HEALER_REMAINING = 1
 DRUID = 0
 MONK = 0
 DEATHKNIGHT = 0
 TANK = 1
 DAMAGER_REMAINING = 1
 HEALER = 0
 PRIEST = 0
 Adventurer = 0
 TANK_REMAINING = 0
 WARLOCK = 1
 DEMONHUNTER = 0
 DAMAGER = 2
 PALADIN = 1
 EVOKER = 0
 SHAMAN = 0
}
playerRole = nil
(*temporary) = nil
(*temporary) = "attempt to compare number with nil"
roleRemainingKeyLookup = <table> {
 DAMAGER = "DAMAGER_REMAINING"
 TANK = "TANK_REMAINING"
 HEALER = "HEALER_REMAINING"
}
0xbs commented 1 year ago

Should be fixed with fa4112a4