gridview.lua:72: attempt to index local 'oldSection' (a nil value)
AufkleberDraufkleber opened this issue ยท 2 comments
Getting lots and lots of these errors again on v0.0.78. They appear mostly after completing quests and receiving Items as rewards. But they are really hard to reproduce because a /reload makes them disappear for a while. I will keep testing to maybe find something reproduceable.
9x BetterBags/views/gridview.lua:72: attempt to index local 'oldSection' (a nil value)
[string "@BetterBags/views/gridview.lua"]:72: in function `GridView'
[string "@BetterBags/frames/bag.lua"]:194: in function `Draw'
[string "@BetterBags/core/init.lua"]:120: in function `cb'
[string "@BetterBags/core/events.lua"]:41: in function <BetterBags/core/events.lua:36>
[string "=[C]"]: ?
[string "@BetterBags/libs/CallbackHandler-1.0-8/CallbackHandler-1.0.lua"]:19: in function <...ags/libs/CallbackHandler-1.0/CallbackHandler-1.0.lua:15>
[string "@BetterBags/libs/CallbackHandler-1.0-8/CallbackHandler-1.0.lua"]:54: in function `SendMessage'
[string "@BetterBags/core/events.lua"]:94: in function `SendMessage'
[string "@BetterBags/data/items.lua"]:132: in function <BetterBags/data/items.lua:126>
[string "=[C]"]: in function `xpcall'
[string "@FrameXML/ObjectAPI/ContinuableContainer.lua"]:83: in function <..FrameXML/ObjectAPI/ContinuableContainer.lua:75>
[string "=(tail call)"]: ?
[string "@BetterBags/data/items.lua"]:126: in function `ProcessContainer'
[string "@BetterBags/data/items.lua"]:120: in function `RefreshBackpack'
[string "@BetterBags/data/items.lua"]:64: in function `RefreshAll'
[string "@BetterBags/data/items.lua"]:48: in function `cb'
[string "@BetterBags/core/events.lua"]:81: in function <BetterBags/core/events.lua:76>
Locals:
self = <table> {
SetDefaultModuleLibraries = <function> defined @BetterBags/libs/AceAddon-3.0/AceAddon-3.0.lua:363
Enable = <function> defined @BetterBags/libs/AceAddon-3.0/AceAddon-3.0.lua:290
NewModule = <function> defined @BetterBags/libs/AceAddon-3.0/AceAddon-3.0.lua:231
EnableModule = <function> defined @BetterBags/libs/AceAddon-3.0/AceAddon-3.0.lua:328
modules = <table> {
}
GetModule = <function> defined @BetterBags/libs/AceAddon-3.0/AceAddon-3.0.lua:206
IterateEmbeds = <function> defined @BetterBags/libs/AceAddon-3.0/AceAddon-3.0.lua:438
IsModule = <function> defined @BetterBags/libs/AceAddon-3.0/AceAddon-3.0.lua:213
defaultModuleLibraries = <table> {
}
baseName = "BetterBags"
ListView = <function> defined @BetterBags/views/listview.lua:43
SetEnabledState = <function> defined @BetterBags/libs/AceAddon-3.0/AceAddon-3.0.lua:420
UpdateListSize = <function> defined @BetterBags/views/listview.lua:27
enabledState = false
OneBagView = <function> defined @BetterBags/views/oneview.lua:23
SetDefaultModuleState = <function> defined @BetterBags/libs/AceAddon-3.0/AceAddon-3.0.lua:383
moduleName = "Views"
GetName = <function> defined @BetterBags/libs/AceAddon-3.0/AceAddon-3.0.lua:275
defaultModuleState = true
Disable = <function> defined @BetterBags/libs/AceAddon-3.0/AceAddon-3.0.lua:310
IterateModules = <function> defined @BetterBags/libs/AceAddon-3.0/AceAddon-3.0.lua:433
name = "BetterBags_Views"
SetDefaultModulePrototype = <function> defined @BetterBags/libs/AceAddon-3.0/AceAddon-3.0.lua:405
IsEnabled = <function> defined @BetterBags/libs/AceAddon-3.0/AceAddon-3.0.lua:447
orderedModules = <table> {
}
GridView = <function> defined @BetterBags/views/gridview.lua:23
DisableModule = <function> defined @BetterBags/libs/AceAddon-3.0/AceAddon-3.0.lua:346
}
bag = <table> {
menuList = <table> {
}
bottomBar = Frame {
}
sections = <table> {
}
toRelease = <table> {
}
recentItems = <table> {
}
toReleaseSections = <table> {
}
freeBagSlotsButton = <table> {
}
moneyFrame = <table> {
}
isReagentBank = false
drawOnClose = false
frame = BetterBagsBagBackpack {
}
slots = <table> {
}
freeSlots = <table> {
}
currentItemCount = 70
freeReagentBagSlotsButton = <table> {
}
itemsByBagAndSlot = <table> {
}
kind = 0
content = <table> {
}
resizeHandle = Button {
}
}
dirtyItems = <table> {
1 = <table> {
}
2 = <table> {
}
3 = <table> {
}
4 = <table> {
}
5 = <table> {
}
6 = <table> {
}
7 = <table> {
}
8 = <table> {
}
9 = <table> {
}
10 = <table> {
}
11 = <table> {
}
12 = <table> {
}
13 = <table> {
}
14 = <table> {
}
15 = <table> {
}
16 = <table> {
}
17 = <table> {
}
18 = <table> {
}
19 = <table> {
}
20 = <table> {
}
21 = <table> {
}
22 = <table> {
}
23 = <table> {
}
24 = <table> {
}
25 = <table> {
}
26 = <table> {
}
27 = <table> {
}
28 = <table> {
}
29 = <table> {
}
30 = <table> {
}
31 = <table> {
}
32 = <table> {
}
33 = <table> {
}
34 = <table> {
}
35 = <table> {
}
36 = <table> {
}
37 = <table> {
}
38 = <table> {
}
39 = <table> {
}
40 = <table> {
}
41 = <table> {
}
42 = <table> {
}
43 = <table> {
}
44 = <table> {
}
45 = <table> {
}
46 = <table> {
}
47 = <table> {
}
48 = <table> {
}
49 = <table> {
}
50 = <table> {
}
51 = <table> {
}
52 = <table> {
}
53 = <table> {
}
54 = <table> {
}
55 = <table> {
}
56 = <table> {
}
57 = <table> {
}
58 = <table> {
}
59 = <table> {
}
60 = <table> {
}
61 = <table> {
}
62 = <table> {
}
63 = <table> {
}
64 = <table> {
}
65 = <table> {
}
66 = <table> {
}
67 = <table> {
}
68 = <table> {
}
69 = <table> {
}
70 = <table> {
}
71 = <table> {
}
72 = <table> {
}
73 = <table> {
}
74 = <table> {
}
75 = <table> {