{"action":"opened","issue":{"url":"https://api.github.com/repos/strongloop/strong-pm/issues/207","labels_url":"https://api.github.com/repos/strongloop/strong-pm/issues/207/labels{/name}","comments_url":"https://api.github.com/repos/strongloop/strong-pm/issues/207/comments","events_url":"https://api.github.com/repos/strongloop/strong-pm/issues/207/events","html_url":"https://github.com/strongloop/strong-pm/issues/207","id":77527682,"number":207,"title":"`slc ctl log-dump` crashes pm","user":{"login":"piscisaureus","id":218257,"avatar_url":"https://avatars.githubusercontent.com/u/218257?v=3","gravatar_id":"","url":"https://api.github.com/users/piscisaureus","html_url":"https://github.com/piscisaureus","followers_url":"https://api.github.com/users/piscisaureus/followers","following_url":"https://api.github.com/users/piscisaureus/following{/other_user}","gists_url":"https://api.github.com/users/piscisaureus/gists{/gist_id}","starred_url":"https://api.github.com/users/piscisaureus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/piscisaureus/subscriptions","organizations_url":"https://api.github.com/users/piscisaureus/orgs","repos_url":"https://api.github.com/users/piscisaureus/repos","events_url":"https://api.github.com/users/piscisaureus/events{/privacy}","received_events_url":"https://api.github.com/users/piscisaureus/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-05-18T06:46:31Z","updated_at":"2015-05-18T06:46:31Z","closed_at":null,"body":"Sometimes, hit or miss. Trace:\r\n\r\n```\r\nTypeError: Cannot read property 'child' of null\r\n  at Driver.dumpInstanceLog (/home/bert/x/node_modules/strong-pm/lib/drivers/direct/index.js:117:46)\r\n  at Server.dumpInstanceLog (/home/bert/x/node_modules/strong-pm/lib/server.js:186:23)\r\n  at logDump (/home/bert/x/node_modules/strong-pm/lib/ctl.js:142:20)\r\n  at onCtlRequest (/home/bert/x/node_modules/strong-pm/lib/ctl.js:52:13)\r\n  at ServiceManager.prototype.onApiRequest (/home/bert/x/node_modules/strong-pm/lib/service-manager.js:201:16)\r\n  at ServiceManager.prototype.onCtlRequest (/home/bert/x/node_modules/strong-pm/lib/service-manager.js:195:8)\r\n  at processAction (/home/bert/x/node_modules/strong-pm/node_modules/strong-mesh-models/server/models/instance-action.js:37:43)\r\n  at /home/bert/x/node_modules/strong-pm/node_modules/strong-mesh-models/server/models/instance-action.js:22:11\r\n  at /home/bert/x/node_modules/strong-pm/node_modules/strong-mesh-models/node_modules/loopback-datasource-juggler/lib/relation-definition.js:1418:11\r\n  at /home/bert/x/node_modules/strong-pm/node_modules/strong-mesh-models/node_modules/loopback-datasource-juggler/lib/dao.js:1352:5\r\n  at allCb (/home/bert/x/node_modules/strong-pm/node_modules/strong-mesh-models/node_modules/loopback-datasource-juggler/lib/dao.js:1291:7)\r\n  at /home/bert/x/node_modules/strong-pm/node_modules/strong-mesh-models/node_modules/loopback-datasource-juggler/lib/connectors/memory.js:371:7\r\n  at /home/bert/x/node_modules/strong-pm/node_modules/strong-mesh-models/node_modules/loopback/node_modules/continuation-local-storage/node_modules/async-listener/glue.js:188:31\r\n  at /home/bert/x/node_modules/strong-pm/node_modules/strong-mesh-models/node_modules/loopback/node_modules/continuation-local-storage/node_modules/async-listener/glue.js:188:31\r\n  at process._tickDomainCallback (node.js:492:13)\r\n  at process.<anonymous> (/home/bert/x/node_modules/strong-pm/node_modules/strong-mesh-models/node_modules/loopback/node_modules/continuation-local-storage/node_modules/async-listener/index.js:18:15)\r\n```"}}