Overrides.lua:105: attempt to index field '?' (a nil value)
Tiiara opened this issue ยท 7 comments
I'm not entirely sure what this error does, as it doesn't seem to break anything, but still, it does pop up on every log in.
73x BaudBag/Overrides.lua:105: attempt to index field '?' (a nil value)
[string "@BaudBag/Overrides.lua"]:105: in function <BaudBag/Overrides.lua:100>
[string "=[C]"]: ?
[string "@Blizzard_SharedXMLBase/CallbackRegistry.lua"]:144: in function <...eBlizzard_SharedXMLBase/CallbackRegistry.lua:143>
[string "=[C]"]: ?
[string "@Blizzard_SharedXMLBase/CallbackRegistry.lua"]:147: in function `TriggerEvent'
[string "@Blizzard_UIPanels_Game/Mainline/ContainerFrame.lua"]:2025: in function <...s/Blizzard_UIPanels_Game/Mainline/ContainerFrame.lua:2008>
[string "=[C]"]: in function `CloseAllBags'
[string "@Blizzard_UIParentPanelManager/Mainline/UIParentPanelManager.lua"]:1128: in function <...ParentPanelManager/Mainline/UIParentPanelManager.lua:1127>
[string "=[C]"]: in function `securecall'
[string "@Blizzard_UIParent/Mainline/UIParent.lua"]:2853: in function <...rfaceBlizzard_UIParent/Mainline/UIParent.lua:2792>
[string "=[C]"]: ?
[string "=[C]"]: ?
[string "=[C]"]: ?
[string "=[C]"]: ?
[string "=[C]"]: in function `ToggleGameMenu'
[string "@Blizzard_Settings_Shared/Blizzard_SettingsPanel.lua"]:253: in function `TransitionBackOpeningPanel'
[string "@Blizzard_Settings_Shared/Blizzard_SettingsPanel.lua"]:242: in function `ExitWithCommit'
[string "@Blizzard_Settings_Shared/Blizzard_SettingsPanel.lua"]:211: in function `Close'
[string "@Blizzard_Settings_Shared/Blizzard_SettingsPanel.lua"]:54: in function <.../Blizzard_Settings_Shared/Blizzard_SettingsPanel.lua:53>
Locals:
(*temporary) = nil
(*temporary) = 5
(*temporary) = 1
(*temporary) = 5
(*temporary) = 5
(*temporary) = "attempt to index field '?' (a nil value)"
AddOnTable = <table> {
Cache = <table> {
}
Backgrounds = <table> {
}
Functions = <table> {
}
Config = <table> {
}
Events = <table> {
}
ContainerIdOptionsIndexMap = <table> {
}
SubBags = <table> {
}
Sets = <table> {
}
State = <table> {
}
BlizzAPI = <table> {
}
BlizzConstants = <table> {
}
Localized = <table> {
}
}
Hmm which flavor are we talking about? Retail? Is that the only error or are there more?
It seems like default UI is calling ContainerFrame.CloseAllBags at a very strange time, when baudbag isn't fully loaded yet, but I haven't been able to reproduce that yet. Maybe the combination with some other addons that trigger something in the bags...
Yes, it's retail. English Client. Yes, it's the only error popping up.
Let me try some addon combinations and get back to you in a few.
I think I found the culprit. It's the addon ItemLevelDisplay
When I load both baudbag and itemleveldisplay (with or without their ItemLevelDisplay-Baudbag option) the error occurs.
BaudBag 11.0.2.3
ItemLevelDisplay 2.10.2
Btw, baud bag has itel level support integrated since some versions, so you might not necessarily need that addon. It has some issues since a recent Patch though.
In the meantime I did rework how the overrides are being registered with the result (I hope) that these methods will only be called when the addon is actually ready to handle them. I'm not sure if this will mess with the function of ItemLevelDisplay yet, but don't think so. Will be available with the next release.