ImprovedAddonList

ImprovedAddonList

8.8k Downloads

LUA error since 10.0.0 patch - nil 'entry' at 302

raysmith59 opened this issue ยท 6 comments

commented

I just picked up this addon, I have so many addons that are still out of date and slowly being updated that I wanted more control over the loadout so was hoping this would help with my troubleshooting. However, when I log in I'm getting the error below. I tried protecting against nils in the function call (that and the other function that took an 'entry' parameter) which allowed the addon to load without error but I'm getting a new error when I try to save to a new layout, I'll report that separately. I'll poke around a bit more to see if I can make it functional but I'm guessing there's more wrong after the patch than I'll be able to fix.

I also have no idea why there'd be a nil result in the addon list, could be an in-game bug.

1x ...rface/AddOns/ImprovedAddonList/ImprovedAddonList.lua:302: attempt to index local 'entry' (a nil value)
[string "@Interface/AddOns/ImprovedAddonList/ImprovedAddonList.lua"]:302: in function ShowMemoryUsage' [string "@Interface/AddOns/ImprovedAddonList/ImprovedAddonList.lua"]:295: in function <...rface/AddOns/ImprovedAddonList/ImprovedAddonList.lua:282> [string "=[C]"]: in function AddonList_Update'
[string "@Interface/AddOns/ImprovedAddonList/ImprovedAddonList.lua"]:227: in function RefreshDropDownAndList' [string "@Interface/AddOns/ImprovedAddonList/ImprovedAddonList.lua"]:220: in function InitUI'
[string "@Interface/AddOns/ImprovedAddonList/ImprovedAddonList.lua"]:116: in function <...rface/AddOns/ImprovedAddonList/ImprovedAddonList.lua:112>
[string "=(tail call)"]: ?

Locals:
self =

{
GetAllAddons = defined @Interface/AddOns/ImprovedAddonList/ImprovedAddonList.lua:560
OnAddonTooltipUpdate = defined @Interface/AddOns/ImprovedAddonList/ImprovedAddonList.lua:238
OnAddonListShow = defined @Interface/AddOns/ImprovedAddonList/ImprovedAddonList.lua:231
OnConfigurationSelected = defined @Interface/AddOns/ImprovedAddonList/ImprovedAddonList.lua:167
ResetAll = defined @Interface/AddOns/ImprovedAddonList/ImprovedAddonList.lua:127
IsConfigurationGlobal = defined @Interface/AddOns/ImprovedAddonList/ImprovedAddonList.lua:541
PLAYER_FLAGS_CHANGED = defined @Interface/AddOns/ImprovedAddonList/Condition.lua:206
OnAddonListUpdate = defined @Interface/AddOns/ImprovedAddonList/ImprovedAddonList.lua:282
OnInputDialogConfirm = defined @Interface/AddOns/ImprovedAddonList/ImprovedAddonList.lua:414
CheckConfigurationCondition = defined @Interface/AddOns/ImprovedAddonList/Condition.lua:393
CheckDistinct = defined @Interface/AddOns/ImprovedAddonList/ImprovedAddonList.lua:536
ShowError = defined @Interface/AddOns/ImprovedAddonList/ImprovedAddonList.lua:24
ShowConfigurationSwitchPromptDialog = defined @Interface/AddOns/ImprovedAddonList/Condition.lua:468
DeleteConfiguration = defined @Interface/AddOns/ImprovedAddonList/ImprovedAddonList.lua:385
ResetConfiguration = defined @Interface/AddOns/ImprovedAddonList/ImprovedAddonList.lua:361
ExportAddonListWithBBSCode = defined @Interface/AddOns/ImprovedAddonList/Export.lua:14
GetPlayerInfos = defined @Interface/AddOns/ImprovedAddonList/Condition.lua:224
LastUpdateMemoryUsageTime = 66563.265000
OnDropDownMenuInitialize = defined @Interface/AddOns/ImprovedAddonList/ImprovedAddonList.lua:158
GetExportAddonData = defined @Interface/AddOns/ImprovedAddonList/Export.lua:147
CreateExportDialog = defined @Interface/AddOns/ImprovedAddonList/Export.lua:98
ExportAddonListWithMarkDown = defined @Interface/AddOns/ImprovedAddonList/Export.lua:61
Frame = Frame {
}
ExportAddonList = defined @Interface/AddOns/ImprovedAddonList/Export.lua:4
ShowOrHideInputDialog = defined @Interface/AddOns/ImprovedAddonList/ImprovedAddonList.lua:394
ShowRemark = defined @Interface/AddOns/ImprovedAddonList/ImprovedAddonList.lua:319
IsCurrentConfiguration = defined @Interface/AddOns/ImprovedAddonList/ImprovedAddonList.lua:570
ADDON_LOADED = defined @Interface/AddOns/ImprovedAddonList/ImprovedAddonList.lua:112
OnTipsButtonClick = defined @Interface/AddOns/ImprovedAddonList/ImprovedAddonList.lua:339
GetEnabledAddons = defined @Interface/AddOns/ImprovedAddonList/ImprovedAddonList.lua:547
GetConfiguration = defined @Interface/AddOns/ImprovedAddonList/ImprovedAddonList.lua:594
IsConfigurationMeetCondition = defined @Interface/AddOns/ImprovedAddonList/Condition.lua:376
ShowMemoryUsage = defined @Interface/AddOns/ImprovedAddonList/ImprovedAddonList.lua:301
SaveConfiguration = defined @Interface/AddOns/ImprovedAddonList/ImprovedAddonList.lua:344
PLAYER_LOGIN = defined @Interface/AddOns/ImprovedAddonList/Condition.lua:174
GetConfigurationWithConditions = defined @Interface/AddOns/ImprovedAddonList/Condition.lua:346
MustbeSaveToGlobal = defined @Interface/AddOns/ImprovedAddonList/Condition.lua:287
GetClassAndSpecInfos = defined @Interface/AddOns/ImprovedAddonList/Condition.lua:237
InitConditionContent = defined @Interface/AddOns/ImprovedAddonList/Condition.lua:211
PLAYER_SPECIALIZATION_CHANGED = defined @Interface/AddOns/ImprovedAddonList/Condition.lua:199
PLAYER_ENTERING_WORLD = defined @Interface/AddOns/ImprovedAddonList/Condition.lua:195
ResetConditions = defined @Interface/AddOns/ImprovedAddonList/Condition.lua:362
GetConfigurations = <f

commented

fix by v2.0.0, which is a completely reworked version

commented

Blz change the scrollview construct method which is addonlist used, I won't fix it, Instead, I think a whole new addon panel which no taint, more features will better to use. This issue will be closed when a new version arrives.

commented

What will the new addon be called

commented

What will the new addon be called

The same name, not a new addon. For now, just disable this addon. I'm sorry.

commented

For what it's worth I've been using the addon with the workarounds I mentioned without any issue so far, it's working fine for what I need it for.

commented

Well, I temporarily disabled remark and export features, and it shouble be work fine in 1.9.11