tableflip / guvnor

A node process manager that isn't spanners all the way down
MIT License
430 stars 37 forks source link

Uncaught exception Cannot call method 'toFixed' of undefined #23

Closed alanshaw closed 9 years ago

alanshaw commented 9 years ago
# bs list -v
debug: Loaded config from 0=/etc/boss/bossrc, 1=/usr/local/lib/node_modules/process-boss/bossrc
debug: Will attempt to connect or start daemon
debug: Connecting to daemon on /var/run/boss/user.socket
debug: Connected to daemon on /var/run/boss/user.socket
debug: Timeoutifying remote method startProcess
debug: Timeoutifying remote method listProcesses
debug: Timeoutifying remote method setClusterWorkers
debug: Timeoutifying remote method findProcessInfoById
debug: Timeoutifying remote method findProcessInfoByPid
debug: Timeoutifying remote method findProcessInfoByName
debug: Timeoutifying remote method dumpProcesses
debug: Timeoutifying remote method restoreProcesses
debug: Timeoutifying remote method sendSignal
debug: Exposing remote method without timeout deployApplication
debug: Exposing remote method without timeout removeApplication
debug: Timeoutifying remote method listApplications
debug: Exposing remote method without timeout switchApplicationRef
debug: Timeoutifying remote method listApplicationRefs
debug: Timeoutifying remote method updateApplicationRefs
debug: Exposing server user methods
debug: Connecting to daemon on /var/run/boss/admin.socket
debug: Connected to daemon on /var/run/boss/admin.socket
debug: Timeoutifying remote method kill
debug: Timeoutifying remote method remoteHostConfig
debug: Timeoutifying remote method addRemoteUser
debug: Timeoutifying remote method removeRemoteUser
debug: Timeoutifying remote method listRemoteUsers
debug: Timeoutifying remote method rotateRemoteUserKeys
debug: Timeoutifying remote method generateRemoteRpcCertificates
debug: Exposing server admin methods
error: Uncaught exception Cannot call method 'toFixed' of undefined
error: TypeError: Cannot call method 'toFixed' of undefined
    at null.<anonymous> (/usr/local/lib/node_modules/process-boss/lib/Processes.js:38:62)
    at /usr/local/lib/node_modules/process-boss/lib/Processes.js:45:9
    at Array.forEach (native)
    at null.<anonymous> (/usr/local/lib/node_modules/process-boss/lib/Processes.js:44:17)
    at /usr/local/lib/node_modules/process-boss/node_modules/boss-local/node_modules/timeoutify/lib/timeoutify.js:34:29
    at Proto.apply (/usr/local/lib/node_modules/process-boss/node_modules/boss-local/node_modules/dnode/node_modules/dnode-protocol/index.js:123:13)
    at Proto.handle (/usr/local/lib/node_modules/process-boss/node_modules/boss-local/node_modules/dnode/node_modules/dnode-protocol/index.js:99:19)
    at D.dnode.handle (/usr/local/lib/node_modules/process-boss/node_modules/boss-local/node_modules/dnode/lib/dnode.js:140:21)
    at D.dnode.write (/usr/local/lib/node_modules/process-boss/node_modules/boss-local/node_modules/dnode/lib/dnode.js:106:22)
    at write (_stream_readable.js:602:24)
    at flow (_stream_readable.js:611:7)
    at Socket.pipeOnReadable (_stream_readable.js:643:5)
    at Socket.emit (events.js:92:17)
    at emitReadable_ (_stream_readable.js:427:10)
    at emitReadable (_stream_readable.js:423:5)
    at readableAddChunk (_stream_readable.js:166:9)
    at Socket.Readable.push (_stream_readable.js:128:10)
    at Pipe.onread (net.js:529:21)
    ---- async ----
    at Object.exports.connect.exports.createConnection (net.js:95:35)
    at D.connect (/usr/local/lib/node_modules/process-boss/node_modules/boss-local/node_modules/dnode/index.js:52:22)
    at LocalDaemonConnection._connect (/usr/local/lib/node_modules/process-boss/node_modules/boss-local/lib/LocalDaemonConnection.js:69:16)
    at LocalDaemonConnection.connect (/usr/local/lib/node_modules/process-boss/node_modules/boss-local/lib/LocalDaemonConnection.js:60:15)
    at LocalDaemon._connectOrStartDaemon (/usr/local/lib/node_modules/process-boss/node_modules/boss-local/lib/LocalDaemon.js:85:35)
    at LocalDaemon.connectOrStart (/usr/local/lib/node_modules/process-boss/node_modules/boss-local/lib/LocalDaemon.js:68:10)
    at module.exports.connect (/usr/local/lib/node_modules/process-boss/node_modules/boss-local/index.js:55:35)
    at Actions._do (/usr/local/lib/node_modules/process-boss/lib/Actions.js:39:8)
    at Processes.list (/usr/local/lib/node_modules/process-boss/lib/Processes.js:17:8)
    at Command.listener (/usr/local/lib/node_modules/process-boss/node_modules/commander/index.js:286:8)
    at Command.emit (events.js:98:17)
    at Command.parseArgs (/usr/local/lib/node_modules/process-boss/node_modules/commander/index.js:528:12)
    at Command.parse (/usr/local/lib/node_modules/process-boss/node_modules/commander/index.js:414:21)
    at CLI._setUpCommander (/usr/local/lib/node_modules/process-boss/lib/CLI.js:222:33)
    at null.<anonymous> (/usr/local/lib/node_modules/process-boss/lib/CLI.js:38:10)
    at /usr/local/lib/node_modules/process-boss/node_modules/async/lib/async.js:254:17
    at /usr/local/lib/node_modules/process-boss/node_modules/async/lib/async.js:157:25
    at /usr/local/lib/node_modules/process-boss/node_modules/async/lib/async.js:251:21
    at /usr/local/lib/node_modules/process-boss/node_modules/async/lib/async.js:615:34
    at CLI._checkBossGroup (/usr/local/lib/node_modules/process-boss/lib/CLI.js:286:12)
    at /usr/local/lib/node_modules/process-boss/node_modules/async/lib/async.js:610:21
    at /usr/local/lib/node_modules/process-boss/node_modules/async/lib/async.js:249:17
    at iterate (/usr/local/lib/node_modules/process-boss/node_modules/async/lib/async.js:149:13)
    at /usr/local/lib/node_modules/process-boss/node_modules/async/lib/async.js:160:25
    at /usr/local/lib/node_modules/process-boss/node_modules/async/lib/async.js:251:21
    at /usr/local/lib/node_modules/process-boss/node_modules/async/lib/async.js:615:34
    at CLI._checkBossUser (/usr/local/lib/node_modules/process-boss/lib/CLI.js:232:12)
    at /usr/local/lib/node_modules/process-boss/node_modules/async/lib/async.js:610:21
    at /usr/local/lib/node_modules/process-boss/node_modules/async/lib/async.js:249:17
    at iterate (/usr/local/lib/node_modules/process-boss/node_modules/async/lib/async.js:149:13)
    at async.eachSeries (/usr/local/lib/node_modules/process-boss/node_modules/async/lib/async.js:165:9)
    at _asyncMap (/usr/local/lib/node_modules/process-boss/node_modules/async/lib/async.js:248:13)
    at Object.mapSeries (/usr/local/lib/node_modules/process-boss/node_modules/async/lib/async.js:231:23)
    at Object.async.series (/usr/local/lib/node_modules/process-boss/node_modules/async/lib/async.js:608:19)
    at CLI.afterPropertiesSet (/usr/local/lib/node_modules/process-boss/lib/CLI.js:32:9)
    at process._tickCallback (node.js:442:13)
    at Function.Module.runMain (module.js:499:11)
    at startup (node.js:119:16)
    at node.js:929:3
    ---- async ----
    at Container.create (/usr/local/lib/node_modules/process-boss/node_modules/wantsit/lib/Container.js:116:13)
    at Container.createAndRegister (/usr/local/lib/node_modules/process-boss/node_modules/wantsit/lib/Container.js:88:29)
    at Object.<anonymous> (/usr/local/lib/node_modules/process-boss/index.js:40:11)
    at Module._compile (module.js:456:26)
    at Object.Module._extensions..js (module.js:474:10)
    at Module.load (module.js:356:32)
    at Function.Module._load (module.js:312:12)
    at Module.require (module.js:364:17)
    at require (module.js:380:17)
    at Object.<anonymous> (/usr/local/lib/node_modules/process-boss/bin/bs:3:1)
    at Module._compile (module.js:456:26)
    at Object.Module._extensions..js (module.js:474:10)
    at Module.load (module.js:356:32)
    at Function.Module._load (module.js:312:12)
    at Function.Module.runMain (module.js:497:10)
    at startup (node.js:119:16)
    at node.js:929:3