kemayo / wow-silverdragon

World of Warcraft addon to find rare mobs
23 stars 11 forks source link

Lua error "Attempted to release inactive object 'nil'" when hovering on map #277

Closed jadinm closed 1 month ago

jadinm commented 1 month ago

Game version: 11.0.0.55824 Addon version: 2024.6.1

To enable lua error display, I did /console scriptErrors 1.

I am getting the following error each time that I do the following thing:

  1. I am hovering over first a rare symbol on my map
  2. Then I hover a non-rare symbol on my map, such as a flight master or the location of a dragonflight race
Message: Attempted to release inactive object 'nil'
Time: Thu Jul 25 21:47:34 2024
Count: 9
Stack: Attempted to release inactive object 'nil'
[string "@Interface/AddOns/Blizzard_SharedXMLBase/Pools.lua"]:79: in function <Interface/AddOns/Blizzard_SharedXMLBase/Pools.lua:68>
[string "=(tail call)"]: ?
[string "@Interface/AddOns/SilverDragon/loot.lua"]:994: in function `Release'
[string "@Interface/AddOns/SilverDragon/loot.lua"]:697: in function <Interface/AddOns/SilverDragon/loot.lua:687>

Locals: self = <table> {
 activeObjects = <table> {
 }
 proxy = <table> {
 }
 activeObjectCount = <table> {
 }
 capacity = Infinite
 inactiveObjects = <table> {
 }
}
object = nil
canFailToFindObject = nil
active = false
class2u commented 1 month ago

I get a similar error but together with Dialogue UI addon. When I close the dialog of a quest NPC which is Dialogue UI's frame, I get this error message. It doesn't happen every time.

Message: Attempted to release inactive object 'table: 000001F339E9CE50' Time: Sat Jul 27 09:23:49 2024 Count: 1 Stack: Attempted to release inactive object 'table: 000001F339E9CE50' [string "@Interface/AddOns/Blizzard_SharedXMLBase/Pools.lua"]:79: in function <Interface/AddOns/Blizzard_SharedXMLBase/Pools.lua:68>

[string "@Interface/AddOns/SilverDragon/targets/queue.lua"]:28: in function `Release' [string "@Interface/AddOns/SilverDragon/targets/popup.lua"]:592: in function <Interface/AddOns/SilverDragon/targets/popup.lua:579>

string "=[C]": in function Hide' [string "@Interface/AddOns/DialogueUI/Code/UI.lua"]:1984: in functionHideUI' [string "@Interface/AddOns/DialogueUI/Code/Core.lua"]:48: in function `OnManualEvent' [string "@Interface/AddOns/DialogueUI/Code/Core.lua"]:155: in function <Interface/AddOns/DialogueUI/Code/Core.lua:147>

Locals: self =

{ activeObjects =
{ } proxy =
{ } activeObjectCount =
{ } capacity = Infinite inactiveObjects =
{ } } object = SilverDragonPopupButton { glow = Texture { } close = SilverDragonPopupButtonCloseButton { } elapsed = 0.157000 animFade = AnimationGroup { } status = FontString { } model = PlayerModel { } shine = Texture { } source = FontString { } waitingToHide = false scripts =
{ } dead = Texture { } look = "SilverDragon" animIn = AnimationGroup { } title = FontString { } background = Texture { } lootIcon = Button { } raidIcon = Texture { } modelbg = Texture { } } canFailToFindObject = nil active = false