AdiBags

AdiBags

8M Downloads

ContainerFrame nil error after loading screen

T3ll1nG opened this issue ยท 10 comments

commented

Hi,
I have this error consistent after every loading screen on the newest build.

[20:56] Error in AdiBags: Interface\FrameXML\ContainerFrame.lua:1426: attempt to index a nil value -- details: [Error 0000014B73D73690]
[20:56] Error in AdiBags: Interface\FrameXML\ContainerFrame.lua:1426: attempt to index a nil value -- details: [Error 0000014B73D73690]
[20:56] Error in AdiBags: Interface\FrameXML\ContainerFrame.lua:1426: attempt to index a nil value -- details: [Error 0000014B73D73690]
[20:56] Error in AdiBags: Interface\FrameXML\ContainerFrame.lua:1426: attempt to index a nil value -- details: [Error 0000014B73D73690]
[20:56] Error in AdiBags: Interface\FrameXML\ContainerFrame.lua:1426: attempt to index a nil value -- details: [Error 0000014B73D73690]
[20:56] Error in AdiBags: Interface\FrameXML\ContainerFrame.lua:1426: attempt to index a nil value -- details: [Error 0000014B73D73690]
[20:56] Interface\FrameXML\ContainerFrame.lua:1426: attempt to index a nil value
[20:56] Interface\FrameXML\ContainerFrame.lua:1426: in function GetItemContextMatchResult' Interface\FrameXML\ItemButtonTemplate.lua:214: in function UpdateItemContextMatching'
Interface\FrameXML\ItemButtonTemplate.lua:190: in function <Interface\FrameXML\ItemButtonTemplate.lua:189>
[C]: in function Show' Interface\AddOns\AdiBags\core\Bags.lua:89: in function Open'
Interface\AddOns\AdiBags\core\Hooks.lua:112: in function <Interface\AddOns\AdiBags\core\Hooks.lua:109>
(tail call): ?
(tail call): ?
[C]: in function `ToggleAllBags'
[string "OPENALLBAGS"]:1: in function <[string "OPENALLBAGS"]:1>
[20:56] self = AdiBagsItemButton66 {
timeSinceUpgradeCheck = 0
PostOnLoad = defined @interface\FrameXML\ItemButtonTemplate.lua:169
BattlepayItemTexture = {
}
IconOverlay = {
}
BagStaticTop = {
}
GetItemContextMatchResult = defined @interface\FrameXML\ContainerFrame.lua:1425
IconBorder = {
}
newitemglowAnim = {
}
icon = AdiBagsItemButton66IconTexture {
}
UpdateTooltip = defined @interface\FrameXML\ContainerFrame.lua:1347
ExtendedOverlay = {
}
RegisterCallback = defined @interface\FrameXML\ItemButtonTemplate.lua:175
itemContextChangedCallbackIsSet = false
UnregisterCallback = defined @interface\FrameXML\ItemButtonTemplate.lua:182
UpdateItemContextMatching = defined @interface\FrameXML\ItemButtonTemplate.lua:211
itemContextMatchResult = 3
NewItemTexture = {
}
Cooldown = AdiBagsItemButton66Cooldown {
}
bagFamily = 0
count = 20
CanIMogItOverlay = CIMIOverlayFrame_AdiBagsItemButton66 {
}
BagStaticBottom = {
}
ItemContextOverlay = {
}
PostOnShow = defined @interface\FrameXML\ItemButtonTemplate.lua:189
flash = {
}
texture = 1045940
itemId = 126936
itemLink = "[Sugar-Crusted Fish Feast]"
ExtendedSlot = {
}
ExtendedOverlay2 = {
}
hasItem = true
IconTexture = AdiBagsItemButton66IconTexture {
}
JunkIcon = {
}
SetMatchesSearch = defined @interface\FrameXML\ItemButtonTemplate.lua:202
UpdateItemContextOverlay = defined @interface\FrameXML\ItemButtonTemplate.lua:222
slot = 17
bag = 3
NormalTexture = AdiBagsItemButton66NormalTexture {
}
Stock = AdiBagsItemButton66Stock {
}
IconQuestTexture = AdiBagsItemButton66IconQuestTexture {
}
itemContextChangedCallback = defined @interface\FrameXML\ItemButtonTemplate.lua:170
0 =
Count = AdiBagsItemButton66Count {
}
PostOnHide = defined @interface\FrameXML\ItemButtonTemplate.lua:198
flashAnim = {
}
GetMatchesSearch = defined @interface\FrameXML\ItemButtonTemplate.lua:207
UpgradeIcon = {
}
searchOverlay = AdiBagsItemButton66SearchOverlay {
}
}
(*temporary) = defined @interface\FrameXML\ItemUtil.lua:47
(*temporary) = defined @interface\FrameXML\ObjectAPI\ItemLocation.lua:9
(*temporary) =

{
CreateFromBagAndSlot = defined @interface\FrameXML\ObjectAPI\ItemLocation.lua:9
CreateFromEquipmentSlot = defined @interface\FrameXML\ObjectAPI\ItemLocation.lua:15
CreateEmpty = defined @interface\FrameXML\ObjectAPI\ItemLocation.lua:4
}
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = "attempt to index a nil value"

commented

Seeing the identical stack trace (with version 1.9.14).

Mine occurred when I opened my bags. I haven't been able to make it happen reproducibly.

commented

I'm also seeing this intermittently. I haven't yet determined any pattern. It's been low-frequency so I hadn't opened a bug.

commented

I just had this pop up. I was working on some cooking and I don't know exactly what I did, but the error popped up saying:
" Error in AdiBags: Interface\FrameXML\ContainerFrame.lua:1426: attempt to index a nil value -- details: [Error 0000016F7363A6F0]
[12:46:42] Interface\FrameXML\ContainerFrame.lua:1426: attempt to index a nil value
[12:46:42] Interface\FrameXML\ContainerFrame.lua:1426: in function GetItemContextMatchResult' Interface\FrameXML\ItemButtonTemplate.lua:214: in function UpdateItemContextMatching'
Interface\FrameXML\ItemButtonTemplate.lua:190: in function <Interface\FrameXML\ItemButtonTemplate.lua:189>
[C]: in function Show' Interface\AddOns\AdiBags\core\Bags.lua:89: in function Open'
Interface\AddOns\AdiBags\core\Hooks.lua:112: in function <Interface\AddOns\AdiBags\core\Hooks.lua:109>
(tail call): ?
(tail call): ?
[string "OPENALLBAGS"]:1: in function <[string "OPENALLBAGS"]:1>
[12:46:42] self = AdiBagsItemButton63 {
timeSinceUpgradeCheck = 0
PostOnLoad = defined @interface\FrameXML\ItemButtonTemplate.lua:169
BattlepayItemTexture = {
}
IconOverlay = {
}
BagStaticTop = {
}
GetItemContextMatchResult = defined @interface\FrameXML\ContainerFrame.lua:1425
IconBorder = {
}
newitemglowAnim = {
}
icon = AdiBagsItemButton63IconTexture {
}
UpdateTooltip = defined @interface\FrameXML\ContainerFrame.lua:1347
ExtendedOverlay = {
}
RegisterCallback = defined @interface\FrameXML\ItemButtonTemplate.lua:175
UnregisterCallback = defined @interface\FrameXML\ItemButtonTemplate.lua:182
UpdateItemContextMatching = defined @interface\FrameXML\ItemButtonTemplate.lua:211
itemContextChangedCallbackIsSet = false
NewItemTexture = {
}
Cooldown = AdiBagsItemButton63Cooldown {
}
bagFamily = 0
itemContextMatchResult = 3
count = 44
BagStaticBottom = {
}
filterName = "Track new items"
ItemContextOverlay = {
}
PostOnShow = defined @interface\FrameXML\ItemButtonTemplate.lua:189
flash = {
}
ExtendedSlot = {
}
ExtendedOverlay2 = {
}
hasItem = false
IconTexture = AdiBagsItemButton63IconTexture {
}
JunkIcon = {
}
SetMatchesSearch = defined @interface\FrameXML\ItemButtonTemplate.lua:202
UpdateItemContextOverlay = defined @interface\FrameXML\ItemButtonTemplate.lua:222
slot = 5
bag = 1
NormalTexture = AdiBagsItemButton63NormalTexture {
}
Stock = AdiBagsItemButton63Stock {
}
IconQuestTexture = AdiBagsItemButton63IconQuestTexture {
}
itemContextChangedCallback = defined @interface\FrameXML\ItemButtonTemplate.lua:170
0 =
Count = AdiBagsItemButton63Count {
}
PostOnHide = defined @interface\FrameXML\ItemButtonTemplate.lua:198
flashAnim = {
}
GetMatchesSearch = defined @interface\FrameXML\ItemButtonTemplate.lua:207
UpgradeIcon = {
}
searchOverlay = AdiBagsItemButton63SearchOverlay {
}
}
(*temporary) = defined @interface\FrameXML\ItemUtil.lua:47
(*temporary) = defined @interface\FrameXML\ObjectAPI\ItemLocation.lua:9
(*temporary) =

{
CreateFromBagAndSlot = defined @interface\FrameXML\ObjectAPI\ItemLocation.lua:9
CreateFromEquipmentSlot = defined @interface\FrameXML\ObjectAPI\ItemLocation.lua:15
CreateEmpty = defined @interface\FrameXML\ObjectAPI\ItemLocation.lua:4
}
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = "attempt to index a nil value""

I hope this is helpful. Thanks for the great mod!

commented

I can reproduce the error by having my bags open along with the auction house window, on toggling closed the equipped bags window the following error message appears 6 times per toggle off. I've also seen the same error when closing bags after using the scrapper.

Error in AdiBags: Interface\FrameXML\ContainerFrame.lua:1426: attempt to index a nil value -- details: [Error 0000019EDFACC8F0]
Error in AdiBags: Interface\FrameXML\ContainerFrame.lua:1426: attempt to index a nil value -- details: [Error 0000019EDFACC8F0]
Error in AdiBags: Interface\FrameXML\ContainerFrame.lua:1426: attempt to index a nil value -- details: [Error 0000019EDFACC8F0]
Error in AdiBags: Interface\FrameXML\ContainerFrame.lua:1426: attempt to index a nil value -- details: [Error 0000019EDFACC8F0]
Error in AdiBags: Interface\FrameXML\ContainerFrame.lua:1426: attempt to index a nil value -- details: [Error 0000019EDFACC8F0]
Error in AdiBags: Interface\FrameXML\ContainerFrame.lua:1426: attempt to index a nil value -- details: [Error 0000019EDFACC8F0]

commented

Also experiencing these errors on current release (version 1.9.14-nolib). This release auto-installs with Twitch as current update. I reverted to (version 1.9.14) and I am not getting these errors. Thanks for all of the hard work developing and keeping this up when Blizzard decides to break things.

commented

I saw the error today in my WoD garrison but it was random. I just now tried it at the AH and it's not happening. I'm using the 1.9.14 installed by Twitch yesterday. Since then Twitch has been broken. Their move to a desktop app seems to have badly broken their code.

commented

I can reproduce this error consistently by clicking the toggle equipped bag panel icon.

I verified that I have the correct current release installed by manually downloading it and doing a file comparison (using Meld) of the files in my Addons folder and the downloaded archive.

20x FrameXML\ContainerFrame.lua:1426: attempt to index a nil value
FrameXML\ContainerFrame.lua:1426: in function `GetItemContextMatchResult'
FrameXML\ItemButtonTemplate.lua:214: in function `UpdateItemContextMatching'
FrameXML\ItemButtonTemplate.lua:190: in function <FrameXML\ItemButtonTemplate.lua:189>
[C]: in function `SetShown'
AdiBags\widgets\ContainerFrame.lua:82: in function <AdiBags\widgets\ContainerFrame.lua:81>

Locals:
self = AdiBagsItemButton157 {
 timeSinceUpgradeCheck = 0
 PostOnLoad = <function> defined @FrameXML\ItemButtonTemplate.lua:169
 BattlepayItemTexture = <unnamed> {
 }
 IconOverlay = <unnamed> {
 }
 BagStaticTop = <unnamed> {
 }
 GetItemContextMatchResult = <function> defined @FrameXML\ContainerFrame.lua:1425
 IconBorder = <unnamed> {
 }
 newitemglowAnim = <unnamed> {
 }
 icon = AdiBagsItemButton157IconTexture {
 }
 UpdateTooltip = <function> defined @FrameXML\ContainerFrame.lua:1347
 ExtendedOverlay = <unnamed> {
 }
 RegisterCallback = <function> defined @FrameXML\ItemButtonTemplate.lua:175
 UnregisterCallback = <function> defined @FrameXML\ItemButtonTemplate.lua:182
 UpdateItemContextMatching = <function> defined @FrameXML\ItemButtonTemplate.lua:211
 NewItemTexture = <unnamed> {
 }
 Cooldown = AdiBagsItemButton157Cooldown {
 }
 bagFamily = 0
 itemContextChangedCallbackIsSet = false
 itemContextMatchResult = 3
 BagStaticBottom = <unnamed> {
 }
 count = 10
 ItemContextOverlay = <unnamed> {
 }
 PostOnShow = <function> defined @FrameXML\ItemButtonTemplate.lua:189
 flash = <unnamed> {
 }
 ExtendedSlot = <unnamed> {
 }
 ExtendedOverlay2 = <unnamed> {
 }
 hasItem = false
 IconTexture = AdiBagsItemButton157IconTexture {
 }
 JunkIcon = <unnamed> {
 }
 SetMatchesSearch = <function> defined @FrameXML\ItemButtonTemplate.lua:202
 UpdateItemContextOverlay = <function> defined @FrameXML\ItemButtonTemplate.lua:222
 slot = 11
 bag = 0
 NormalTexture = AdiBagsItemButton157NormalTexture {
 }
 Stock = AdiBagsItemButton157Stock {
 }
 IconQuestTexture = AdiBagsItemButton157IconQuestTexture {
 }
 itemContextChangedCallback = <function> defined @FrameXML\ItemButtonTemplate.lua:170
 0 = <userdata>
 Count = AdiBagsItemButton157Count {
 }
 PostOnHide = <function> defined @FrameXML\ItemButtonTemplate.lua:198
 flashAnim = <unnamed> {
 }
 GetMatchesSearch = <function> defined @FrameXML\ItemButtonTemplate.lua:207
 UpgradeIcon = <unnamed> {
 }
 searchOverlay = AdiBagsItemButton157SearchOverlay {
 }
}
(*temporary) = <function> defined @FrameXML\ItemUtil.lua:47
(*temporary) = <function> defined @FrameXML\ObjectAPI\ItemLocation.lua:9
(*temporary) = <table> {
 CreateFromBagAndSlot = <function> defined @FrameXML\ObjectAPI\ItemLocation.lua:9
 CreateFromEquipmentSlot = <function> defined @FrameXML\ObjectAPI\ItemLocation.lua:15
 CreateEmpty = <function> defined @FrameXML\ObjectAPI\ItemLocation.lua:4
}
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = "attempt to index a nil value"
commented

Similiar issue with nil value. I can duplicate the error when using the Blizzard sort.

Interface\FrameXML\ContainerFrame.lua:1426: attempt to index a nil value
Interface\FrameXML\ContainerFrame.lua:1426: in function GetItemContextMatchResult' Interface\FrameXML\ItemButtonTemplate.lua:214: in function UpdateItemContextMatching'
Interface\FrameXML\ItemButtonTemplate.lua:190: in function <Interface\FrameXML\ItemButtonTemplate.lua:189>
[C]: in function Show' Interface\AddOns\AdiBags\core\Bags.lua:89: in function Open'
Interface\AddOns\AdiBags\core\Hooks.lua:112: in function <Interface\AddOns\AdiBags\core\Hooks.lua:109>
(tail call): ?
(tail call): ?
[string "OPENALLBAGS"]:1: in function <[string "OPENALLBAGS"]:1>
self = AdiBagsItemButton157 {
timeSinceUpgradeCheck = 0
PostOnLoad = defined @interface\FrameXML\ItemButtonTemplate.lua:169
BattlepayItemTexture = {
}
IconOverlay = {
}
BagStaticTop = {
}
GetItemContextMatchResult = defined @interface\FrameXML\ContainerFrame.lua:1425
IconBorder = {
}
newitemglowAnim = {
}
icon = AdiBagsItemButton157IconTexture {
}
UpdateTooltip = defined @interface\FrameXML\ContainerFrame.lua:1347
ExtendedOverlay = {
}
RegisterCallback = defined @interface\FrameXML\ItemButtonTemplate.lua:175
UnregisterCallback = defined @interface\FrameXML\ItemButtonTemplate.lua:182
UpdateItemContextMatching = defined @interface\FrameXML\ItemButtonTemplate.lua:211
itemContextChangedCallbackIsSet = false
NewItemTexture = {
}
Cooldown = AdiBagsItemButton157Cooldown {
}
bagFamily = 0
itemContextMatchResult = 3
count = 1
BagStaticBottom = {
}
filterName = "Track new items"
ItemContextOverlay = {
}
PostOnShow = defined @interface\FrameXML\ItemButtonTemplate.lua:189
flash = {
}
ExtendedSlot = {
}
ExtendedOverlay2 = {
}
hasItem = false
IconTexture = AdiBagsItemButton157IconTexture {
}
JunkIcon = {
}
SetMatchesSearch = defined @interface\FrameXML\ItemButtonTemplate.lua:202
UpdateItemContextOverlay = defined @interface\FrameXML\ItemButtonTemplate.lua:222
slot = 18
bag = 0
NormalTexture = AdiBagsItemButton157NormalTexture {
}
Stock = AdiBagsItemButton157Stock {
}
IconQuestTexture = AdiBagsItemButton157IconQuestTexture {
}
itemContextChangedCallback = defined @interface\FrameXML\ItemButtonTemplate.lua:170
0 =
Count = AdiBagsItemButton157Count {
}
PostOnHide = defined @interface\FrameXML\ItemButtonTemplate.lua:198
flashAnim = {
}
GetMatchesSearch = defined @interface\FrameXML\ItemButtonTemplate.lua:207
UpgradeIcon = {
}
searchOverlay = AdiBagsItemButton157SearchOverlay {
}
}
(*temporary) = defined @interface\FrameXML\ItemUtil.lua:47
(*temporary) = defined @interface\FrameXML\ObjectAPI\ItemLocation.lua:9
(*temporary) =

{
CreateFromBagAndSlot = defined @interface\FrameXML\ObjectAPI\ItemLocation.lua:9
CreateFromEquipmentSlot = defined @interface\FrameXML\ObjectAPI\ItemLocation.lua:15
CreateEmpty = defined @interface\FrameXML\ObjectAPI\ItemLocation.lua:4
}
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = "attempt to index a nil value"

commented

Setting the configuration option

Items->At merchants, bank, auction house->Keep all stacks together

seems to suppress the errors.