Reckless Abandon

Reckless Abandon

41.3k Downloads

[Bug Report] attempt to index field 'campaignQuests' (a nil value)

griddark opened this issue ยท 5 comments

commented

Getting errors on /reload

4x RecklessAbandon/Core/Core.lua:257: attempt to index field 'campaignQuests' (a nil value)
[string "@RecklessAbandon/Core/Core.lua"]:257: in function <RecklessAbandon/Core/Core.lua:251>
[string "=[C]"]: ?
[string "=[C]"]: ?
[string "=[C]"]: in function `SetCVar'
[string "@Details/Libs/LibOpenRaid/LibOpenRaid.lua"]:239: in function `SaveCacheOnCVar'
[string "@Details/Libs/LibOpenRaid/LibOpenRaid.lua"]:339: in function `SaveData'
[string "@Details/Libs/LibOpenRaid/LibOpenRaid.lua"]:895: in function `eventCallbackFunc'
[string "@Details/Libs/LibOpenRaid/LibOpenRaid.lua"]:904: in function <...faceDetails/Libs/LibOpenRaid/LibOpenRaid.lua:902>

Locals:
(*temporary) = nil
(*temporary) = <table> {
 frameType = "Button"
 ReleaseAll = <function> defined @SharedXML/Pools.lua:74
 activeObjects = <table> {
 }
 GetNextInactive = <function> defined @SharedXML/Pools.lua:92
 creationFunc = <function> defined @SharedXML/Pools.lua:116
 EnumerateActive = <function> defined @SharedXML/Pools.lua:84
 SetResetDisallowedIfNew = <function> defined @SharedXML/Pools.lua:80
 GetTemplate = <function> defined @SharedXML/Pools.lua:153
 OnLoad = <function> defined @SharedXML/Pools.lua:124
 frameTemplate = "RECKLESS_GROUP_ABANDON_BUTTON"
 IsActive = <function> defined @SharedXML/Pools.lua:96
 GetNumActive = <function> defined @SharedXML/Pools.lua:100
 resetterFunc = <function> defined @SharedXML/Pools.lua:161
 parent = QuestScrollFrame {
 }
 numActiveObjects = 0
 inactiveObjects = <table> {
 }
 Release = <function> defined @SharedXML/Pools.lua:59
 Acquire = <function> defined @SharedXML/Pools.lua:40
 GetNextActive = <function> defined @SharedXML/Pools.lua:88
 EnumerateInactive = <function> defined @SharedXML/Pools.lua:104
}
(*temporary) = <function> defined =[C]:-1
(*temporary) = <table> {
}
(*temporary) = Button {
 0 = <userdata>
 tooltip = "|cFFFFFAB8The Dragonscale Expedition|r

|cFFFFF569Left Click: Abandon all quests|r"
 title = "The Dragonscale Expedition"
 key = "thedragonscaleexpedition"
}
(*temporary) = nil
(*temporary) = <table> {
}
(*temporary) = nil
(*temporary) = Button {
 0 = <userdata>
 tooltip = "|cFFFFFAB8The Dragonscale Expedition|r

|cFFFFF569Left Click: Abandon all quests|r"
 title = "The Dragonscale Expedition"
 key = "thedragonscaleexpedition"
}
(*temporary) = true
(*temporary) = <table> {
 frameType = "Button"
 ReleaseAll = <function> defined @SharedXML/Pools.lua:74
 activeObjects = <table> {
 }
 GetNextInactive = <function> defined @SharedXML/Pools.lua:92
 creationFunc = <function> defined @SharedXML/Pools.lua:116
 EnumerateActive = <function> defined @SharedXML/Pools.lua:84
 SetResetDisallowedIfNew = <function> defined @SharedXML/Pools.lua:80
 GetTemplate = <function> defined @SharedXML/Pools.lua:153
 OnLoad = <function> defined @SharedXML/Pools.lua:124
 frameTemplate = "RECKLESS_GROUP_ABANDON_BUTTON"
 IsActive = <function> defined @SharedXML/Pools.lua:96
 GetNumActive = <function> defined @SharedXML/Pools.lua:100
 resetterFunc = <function> defined @SharedXML/Pools.lua:161
 parent = QuestScrollFrame {
 }
 numActiveObjects = 0
 inactiveObjects = <table> {
 }
 Release = <function> defined @SharedXML/Pools.lua:59
 Acquire = <function> defined @SharedXML/Pools.lua:40
 GetNextActive = <function> defined @SharedXML/Pools.lua:88
 EnumerateInactive = <function> defined @SharedXML/Pools.lua:104
}
(*temporary) = Button {
 0 = <userdata>
 tooltip = "|cFFFFFAB8The Dragonscale Expedition|r

|cFFFFF569Left Click: Abandon all quests|r"
 title = "The Dragonscale Expedition"
 key = "thedragonscaleexpedition"
}
(*temporary) = <function> defined =[C]:-1
(*temporary) = "attempt to index field 'campaignQuests' (a nil value)"
questButtonPool = <table> {
 frameType = "Button"
 ReleaseAll = <function> defined @SharedXML/Pools.lua:74
 activeObjects = <table> {
 }
 GetNextInactive = <function> defined @SharedXML/Pools.lua:92
 creationFunc = <function> defined @SharedXML/Pools.lua:116
 EnumerateActive = <function> defined @SharedXML/Pools.lua:84
 SetResetDisallowedIfNew = <function> defined @SharedXML/Pools.lua:80
 GetTemplate = <function> defined @SharedXML/Pools.lua:153
 OnLoad = <function> defined @SharedXML/Pools.lua:124
 frameTemplate = "RECKLESS_ABANDON_BUTTON"
 IsActive = <function> defined @SharedXML/Pools.lua:96
 GetNumActive = <function> defined @SharedXML/Pools.lua:100
 resetterFunc = <function> defined @SharedXML
commented

Will take a look at this, thanks for the report!

commented

Are you running Reckless Abandon v1.6.4?

commented

I was, but I deleted the savedvariable and reinstalled the addon and it's fixed.
So I'm not sure what was causing it, but it was on my end :)

commented

I was, but I deleted the savedvariable and reinstalled the addon and it's fixed. So I'm not sure what was causing it, but it was on my end :)

Awesome glad to hear its working! Thanks again!

commented

This has been reported again https://legacy.curseforge.com/wow/addons/reckless-abandon?comment=27

Will take another look to see how this is manifesting. As of yet I have been unable to reproduce it