BetterBags

BetterBags

2M Downloads

Constant lua errors 'attempt to index local 'data' (a nil value)

tsemoana opened this issue ยท 0 comments

commented

Addon Version

v0.3.21

World of Warcraft Version

Retail

Describe the bug

I don't actually notice anything in game, no error messages or whatnot. But BugSack is very vocally shouting out its fatalities. And every so often I get the message in the chat screen 'There are many errors in your UI. As a result your game experience may be degraded. Disable or update the failing addons if you don't want to see this message again.'

When I disable BetterBags, the errors stop.

1984x BetterBags/frames/itemrow.lua:73: attempt to index local 'data' (a nil value)
Stack:
[C]: in function 'secureexecuterange'
[Blizzard_SharedXML/Shared/Scroll/ScrollBoxListView.lua]:395: in function 'InvokeInitializers'
[Blizzard_SharedXML/Shared/Scroll/ScrollBox.lua]:777: in function 'Update'
[Blizzard_SharedXML/Shared/Scroll/ScrollBox.lua]:168: in function 'FullUpdateInternal'
[Blizzard_SharedXML/Shared/Scroll/ScrollBox.lua]:747: in function 'FullUpdateInternal'
[Blizzard_SharedXML/Shared/Scroll/ScrollBox.lua]:122: in function 'FullUpdate'
[Blizzard_SharedXML/Shared/Scroll/ScrollBox.lua]:714: in function <...ddOns/Blizzard_SharedXML/Shared/Scroll/ScrollBox.lua:713>
[C]: ?
[Blizzard_SharedXMLBase/CallbackRegistry.lua]:144: in function <...eBlizzard_SharedXMLBase/CallbackRegistry.lua:143>
[C]: ?
[Blizzard_SharedXMLBase/CallbackRegistry.lua]:147: in function 'TriggerEvent'
[Blizzard_SharedXML/Shared/Scroll/ScrollBoxListView.lua]:319: in function 'SignalDataChangeEvent'
...[BetterBags/frames/bag.lua]:332: in function 'callback'
[BetterBags/views/gridview.lua]:438: in function 'Render'
[BetterBags/frames/bag.lua]:316: in function 'Draw'
[BetterBags/core/init.lua]:290: in function 'cb'
[BetterBags/core/events.lua]:49: in function <BetterBags/core/events.lua:47>
[C]: ?
[Ace3/CallbackHandler-1.0-8/CallbackHandler-1.0.lua]:19: in function <...Ons/Ace3/CallbackHandler-1.0/CallbackHandler-1.0.lua:15>
[Ace3/CallbackHandler-1.0/CallbackHandler-1.0.lua]:54: in function 'SendMessage'
[BetterBags/core/events.lua]:206: in function 'SendMessage'
[BetterBags/core/events.lua]:224: in function <BetterBags/core/events.lua:223>

Steps to reproduce

There's an error when I open a vendor window (which also opens my bags). There's an error when I right click an item to sell, or I right click a category name to sell an entire category. There's an error when I close the vendor window.

There's an error when I receive a quest reward, just after I click the 'complete' button and the item(s) are deposited in my bags.

There's an error when I loot something. Both from a kills or when I open a treasure box or other container. It occurs as the loot window with the contents opens and the items are deposited in my bags ( I use auto loot).

There's an error when I move an item and shift-drop it in another category, as soon as I release the mouse button to drop it.