View Bug Report
Index over nul value on 0 Quests
Bug #: 1553
File: Ravalox' Quest Tracker
Date: 02/08/16 05:57 AM
By: Visions
Status: Fixed
Hey,

i just installed the update, i think there is a bug. If the Character has 0 Quests i get the message:
EsoUI/Libraries/Utility/ZO_Hook.lua:15: attempt to index a nil value
stack traceback:
EsoUI/Libraries/Utility/ZO_Hook.lua:15: in function 'ZO_PreHook'
user:/AddOns/Ravalox'QuestTracker/core/QuestTracker.lua:475: in function 'QuestTracker:Initialize'
user:/AddOns/Ravalox'QuestTracker/core/QuestTracker.lua:429: in function 'QuestTracker:New'
user:/AddOns/Ravalox'QuestTracker/core/QuestTracker.lua:2088: in function 'OnAddOnLoaded'

Dismissing the error leads to:
user:/AddOns/Ravalox'QuestTracker/core/QuestTracker.lua:197: attempt to index a nil value
stack traceback:
user:/AddOns/Ravalox'QuestTracker/core/QuestTracker.lua:197: in function 'func'
EsoUI/Libraries/Globals/globalapi.lua:185: in function '(anonymous)'

which is persistent.
Looks to me like the addon tries to iterate through an empty array or something.
It does work properly if you have a quest. Dropping from 1 quest to none works until i reload (the error does not come right after i finish the quest).

RSS 2.0 Feed for Bug CommentsNotes Sort Options
By: Ravalox Darkshire - 02/12/16 06:34 PM
This has been fixed in v3.4.2.0, thanks for the report!