raethkcj / RatingBuster

An item comparison tool for WoW Classic.
GNU General Public License v2.0
58 stars 14 forks source link

[Bug]: Doesn't work. Fresh install, fresh character. Table index is nil (?) #151

Closed gustavomgama closed 1 year ago

gustavomgama commented 1 year ago

Fresh install of addon, this Lua Error pops up, and addon does not work whatsover, tried the latest version and an older version.

I only have this addon and the hc addon enabled. Fresh character as well.

Message: Interface\AddOns\StatLogic\StatLogic.lua:1159: table index is nil
Time: Sat May 20 16:55:47 2023
Count: 1
Stack: Interface\AddOns\StatLogic\StatLogic.lua:1159: table index is nil
[string "@Interface\AddOns\StatLogic\StatLogic.lua"]:1159: in function `SetupAuraInfo'
[string "@Interface\AddOns\RatingBuster\RatingBuster.lua"]:1640: in function `InitializeDatabase'
[string "@Interface\AddOns\RatingBuster\RatingBuster.lua"]:1550: in function <Interface\AddOns\RatingBuster\RatingBuster.lua:1546>

Locals: self = <table> {
 GetArmorDistribution = <function> defined @Interface\AddOns\StatLogic\StatLogic.lua:2712
 GetRAPFromAgi = <function> defined @Interface\AddOns\StatLogic\StatLogic.lua:1864
 GetReductionFromArmor = <function> defined @Interface\AddOns\StatLogic\StatLogic.lua:1495
 GetSum = <function> defined @Interface\AddOns\StatLogic\StatLogic.lua:2364
 argCheck = <function> defined @Interface\AddOns\StatLogic\StatLogic.lua:78
 GetRAPPerAgi = <function> defined @Interface\AddOns\StatLogic\StatLogic.lua:1831
 GetStatMod = <function> defined @Interface\AddOns\StatLogic\StatLogic.lua:1460
 TalentCacheExists = <function> defined @Interface\AddOns\StatLogic\StatLogic.lua:1376
 ExtraHasteClasses = <table> {
 }
 tip = StatLogicTooltip {
 }
 GetClassIdOrName = <function> defined @Interface\AddOns\StatLogic\StatLogic.lua:159
 InvalidateEvent = <function> defined @Interface\AddOns\StatLogic\StatLogic.lua:1303
 GetRatingIdOrName = <function> defined @Interface\AddOns\StatLogic\StatLogic.lua:500
 GetStatNameFromID = <function> defined @Interface\AddOns\StatLogic\StatLogic.lua:370
 StatModInfo = <table> {
 }
 StatModTable = <table> {
 }
 GetNormalManaRegenFromSpi = <function> defined @Interface\AddOns\StatLogic\Vanilla_Logic.lua:39
 RemoveEnchant = <function> defined @Interface\AddOns\StatLogic\StatLogic.lua:2096
 GetBlockValuePerStr = <function> defined @Interface\AddOns\StatLogic\StatLogic.lua:1697
 PatternTest = <function> defined @Interface\AddOns\StatLogic\StatLogic.lua:3068
 Bench = <function> defined @Interface\AddOns\StatLogic\StatLogic.lua:3049
 GetAPFromAgi = <function> defined @Interface\AddOns\StatLogic\StatLogic.lua:1799
 GetSpellCritFromInt = <function> defined @Interface\AddOns\StatLogic\StatLogic.lua:2029
 GetDiff = <function> defined @Interface\AddOns\StatLogic\StatLogic.lua:2956
 GetAPPerAgi = <function> defined @Interface\AddOns\StatLogic\StatLogic.lua:1763
 GetAPFromStr = <function> defined @Interface\AddOns\StatLogic\StatLogic.lua:1660
 GetHealthRegenFromSpi = <function> defined @Interface\AddOns\StatLogic\StatLogic.lua:2082
 GetEffectFromRating = <function> defined @Interface\AddOns\StatLogic\StatLogic.lua:1584
 StatTable = <table> {
 }
 AreColorsEqual = <function> defined @Interface\AddOns\StatLogic\StatLogic.lua:2705
 GetGemID = <function> defined @Interface\AddOns\StatLogic\StatLogic.lua:2229
 BuildGemmedTooltip = <function> defined @Interface\AddOns\StatLogic\StatLogic.lua:2139
 RemoveGem = <function> defined @Interface\AddOns\StatLogic\StatLogic.lua:2100
 ValidateClass = <function> defined @Interface\AddOns\StatLogic\StatLogic.lua:164
 GetCritFromAgi = <function> defined @Interface\AddOns\StatLogic\StatLogic.lua:1986
 GetDodgeFromAgi = <function> defined @Interface\AddOns\StatLogic\StatLogic.lua:1950
 GetDodgePerAgi = <function> defined @Interface\AddOns\StatLogic\StatLogic.lua:1921
 tipMiner = StatLogicMinerTooltip {
 }
 GetAPPerStr = <function> defined @Interface\AddOns\StatLogic\StatLogic.lua:1630
 GenericStats = <table> {
 }
 GetEffectFromDefense = <function> defined @Interface\AddOns\StatLogic\StatLogic.lua:1522
 GetOrderedTalentInfo = <function> defined @Interface\AddOns\StatLogic\StatLogic.lua:1371
 GetBaseDodge = <function> defined @Interface\AddOns\StatLogic\StatLogic.lua:1895
 RatingExists = <function> defined @Interface\AddOns\StatLogic\StatLogic.lua:1535
 GenericStatMap = <table> {
 }
 SetupAuraInfo = <function> defined @Interface\AddOns\StatLogic\StatLogic.lua:1149
 GetBlockValueFromStr = <funct

Addon Source

GitHub Releases

Version

1.7.11 and 1.7.8

Locale

English

Talent Specialization

Assassination Rogue, Combat Rogue, Subtlety Rogue

Race

Human

raethkcj commented 1 year ago

Thank you for the report, should be fixed in 1.7.12