Filter by class not working

Issue #3 resolved
Kernighan Ritchie repo owner created an issue

Date: 2019-10-12 17:29:27
ID: 1
Error occured in: Global
Count: 1
Message: ...s\Atlas\Libs\LibUIDropDownMenu\LibUIDropDownMenu.lua line 989:
attempt to compare nil with number
Debug:
...s\Atlas\Libs\LibUIDropDownMenu\LibUIDropDownMenu.lua:989: L_UIDropDownMenu_AddButton()
...ns\TitanClassicGuild\TitanClassicGuildFilterMenu.lua:81: TitanPanelGuildButton_BuildClassFilterMenu()
...e\AddOns\TitanClassicGuild\TitanClassicGuildMenu.lua:252: initFunction()
...s\Atlas\Libs\LibUIDropDownMenu\LibUIDropDownMenu.lua:425: L_UIDropDownMenu_Initialize()
...s\Atlas\Libs\LibUIDropDownMenu\LibUIDropDownMenu.lua:1416: L_ToggleDropDownMenu()
...s\Atlas\Libs\LibUIDropDownMenu\LibUIDropDownMenu.lua:551: L_UIDropDownMenuButton_OnEnter()
...s\Atlas\Libs\LibUIDropDownMenu\LibUIDropDownMenu.lua:190:
...s\Atlas\Libs\LibUIDropDownMenu\LibUIDropDownMenu.lua:189
Locals:
info = <table> {
value = "All"
text = "All"
func = <function> defined @Interface\AddOns\TitanClassicGuild\TitanClassicGuildFilterMenu.lua:77
}
level = 5
listFrame = L_DropDownList5 {
0 = <userdata>
Button1 = L_DropDownList5Button1 {
}
MenuBackdrop = L_DropDownList5MenuBackdrop {
}
Backdrop = L_DropDownList5Backdrop {
}
numButtons = 1
}
index = 1
width = 53.511111
listFrameName = "L_DropDownList5"
button = L_DropDownList5Button1 {
0 = <userdata>
Highlight = L_DropDownList5Button1Highlight {
}
invisibleButton = L_DropDownList5Button1InvisibleButton {
}
func = <function> defined @Interface\AddOns\TitanClassicGuild\TitanClassicGuildFilterMenu.lua:77
value = "All"
ColorSwatch = L_DropDownList5Button1ColorSwatch {
}
UnCheck = L_DropDownList5Button1UnCheck {
}
Check = L_DropDownList5Button1Check {
}
Icon = L_DropDownList5Button1Icon {
}
ExpandArrow = L_DropDownList5Button1ExpandArrow {
}
}
normalText = L_DropDownList5Button1NormalText {
0 = <userdata>
}
icon = L_DropDownList5Button1Icon {
0 = <userdata>
}
invisibleButton = L_DropDownList5Button1InvisibleButton {
0 = <userdata>
}
expandArrow = L_DropDownList5Button1ExpandArrow {
0 = <userdata>
}
xPos = 11
yPos = -15
displayInfo = L_DropDownList5Button1NormalText {
0 = <userdata>
}
frame = TitanPanelGuildButtonRightClickMenu {
0 = <userdata>
point = "BOTTOMLEFT"
Right = TitanPanelGuildButtonRightClickMenuRight {
}
Left = TitanPanelGuildButtonRightClickMenuLeft {
}
displayMode = "MENU"
relativePoint = "TOPLEFT"
initialize = <function> defined @Interface\AddOns\TitanClassicGuild\TitanClassicGuildMenu.lua:11
Button = TitanPanelGuildButtonRightClickMenuButton {
}
Icon = TitanPanelGuildButtonRightClickMenuIcon {
}
Middle = TitanPanelGuildButtonRightClickMenuMiddle {
}
Text = TitanPanelGuildButtonRightClickMenuText {
}
}
colorSwatch = L_DropDownList5Button1ColorSwatch {
0 = <userdata>
SwatchBg = L_DropDownList5Button1ColorSwatchSwatchBg {
}
}
(*temporary) = nil
(*temporary) = 53.511111
(*temporary) = 0
(*temporary) = 53.511111
(*temporary) = 53.511111
(*temporary) = "L_DropDownList5Button1"
(*temporary) = L_DropDownList5Button1Icon {
0 = <userdata>
}
(*temporary) = "attempt to compare nil with number"
_G = <table> {
UpdateOnBarHighlightMarksBySpell = <function> defined @Interface\FrameXML\ActionButton.lua:70
ERR_OUT_OF_CHI = "Not enough chi"
DH_HAVOC_CORE_ABILITY_2 = "Strong melee attack that consumes Fury. If it critical strikes, some Fury is refunded."
MerchantItem9ItemButtonStock = MerchantItem9ItemButtonStock {
}
GetTrainerServiceTypeFilter = <function> defined =[C]:-1
UNIT_NAMES_COMBATLOG_TOOLTIP = "Color unit names."
Recount_MainWindow_Bar6 = Recount_MainWindow_Bar6 {
}
SetTrainerServiceTypeFilter = <function> defined =[C]:-1
LE_GAME_ERR_CHAT_RAID_RESTRICTED_TRIAL = 741
Inst1Quest8_HORDE_Note = "To obtain this quest you must complete both the previous KILL ON SIGHT quests and then start a quest called Grark Lorkrub from Lexlort (Badlands - Kargath; 5.8, 47.6).
General Angerforge is at [13]."
SPELL_FAILED_CUSTOM_ERROR_71 = "This partygoer wants to dance with you."
LE_GAME_ERR_PET_SPELL_TARGETS_DEAD = 399
ERROR_CLUB_TICKET_COUNT_AT_MAX_COMMUNITY = "Can't create any more invite links for this group."
RecruitAFriendFrame = RecruitAFriendFrame {
}
Inst37Quest1PreQuest_HORDE = "true"
CompactUnitFrameProfilesGeneralOptionsFrameHealthTextDropdownButtonNormalTexture = CompactUnitFrameProfilesGeneralOptionsFrameHealthTextDropdownButtonNormalTexture {
}
Inst4Quest2Rewardtext = " No Rewards"
Inst1Quest10_HORDE_QuestID = "4024"
PawnUI_RefreshCompareScrollFrame = <function> defined @Interface\AddOns\Pawn\PawnUI.lua:1482
ERR_TRADE_EQUIPPED_BAG = "You can't trade equipped bags."
PVP_RANK_6_1 = "Corporal"
MultiBarLeftButton7 = MultiBarLeftButton7 {
}
InterfaceOptionsNamesPanelUnitNameplatesShowAll = InterfaceOptionsNamesPanelUnitNameplatesShowAll {
}
VideoOptionsFrameDefaults = VideoOptionsFrameDefaults {
}
MerchantItem2AltCurrencyFrameItem1Text = MerchantItem2

Comments (3)

  1. Kernighan Ritchie reporter

    Date: 2019-09-12 15:45:29
    ID: 2
    Error occured in: Global
    Count: 1
    Message: ...ns\TitanClassicGuild\TitanClassicGuildFilterMenu.lua line 73:
    bad argument #1 to 'getn' (table expected, got nil)
    Debug:
    [C]: getn()
    ...ns\TitanClassicGuild\TitanClassicGuildFilterMenu.lua:73: TitanPanelGuildButton_BuildClassFilterMenu()
    ...e\AddOns\TitanClassicGuild\TitanClassicGuildMenu.lua:250: initFunction()
    ...s\Atlas\Libs\LibUIDropDownMenu\LibUIDropDownMenu.lua:425: L_UIDropDownMenu_Initialize()
    ...s\Atlas\Libs\LibUIDropDownMenu\LibUIDropDownMenu.lua:1416: L_ToggleDropDownMenu()
    ...s\Atlas\Libs\LibUIDropDownMenu\LibUIDropDownMenu.lua:551: L_UIDropDownMenuButton_OnEnter()
    ...s\Atlas\Libs\LibUIDropDownMenu\LibUIDropDownMenu.lua:190:
    ...s\Atlas\Libs\LibUIDropDownMenu\LibUIDropDownMenu.lua:189
    Locals:
    (*temporary) = nil
    (*temporary) = "table expected, got nil"

  2. Log in to comment