AtlasLootClassic

AtlasLootClassic

37M Downloads

Accessing or setting a favorite cause an exception

jjyoung1 opened this issue ยท 1 comments

commented

Version 3.1.0

25x AtlasLootClassic/Addons/Favourites.lua:835: attempt to index local 'listData' (a nil value

Whenever a favorite item is set, or a item in favorites is moused-over, this exception occur

Set any favorite or mouse over a favourite. Exception happens every time

image

Full Exception Trace:

27x AtlasLootClassic/Addons/Favourites.lua:835: attempt to index local 'listData' (a nil value)
[string "@AtlasLootClassic/Addons/Favourites.lua"]:835: in function GetFavouriteItemText' [string "@AtlasLootClassic/Addons/Favourites.lua"]:349: in function <AtlasLootClassic/Addons/Favourites.lua:327> [string "=[C]"]: ? [string "=[C]"]: ? [string "=[C]"]: ? [string "=[C]"]: ? [string "=[C]"]: ? [string "=[C]"]: ? [string "=[C]"]: ? [string "@LoonBestInSlot/UpdateTooltips.lua"]:187: in function <LoonBestInSlot/UpdateTooltips.lua:181> [string "=[C]"]: ? [string "=[C]"]: ? [string "=[C]"]: ? [string "=[C]"]: in function SetItemByID'
[string "@AtlasLootClassic/Button/Item_type.lua"]:218: in function `OnEnter'
[string "@AtlasLootClassic/Button/Button.lua"]:125: in function <AtlasLootClassic/Button/Button.lua:118>

Locals:
self =

{
TooltipHookEnabled = defined @AtlasLootClassic/Addons/Favourites.lua:1164
subItems =
{
}
SetAsMainItem = defined @AtlasLootClassic/Addons/Favourites.lua:1169
GetNumItemsInList = defined @AtlasLootClassic/Addons/Favourites.lua:689
UpdateDb = defined @AtlasLootClassic/Addons/Favourites.lua:440
BASE_NAME_G = "GlobalBase"
GetFavouriteCountText = defined @AtlasLootClassic/Addons/Favourites.lua:812
OnItemsChanged = defined @AtlasLootClassic/Addons/Favourites.lua:570
IsFavouriteItemID = defined @AtlasLootClassic/Addons/Favourites.lua:873
IconList =
{
}
InsertChatLink = defined @AtlasLootClassic/Addons/Favourites.lua:575
CountCacheIdent = defined @AtlasLootClassic/Addons/Favourites.lua:693
HasIcon = defined @AtlasLootClassic/Addons/Favourites.lua:1011
GetGlobaleLists = defined @AtlasLootClassic/Addons/Favourites.lua:946
RemoveEntrysFromList = defined @AtlasLootClassic/Addons/Favourites.lua:1045
GetListByID = defined @AtlasLootClassic/Addons/Favourites.lua:954
SetItemNote = defined @AtlasLootClassic/Addons/Favourites.lua:662
SetActiveListName = defined @AtlasLootClassic/Addons/Favourites.lua:1019
GetFavouriteListText = defined @AtlasLootClassic/Addons/Favourites.lua:824
GetFavouriteItemText = defined @AtlasLootClassic/Addons/Favourites.lua:828
RemoveFromShownList = defined @AtlasLootClassic/Addons/Favourites.lua:996
SetIcon = defined @AtlasLootClassic/Addons/Favourites.lua:1003
db =
{
}
IsItemEquippedOrObsolete = defined @AtlasLootClassic/Addons/Favourites.lua:848
AddNewList = defined @AtlasLootClassic/Addons/Favourites.lua:1023
GUI =
{
}
GlobalDbDefaults =
{
}
ListIsGlobalActive = defined @AtlasLootClassic/Addons/Favourites.lua:974
OnInitialize = defined @AtlasLootClassic/Addons/Favourites.lua:488
CleanUpShownLists = defined @AtlasLootClassic/Addons/Favourites.lua:982
ListIsProfileActive = defined @AtlasLootClassic/Addons/Favourites.lua:978
SendListData = defined @AtlasLootClassic/Addons/Favourites.lua:610
BASE_NAME_P = "ProfileBase"
OnStatusChanged = defined @AtlasLootClassic/Addons/Favourites.lua:565
GetProfileLists = defined @AtlasLootClassic/Addons/Favourites.lua:938
ImportItemList = defined @AtlasLootClassic/Addons/Favourites.lua:1076
OnProfileChanged = defined @AtlasLootClassic/Addons/Favourites.lua:560
RemoveList = defined @AtlasLootClassic/Addons/Favourites.lua:1035
CountFavouritesOverall = defined @AtlasLootClassic/Addons/Favourites.lua:716
PlaceHolderIcon = "Interface\AddOns\AtlasLootClassic\Images\Icons\placeholder-icon"
RemoveItemID = defined @AtlasLootClassic/Addons/Favourites.lua:640
SendList = defined @AtlasLootClassic/Addons/Favourites.lua:615
GetListName = defined @AtlasLootClassic/Addons/Favourites.lua:960
numItems = 2
GetActiveList = defined @AtlasLootClassic/Addons/Favourites.lua:676
activeListID = "g1673129306"
globalDb =
{
}
GetIcon = defined @AtlasLootClassic/Addons/Favourites.lua:1007
__callbacks =
{
}
GetMainListItems = defined @atl

commented

Duplicate of #311