Titan Panel [Clan]

1 - attempt to compare nil with number

What steps will reproduce the problem?
1. Log into the game
2.
3.

What is the expected output? What do you see instead?

Error message pops up

What version of the product are you using?

r24

Do you have an error log of what happened?

Date: 2012-09-13 03:02:18
ID: 1
Error occured in: Global
Count: 30
Message: ..\AddOns\TitanClan\TitanClan.lua line 122:
attempt to compare nil with number
Debug:
[C]: ?
TitanClan\TitanClan.lua:122: TitanPanelClanButton_OnEvent()
[string "*:OnEvent"]:1:
[string "*:OnEvent"]:1
Locals:
self = TitanPanelClanButton {
0 = <userdata>
registry = <table> {
}
}
event = "ADDON_LOADED"
arg1 = "TitanClan"
(*temporary) = nil
(*temporary) = "init"
(*temporary) = "attempt to compare nil with number"
LB = <table> {
TITAN_CLAN_CONFIG_BANNER_FORMAT = "%s %s Loaded, using %s of memory."
TITAN_CLAN_CONFIG_DESCENDING = "Descending"
TITAN_CLAN_HELP_LINE2 = " /%s help - Shows this menu"
TITAN_CLAN_CONFIG_HEADER_ADD = "New Format"
TITAN_CLAN_MENU_INVITE = "Invite %s to group."
TITAN_CLAN_CONFIG_MAXTOOLTIP = "Tooltip Max"
TITAN_CLAN_ADDON_LABEL = "Titan [Clan]"
TITAN_CLAN_CONFIG_BUSY = "Busy"
TITAN_CLAN_CONFIG_NONE = "None"
TITAN_CLAN_CONFIG_CLASS = "Class"
TITAN_CLAN_CONFIG_CUSTOM_TOOLTIP_DESC = "Here you can add custom formats for the tooltip display"
TITAN_CLAN_TOOLTIP_MEM = "Memory Usage"
TITAN_CLAN_CONFIG_HEADER_REMOVE = "Remove Format"
TITAN_CLAM_MENU_CLAN = "Clan"
TITAN_CLAN_CONFIG_REMOVE_PRESETS_DESC = "Please select the format to remove!"
TITAN_CLAN_DEBUG_CMDE = "<TitanClanDebug> Sorry but %s is not a valid command! In file %s on line #%d."
TITAN_CLAN_HELP_ERROR = "Sorry but %s is not a valid command!"
TITAN_CLAN_ABOUT_DESC = "Addon for Titan Panel, This addon displays your friends list sorted by connection status on Titan Panel"
TITAN_CLAN_CORE_ETAG = "<TitanClan Error> %s"
TITAN_CLAN_ABOUT_EMAIL = "Email : %s"
TITAN_CLAN_CORE_ID = "Clan"
TITAN_CLAN_MENU_CLOSE = "Close Menu"
TITAN_CLAN_TOOLTIP = "Clan Info"
TITAN_CLAN_CORE_DEBUG_LOGEVENT_DESC = "This will log the events as they happen for later veiwing"
TITAN_CLAN_CORE_REMAUTHOR = "%s Has been removed from Authors Data Array"
TITAN_CLAN_CORE_AVER = 1
TITAN_CLAN_CONFIG_DND = "DND"
TITAN_CLAN_CORE_VERSION = "r24"
TITAN_CLAN_CONFIG_ASCENDING = "Ascending"
TITAN_CLAN_CORE_DEBUG_LOGEVENT = "Log Event"
TITAN_CLAN_MENU_CHECKDB = "Checking Data Array for errors"
TITAN_CLAN_ABOUT_MEMORY = "Memory Usage : %skb"
TITAN_CLAN_CONFIG_REMOVE_DESC = "This will remove the selected format from the presets tooltip table"
TITAN_CLAN_ABOUT_CATEGORY = "Category : %s"
TITAN_CLAN_CONFIG_SHOWMEM_DESC = "This will show you the amount of memory that %s is using on the Tooltip."
TITAN_CLAN_LOCALSARRAY_FIXED = "TitanClanLocals.%s fixed!"
TITAN_CLAN_HELP_CMD_UNKNOWN = "Invalid Command!"
TITAN_CLAN_CONFIG_BANNER_DESC = "This will display addon information and memory usage when the addon is loaded in the chat frame."
TITAN_CLAN_HELP_LINE1 = "Usage:"
TITAN_CLAN_HELP_LINE4 = " /%s reset - [cmd][pram] - Resets array"
TITAN_CLAN_CONFIG_NAME = "Name"
TITAN_CLAN_CORE_DTAG = "<TitanClan Debug> %s"
TITAN_CLAN_CONFIG_SORTMETHOD_DESC = "The method in which the tooltip will be sorted."
TITAN_CLAN_CONFIG_SORTMETHOD = "Sorting Method :"
TITAN_CLAN_CONFIG_UNKNOWN = "Unknown"
TITAN_CLAN_CONFIG_CUSTOM_TOOLTIP = "Add a new tooltip format :"
TITAN_CLAN_MENU_WHISPER = "Whisper %s."
TITAN_CLAN_CONFIG_HEADER_TOOLTIP = "Tooltip"
TITAN_CLAN_STATICARRAY_FIXED = "TitanClanStatisArray.%s fixed!"
TITAN_CLAN_GUILD_NOTIFY_CONCENT = "Titan [Clan] uses "Guild Member Alert" to update the tooltip.

It is currently off should I enable it for you?

( Canceling will prevent tooltip from updating )"
TITAN_CLAN_TOOLTIP_LEVEL_TEXT = "Level"
TITAN_CLAN_TOOLTIP_GUILD_FORMAT = "<%s>"
TITAN_CLAN_HELP_REMAUTH = " /%s RemAuth - Remove you from Authors Data Array"
TITAN_CLAN_MENU_WHO = "%s who?"
TITAN_CLAN_CORE_DEBUG = "Debug"
TITAN_CLAN_MENU_SETTINGS = "Settings"
TITAN_CLAN_MENU_CHECKDB_FINSIHED = "Data Array Check Complete!"
TITAN_CLAN_MENU_ADDFRIEND = "Add %s to friends."
TITAN_CLAN_TOOLTIP_CLANLESS = " You are Clanless"
TITAN_CLAN_CONFIG_LEVEL = "Level"
TITAN_CLAN_CONFIG_MAXTOOLTIP_DESC = "The maxmium number of clan members to be placed in the tool

Please provide any additional information below.

User When Change
KanadiaN Oct 08, 2012 at 05:14 UTC
Mardleseyth Oct 08, 2012 at 01:22 UTC
KanadiaN Sep 21, 2012 at 15:20 UTC
Aoife Sep 13, 2012 at 10:05 UTC Create

You must login to post a comment. Don't have an account? Register to get one!

  • 3 comments
  • Avatar of KanadiaN KanadiaN Oct 08, 2012 at 05:13 UTC - 0 likes

    @Mardleseyth: Go

    Like I said before this should be a one time thing but I have added a fail safe to the addon to help prevent this in the future.

  • Avatar of Mardleseyth Mardleseyth Oct 08, 2012 at 01:22 UTC - 0 likes

    Hi There I get the same error

    45x TitanClan\TitanClan-r25.lua:122: attempt to compare nil with number TitanClan\TitanClan-r25.lua:122: in function "TitanPanelClanButton_OnEvent" <string>:"*:OnEvent":1: in function <string>:"*:OnEvent":1

    Locals: self = TitanPanelClanButton { 0 = <userdata> registry = <table> {} } event = "ADDON_LOADED"

  • Avatar of KanadiaN KanadiaN Sep 21, 2012 at 15:20 UTC - 0 likes

    this should have been a one time error, if this is still giving you issues try "/tc reset all"

  • 3 comments

Facts

Last updated
Oct 08, 2012
Reported
Sep 13, 2012
Status
Verified - QA has verified that the fix has worked.
Type
Defect - A shortcoming, fault, or imperfection
Priority
Medium - Normal priority.
Votes
0

Reported by

Possible assignees