This repository was archived by the owner on Apr 22, 2023. It is now read-only.
Description After updating to 0.10.34 my app keeps throwing this error:
timers.js:432
timeSinceLastActive = now - cur._monotonicStartTime;
^
TypeError: Cannot read property '_monotonicStartTime' of null
at Timer.unrefTimeout [as ontimeout] (timers.js:432:36)
well, I looked into your source code here:
https://github.com/joyent/node/blob/v0.10.34-release/lib/timers.js#L430
and it seems that something is going wrong there, right?
var cur = unrefList . _idlePrev ;
while ( cur != unrefList ) {
timeSinceLastActive = now - cur . _monotonicStartTime ;
if ( timeSinceLastActive < cur . _idleTimeout ) {
Well I think you forgot to make unrefList a Timer object here:
https://github.com/joyent/node/blob/v0.10.34-release/lib/timers.js#L508
it's just a guess based on the fact that _idlePrev is only initialized in the Timer constructor.
Reactions are currently unavailable
After updating to 0.10.34 my app keeps throwing this error:
well, I looked into your source code here:
https://github.com/joyent/node/blob/v0.10.34-release/lib/timers.js#L430
and it seems that something is going wrong there, right?
Well I think you forgot to make
unrefListaTimerobject here:https://github.com/joyent/node/blob/v0.10.34-release/lib/timers.js#L508
it's just a guess based on the fact that
_idlePrevis only initialized in theTimerconstructor.