Quantcast
View Bug Report
Lua Error when Mouseover an enemy pet during Pet Battle
Bug #: 8077
File: TipTop
Date: 02-13-14 07:38 AM
By: zenthedruid
Status: Fixed
1st- Thank you, this is a great addon!
With all software updated and TipTop as my only addon, I receive the following, and it happens no matter which pet I mouseover during a pet battle:




Message: Interface\AddOns\TipTop\tiptop.lua:296: attempt to concatenate local 'class' (a nil value)
Time: 02/13/14 07:24:04
Count: 2
Stack: Interface\AddOns\TipTop\tiptop.lua:296: in function <Interface\AddOns\TipTop\tiptop.lua:269>
Interface\AddOns\TipTop\tiptop.lua:461: in function <Interface\AddOns\TipTop\tiptop.lua:459>
Interface\AddOns\TipTop\tiptop.lua:525: in function <Interface\AddOns\TipTop\tiptop.lua:523>

Locals: _ = nil
class = nil
level = <table> {
b = 0.5
font = QuestDifficulty_Trivial {
}
g = 0.5
r = 0.5
}
text = "Squirrel"
(*temporary) = <function> defined =[C]:-1
(*temporary) = GameTooltipTextLeft1 {
0 = <userdata>
}
(*temporary) = " Squirrel"
(*temporary) = "Squirrel"
(*temporary) = "attempt to concatenate local 'class' (a nil value)"
UnitClass = <function> defined =[C]:-1
UnitLevel = <function> defined =[C]:-1
db = <table> {
guildRank = false
raidIconX = "0"
healthText = true
raidIconSize = 16
factionIconY = "-4"
offsetX = "-0.00012090186912746"
borderColor = <table> {
}
anchor = "BOTTOMRIGHT"
bg = "Solid"
sbarbgcolor = <table> {
}
shortTalents = true
healthBar = "TipTop Default"
onCursor = false
raidIconY = "0"
font = "Friz Quadrata TT"
textformat = "100/100 (100%)"
offsetY = "181.19810544602"
classIcon = true
insideBar = true
factionIconSize = 32
scale = 1
border = "Seerah Solid"
elite = true
factionIconPosition = "TOPRIGHT"
inset = 0
showTalentText = true
factionIconX = "-16"
diffColor = true
showTargetText = true
sbarcolor = <table> {
}
alpha = 1
fontFlag = "None"
borderWidth = 4
sbarclass = true
classColor = true
raidIconPosition = "TOP"
topBar = true
itemColor = true
bgColor = <table> {
}
you = true
factionIcon = false
sbarbg = "TipTop Default"
}
UnitIsFriend = <function> defined =[C]:-1
TipTop = <unnamed> {
0 = <userdata>
SBarPosition = <function> defined @Interface\AddOns\TipTop\tiptop.lua:129
FactionIcon = <function> defined @Interface\AddOns\TipTop\tiptop.lua:173
SetBackgrounds = <function> defined @Interface\AddOns\TipTop\tiptop.lua:55
SetFonts = <function> defined @Interface\AddOns\TipTop\tiptop.lua:84
RaidIcon = <function> defined @Interface\AddOns\TipTop\tiptop.lua:188
optionsFrame = <unnamed> {
}
SBarCustom = <function> defined @Interface\AddOns\TipTop\tiptop.lua:120
}
color = <table> {
HUNTER = <table> {
}
WARRIOR = <table> {
}
PALADIN = <table> {
}
MAGE = <table> {
}
PRIEST = <table> {
}
WARLOCK = <table> {
}
SHAMAN = <table> {
}
DEATHKNIGHT = <table> {
}
DRUID = <table> {
}
MONK = <table> {
}
ROGUE = <table> {
}
}
classif = "normal"
GetQuestDifficultyColor = <function> defined @Interface\FrameXML\UIParent.lua:3697
GameTooltipTextLeft1 = GameTooltipTextLeft1 {
0 = <userdata>
}
tt = GameTooltip {
0 = <userdata>
updateTooltip = 0.18799999989569
comparing = false
shoppingTooltips = <table> {
}
GetBackdropColor = <function> defined @Interface\AddOns\TipTop\tiptop.lua:75
GetBackdrop = <function> defined @Interface\AddOns\TipTop\tiptop.lua:74
default = 1
hasMoney = 1
GetBackdropBorderColor = <function> defined @Interface\AddOns\TipTop\tiptop.lua:76
numMoneyFrames = 1
}
SetSBarColor = <function> defined =[C]:-1
ttSBar = GameTooltipStatusBar {
0 = <userdata>
SetStatusBarColor = <function> defined @Interface\AddOns\TipTop\tiptop.lua:119
}

RSS 2.0 Feed for Bug CommentsNotes Sort Options
By: Seerah - 02-13-14 05:15 PM
Oops. I have checks everywhere to see if the class variable is not nil, except for the section for the class icon. I guess hardly anyone is using that option. ><