ESOUI

ESOUI (https://www.esoui.com/forums/index.php)
-   Bug Reports (https://www.esoui.com/forums/forumdisplay.php?f=187)
-   -   [fixed] PlayerProgressBar error (https://www.esoui.com/forums/showthread.php?t=7806)

AssemblerManiac 05/28/18 08:46 AM

[fixed] PlayerProgressBar error
 
I got this after a battle to destroy a mage & a pearl (name escapes me at the moment) in Tor-Hame-Khard.

EsoUI/Ingame/PlayerProgressBar/PlayerProgressBar.lua:807: operator < is not supported for number < nil
stack traceback:
EsoUI/Ingame/PlayerProgressBar/PlayerProgressBar.lua:807: in function 'PlayerProgressBar:AnimateFillIncrease'
EsoUI/Ingame/PlayerProgressBar/PlayerProgressBar.lua:799: in function 'PlayerProgressBar:OnWaitBeforeFillComplete'
EsoUI/Ingame/PlayerProgressBar/PlayerProgressBar.lua:395: in function 'func'
EsoUI/Libraries/Globals/globalapi.lua:195: in function '(anonymous)'

Kyoma 05/28/18 09:21 AM

Chip! Fix ur addon!!

ZOS_ChipHilseberg 05/29/18 08:24 AM

This bug has been known for a year, but we've never had a repro. We keep adding logging to track it down but no luck so far. A repro would be very helpful.

sirinsidiator 05/29/18 11:35 AM

I'm pretty sure it is a timing issue where ClearIncreaseData is called right before AnimateFillIncrease. In general it looks like the progress bar class is very fragile to calls happening in an unexpected order. For example when I call PLAYER_PROGRESS_BAR:Hide() manually before ShowIncrease(), it will throw nil errors.

Maybe just add one of your internalasserts in front of the while loop and change the condition to also check if finalStop is nil, in order to avoid an error from popping up?

ZOS_ChipHilseberg 05/30/18 07:55 AM

Yeah, it's easy to reproduce manually, it's hard to find a case in the actual logic that would cause that though.


All times are GMT -6. The time now is 02:24 AM.

vBulletin © 2024, Jelsoft Enterprises Ltd
© 2014 - 2022 MMOUI