smaitch / Wholly

World of Warcraft addon to present quest information for the user derived from the Grail addon.
23 stars 9 forks source link

attempt to index field 'notificationFrame' (a nil value), line 3356 #6

Closed puggan closed 6 years ago

puggan commented 6 years ago

Date: 2017-09-30 21:46:46 ID: 2 Error occured in: Global Count: 89 Message: ..\AddOns\Wholly\Wholly.lua line 3356: attempt to index field 'notificationFrame' (a nil value) Debug: Wholly\Wholly.lua:3356: update() ..\SharedXML\HybridScrollFrame.lua:190: HybridScrollFrame_SetOffset() ..\SharedXML\HybridScrollFrame.lua:30: ..\SharedXML\HybridScrollFrame.lua:29

..\SharedXML\HybridScrollFrame.lua:67: ..\SharedXML\HybridScrollFrame.lua:57 Locals: self = com_mithrandir_whollyFrameScrollFrame { 0 = buttons =

{ } ScrollChild = com_mithrandir_whollyFrameScrollFrameScrollChild { } scrollUp = com_mithrandir_whollyFrameScrollFrameScrollBarScrollUpButton { } combatScrollUpdate = true range = 945 scrollDown = com_mithrandir_whollyFrameScrollFrameScrollBarScrollDownButton { } offset = 49 scrollBar = com_mithrandir_whollyFrameScrollFrameScrollBar { } buttonHeight = 16 update = defined @Interface\AddOns\Wholly\Wholly.lua:3351 scrollChild = com_mithrandir_whollyFrameScrollFrameScrollChild { } } (temporary) = nil (temporary) = nil (temporary) = nil (temporary) = "attempt to index field 'notificationFrame' (a nil value)" InCombatLockdown = defined =C:-1

smaitch commented 6 years ago

I moved the setting of notificationFrame to before events are registered for it. Will check it in soon.

smaitch commented 6 years ago

You can play around with the version of Wholly now in GitHub to see whether this issue reappears.