Whenever I or someone else breaks my polymorph, my Bugsack grabs this error:
[2008/06/09 18:34:54-152-x1]: Cryolysis2-2.0 Beta\core\events.lua:639: attempt to index local 'bar' (a nil value)
Cryolysis2-2.0 Beta\core\events.lua:86: in function `?'
CallbackHandler-1.0\CallbackHandler-1.0.lua:146: in function <...Ons\Ace3\CallbackHandler-1.0\CallbackHandler-1.0.lua:146>
<string>:"safecall Dispatcher":4: in function <[string "safecall Dispatcher"]:4>
<in C code>: ?
<string>:"safecall Dispatcher":13: in function `?'
CallbackHandler-1.0\CallbackHandler-1.0.lua:91: in function `Fire'
AceEvent-3.0\AceEvent-3.0.lua:70: in function <Interface\AddOns\Ace3\AceEvent-3.0\AceEvent-3.0.lua:69>
It's a fairly simple fix, and I'm not sure why the developer(s) didn't perform this check, but if you'll open up your Cryolysis2\core\events.lua file in a text editor and find these two functions (near the end of the file):
function Cryolysis2:TimerFinished(evt, bar, name)
function Cryolysis2:DebuffTimerFinished(evt, bar, name)
Just after each of these functions, there is a line which says:
Note: If there is a double dash in front of the line "--bar:Fade()", don't perform this fix on that line. Some versions have one of the two occurences commented out, which seems to be a developer attempting to fix the error.
To fix this issue, change this line to:
if bar then bar:Fade() end
The reason the error happens is that when the function is called, it sometimes is issued a nil value for the 'bar' parameter, and the function then attempts to use a function in 'bar' which doesn't exist. This simply adds a check to be sure bar exists before executing the :Fade() function.