WorldBossTimers

WorldBossTimers

2M Downloads

LUA Error - Window Update when cursoring over Mobs/NPCs

Zenjir0 opened this issue ยท 1 comments

commented

Every time I cursor over a Mob/NPC I get an error like the following.
I figured I would report it. Let me know if you need anything else.

52x WorldBossTimers/GUI.lua:390: attempt to index field 'window' (a nil value)
[string "@WorldBossTimers/GUI.lua"]:390: in function `UpdateWindowTitle'
[string "@WorldBossTimers/WorldBossTimers.lua"]:609: in function <WorldBossTimers/WorldBossTimers.lua:607>

Locals:
self = <table> {
 released = true
 CyclicKillInfoRestarted = <function> defined @WorldBossTimers/GUI.lua:222
 Rebuild = <function> defined @WorldBossTimers/GUI.lua:195
 CreateLabelText = <function> defined @WorldBossTimers/GUI.lua:163
 UpdateContent = <function> defined @WorldBossTimers/GUI.lua:233
 UpdateWidth = <function> defined @WorldBossTimers/GUI.lua:147
 Hide = <function> defined @WorldBossTimers/GUI.lua:84
 RemoveLabel = <function> defined @WorldBossTimers/GUI.lua:188
 Restart = <function> defined @WorldBossTimers/GUI.lua:45
 InitPosition = <function> defined @WorldBossTimers/GUI.lua:318
 Show = <function> defined @WorldBossTimers/GUI.lua:75
 UpdatePosition = <function> defined @WorldBossTimers/GUI.lua:302
 NewBasicWindow = <function> defined @WorldBossTimers/GUI.lua:365
 height = 106
 ShouldHide = <function> defined @WorldBossTimers/GUI.lua:65
 SetupAceGUI = <function> defined @WorldBossTimers/GUI.lua:349
 btn_req = <table> {
 }
 Update = <function> defined @WorldBossTimers/GUI.lua:291
 ShouldShow = <function> defined @WorldBossTimers/GUI.lua:53
 SaveGuiPoint = <function> defined @WorldBossTimers/GUI.lua:329
 CreateNewLabel = <function> defined @WorldBossTimers/GUI.lua:119
 KillInfoHasFreshKill = <function> defined @WorldBossTimers/GUI.lua:210
 btn_container = <table> {
 }
 RecordPositioning = <function> defined @WorldBossTimers/GUI.lua:340
 btn_share = <table> {
 }
 btn_opts = <table> {
 }
 visible = false
 Init = <function> defined @WorldBossTimers/GUI.lua:37
 width = 200
 ResetPosition = <function> defined @WorldBossTimers/GUI.lua:344
 New = <function> defined @WorldBossTimers/GUI.lua:403
 LockOrUnlock = <function> defined @WorldBossTimers/GUI.lua:101
 UpdateHeight = <function> defined @WorldBossTimers/GUI.lua:136
 AceGUI = <table> {
 }
 CleanUpWidgetsAndRelease = <function> defined @WorldBossTimers/GUI.lua:353
 CreateLabels = <function> defined @WorldBossTimers/GUI.lua:41
 UpdateWindowTitle = <function> defined @WorldBossTimers/GUI.lua:380
 LabelWidth = <function> defined @WorldBossTimers/GUI.lua:115
 UpdateGUIVisibility = <function> defined @WorldBossTimers/GUI.lua:93
}
prefix = "??? - "
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = "attempt to index field 'window' (a nil value)"
Options = <table> {
 show_gui = <table> {
 }
 highlight = <table> {
 }
 show_boss_zone_only = <table> {
 }
 show_realm = <table> {
 }
 lock = <table> {
 }
 sound = <table> {
 }
 log_level = <table> {
 }
 optionsTable = <table> {
 }
 cyclic = <table> {
 }
 SlashHandler = <function> defined @WorldBossTimers/Options.lua:212
 spawn_alert_sec_before = <table> {
 }
 multi_realm = <table> {
 }
 spawn_alert_sound = <table> {
 }
 Initialize = <function> defined @WorldBossTimers/Options.lua:428
 InitializeOptionsTable = <function> defined @WorldBossTimers/Options.lua:270
 InitializeItems = <function> defined @WorldBossTimers/Options.lua:159
 show_saved = <table> {
 }
 dev_silent = <table> {
 }
}
WBT = <table> {
 AceAddon = <table> {
 }
 defaults = <table> {
 }
 Com = <table> {
 }
 IsInZoneOfBoss = <function> defined @WorldBossTimers/WorldBossTimers.lua:213
 IsBoss = <function> defined @WorldBossTimers/WorldBossTimers.lua:205
 addon_name = "WorldBossTimers"
 GetCurrentShardID = <function> defined @WorldBossTimers/WorldBossTimers.lua:180
 Logger = <table> {
 }
 PlayerIsInBossPerimiter = <function> defined @WorldBossTimers/WorldBossTimers.lua:274
 Functions = <table
commented

Thank you. I managed to reproduce with another execution path that also gave nil access on window. I've pushed a new version (v1.11.1), which should hopefully fix this. Please let me know if that's not the case.