View Bug Report
AloftHealthBar.lua error with 'GetTotemExceptionColor'
Bug #: 6096
File: Aloft (Beta)
Date: 08-27-09 06:59 PM
By: raisers
Status: Fixed
I didn't want to spam comments with long addon list for error so i post it here.

Date: 2009-08-28 00:16:03
ID: -1
Error occured in: Global
Count: 32
Message: ...rface\AddOns\Aloft\AloftHealthBar\AloftHealthBar.lua line 338:
attempt to call method 'GetTotemExceptionColor' (a nil value)
Debug:
(tail call): ?
Ace2\AceEvent-2.0\AceEvent-2.0.lua:299: TriggerEvent()
...ace\AddOns\Aloft\AloftUnitidData\AloftUnitidData.lua:180: DoUpdateData()
...ace\AddOns\Aloft\AloftUnitidData\AloftUnitidData.lua:155: UpdateData()
Aloft\Aloft\Aloft.lua:131: UpdateAloftData()
Aloft\Aloft\Aloft.lua:792: OnNameplateShow()
Aloft\Aloft\Aloft.lua:845:
Aloft\Aloft\Aloft.lua:840
(tail call): ?
AddOns:
Swatter, v5.6.4424 (KangaII)
NPCScan, v3.2.0.5
Ace2, v
Ace3, v
AchScreenshotter, v3.0
ActionCombat, v0.5
Aloft, v2.8.7
Atlas, v1.14.2
AtlasLoot, vv5.07.05
AtlasLootWrathoftheLichKing, vv5.07.05
AuctionLite, v1.3
Auditor2, v4.3.2
AuldLangSyne, v2.0
AuldLangSyneBackup, v2.0
AuldLangSyneFriendList, v2.0
AuldLangSyneFu, v2.0
AuldLangSyneGuildList, v2.0
AuldLangSyneInfo, v2.0
AuldLangSyneNote, v2.0
AuldLangSynePanel, v2.0
AuldLangSyneSync, v2.0
AuraSource, v0.2
AutoBar, vv3.02.00.24 beta
AutoBG, v1.4
autocombatlog, v1.2.2
Babylonian, v5.1.DEV.130
BankItems, v30200
BanzaiAlert, v2.0
Bartender4, v4.4.1
BattleInfo, v
BaudBag, v1.4.8
BeanCounter, v5.6.4424 (KangaII)
BigWigs, v2.0
BigWigsExtras, v2.0
BigWigsNorthrend, v2.0
BigWigsPlugins, v2.0
BigWigsUlduar, v2.0
BigWigsYoggBrain, v1.11
BindPad, v2.1.4
BioPulse, v0.3
BlackList, v3.2.01
BloodyRare, v1.4
BossNotes, v1.0.6
BossNotesAbilities, v
BossNotesPersonalNotes, v
BossNotesTactics, v
Broker2FuBar, v1.0
BrokerAuditor, v4.3.2
buffalo3, v
BuffEnough, v
Capping, v3.2.002
Cartographer, v2.0
CartographerCoordinates, v2.0
CartographerFoglight, v2.0
CartographerGroupColors, v2.0
CartographerGuildPositions, v2.0
CartographerLookNFeel, v2.0
CatalogueOwner, v1.0.0
ChefsHat, v30200-1
Classannouncer, v1.0.3
ClassLoot, vr85
ClassTimer, v2.3
Coconuts, v3.0.172
Configator, v5.1.DEV.130
CTPartyBuffs, v3.200 (CTMod 3.2)
CTUnitFrames, v3.200 (CTMod 3.2)
DamnAchievements, v
DBMBattlegrounds, v
DBMCore, v
DBMPartyWotLK, v
DBMUlduar, v
DebugLib, v5.1.DEV.130
dgks, v1.100
DHUD, vv1.5.30200a
Examiner, v09.08.13
Factionizer, v30200.3
FailBot, v2.12
FishingAce, v0.4.5g
Fizzle, vv1.4
FocusFrame, v2.5.2
FocusInterruptSounds, v3.0
FuBar, v
FuBarAddonSpamFu, v1.0.1
FuBarArenaFu, v0.8
FuBarClockFu, v3.0
FuBarCombatInfoFu, v2.3.24459
FuBarDurabilityFu, v2.11
FuBarFactionsFu, v2.2.1-80
FuBarGarbageFu, v2.0.$Revision: 112 $
FuBarHonorFuPlus, v2.0
FuBarInstanceInfoFu, v1.0
FuBarLocationFu, v3.0
FuBarMCPFu, v1.1 ($Revision: 892 $)
FuBarOutfitterFu, v
FuBarPerformanceFu, v2.0.0
FuBarRecountFu, v3.8
FuBarRestFu, vv1.3.2
FuBarSkillsPlusFu, v3.1.0
FuBarTopScoreFu, vv1.0.5-4-g139baed
FuBarVolumeFu, v2.0.$Revision: 55081 $
FuBarWhisperFu, v2.0
GatherMate, vv1.21
GearScore, v3.0.05
Gladius, vv1.0.2-1-g53926c6
GuildCraft, v3.0
GuildCraftBrowser, v
HandyNotes, v1.1.4
HandyNotesVendors, v1.1.6
HatTrick, v3.0.1.1
HeadCount, v1.6.0
HealersHaveToDie, v1.0.1
HitAssist, v2.4.4
HKCounter, v3.28
HonorView, v2.1
Informant, v5.6.4424 (KangaII)
InspectEquip, v1.5.0
ItemRack, v
JPack, v0.7.5
JPackBroker, v
JPackEx, v
LibRareSpawns, v1.0.30100
LibRock10, v
LibStatLogic11, v$Revision: 64 $
LibTipHooker11, v$Revision: 8 $
LightHeaded, v296
LightHeadedDataB, v296
LightHeadedDataE, v296
LightHeadedDataQIDNames, v296
LiveStats, v003
LootPlan, v0.4.0
LootRollMover, v1.5
LoseControl, v1.4
MacroBank, v1.5
MalygosStacks, v1.2
MasterLootManager, v
MikScrollingBattleText, v5.4.64
MobNotes, v1.1
Nao, v
Omen, v3.0.8
OmniCC, v2.5.6
OmniCCPulse, v1.1.1
oRA2, v2.0.$Revision: 666 $
oRA2Leader, v2.0
oRA2Optional, v2.0
oRA2Participant, v2.0
Outfitter, v4.8b6
Overachiever, v0.46
OverachieverTabs, v0.46
PartyTime, v1.1
Postal, v3.2.0
PowerAuras, v2.6.0
Prat30, v3.2.4
Prat30Libraries, v
Procodile, v3.1
ProfessionsBook, v3.0.3
PyriteStacks, v1.0.2
QBar, v09.03.08
Quartz, v1.0
QuartzBuff, v1.0
QuartzFlight, v1.0
QuartzFocus, v1.0
QuartzGCD, v1.0
QuartzInterrupt, v1.0
QuartzLatency, v1.0
QuartzMirror, v1.0
QuartzPet, v1.0
QuartzPlayer, v1.0
QuartzRange, v1.0
QuartzSwing, v1.0
QuartzTarget, v1.0
QuartzTimer, v1.0
QuartzTradeskill, v1.0
QuestGuru, v1.1
QuestGuruHistory, v1.1
QuestHelper, v1.1.13
RaidBuffStatus, v3.224
RaidIcons, v1.0
RareSpawnOverlay, v4.0.30100
RatingBuster, v
RecipeRadar, v1.32
Recount, v
SaySapped, v2009-08-06
sct, v6.2
sctd, v3.1
SendSelf, vv2.6.2
SeriousBuffTimers, v1.0
SharedMedia, v3.0
simpleMinimap, v30000-5
Squire, vv1.6-beta
sRaidFrames, vr653
sRaidFramesPredictedHealth, v
StrongArms, v0.1
Stubby, v5.6.4424 (KangaII)
Talented, vr624
TalentedSpecTabs, vr624
TankTotals, v
TipTac, v09.08.27
TipTacItemRef, v09.08.13
TipTacTalents, v09.08.13
TomTom, vwowi:revision
TradeskillHD, v1.08
TrinketMenu, v
VendorBait, v3.2.0.4
WeaponQuickSwap, v
WhoPinged, v1.2.8
WhoWhisperedMe, v1.4.3
WinterTime, v1.81
XLoot, v0.9
YouFail, v1
zimGreed, v1.0
BlizRuntimeLib_enUS v3.2.0.30200 <eu>
(ck=1295)

RSS 2.0 Feed for Bug CommentsNotes Sort Options
By: Dridzt - 08-31-09 04:26 PM
Aloft-2.8.7.1255

Came here to report same issue.
Following error was spammed ad infinitum while fighting the Faction Champions
(3rd encounter in Trial of the Crusader raid)
when the Shaman Boss started dropping totems.

Aloft-2.8.7.1255-enUS\AloftHealthBar\AloftHealthBar.lua:338: attempt to call method 'GetTotemExceptionColor' (a nil value)
Aloft-2.8.7.1255-enUS\AloftUnitidData\AloftUnitidData.lua:155: in function `UpdateData'
Aloft-2.8.7.1255-enUS\Aloft\Aloft.lua:131: in function `UpdateAloftData'
Aloft-2.8.7.1255-enUS\Aloft\Aloft.lua:792: in function `OnNameplateShow'
Aloft-2.8.7.1255-enUS\Aloft\Aloft.lua:1033: in function `SetupNameplate'
Aloft-2.8.7.1255-enUS\Aloft\Aloft.lua:391: in function `ProcessChildFrames'
Aloft-2.8.7.1255-enUS\Aloft\Aloft.lua:402: in function <Interface\AddOns\Aloft\Aloft\Aloft.lua:398>
By: acapela - 09-16-09 05:31 PM
yeah, i believe this is now fixed (in Aloft-2.8.8 and later).

the GetTotemExceptionColor() method was implemented in the AloftVisibility module (which users can disable), but also invoked by Aloft's health bar coloring functionality (which is always on). as a consequence, the method may not always be there.

so, i added a check in the health bar area to see if the function is available before using it.