{"action":"closed","issue":{"url":"https://api.github.com/repos/FCCWebCrafts/timeCoordinatorApp/issues/44","labels_url":"https://api.github.com/repos/FCCWebCrafts/timeCoordinatorApp/issues/44/labels{/name}","comments_url":"https://api.github.com/repos/FCCWebCrafts/timeCoordinatorApp/issues/44/comments","events_url":"https://api.github.com/repos/FCCWebCrafts/timeCoordinatorApp/issues/44/events","html_url":"https://github.com/FCCWebCrafts/timeCoordinatorApp/issues/44","id":64910442,"number":44,"title":"Mongoose error","user":{"login":"jameskopacz","id":1335422,"avatar_url":"https://avatars.githubusercontent.com/u/1335422?v=3","gravatar_id":"","url":"https://api.github.com/users/jameskopacz","html_url":"https://github.com/jameskopacz","followers_url":"https://api.github.com/users/jameskopacz/followers","following_url":"https://api.github.com/users/jameskopacz/following{/other_user}","gists_url":"https://api.github.com/users/jameskopacz/gists{/gist_id}","starred_url":"https://api.github.com/users/jameskopacz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jameskopacz/subscriptions","organizations_url":"https://api.github.com/users/jameskopacz/orgs","repos_url":"https://api.github.com/users/jameskopacz/repos","events_url":"https://api.github.com/users/jameskopacz/events{/privacy}","received_events_url":"https://api.github.com/users/jameskopacz/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-03-28T06:43:50Z","updated_at":"2015-03-28T09:30:14Z","closed_at":"2015-03-28T09:30:14Z","body":"The error:\r\n```\r\nThe server is listening on port 8080\r\nThe database connection is active.\r\nE:\\www\\public_html\\github\\timeCoordinatorApp\\node_modules\\mongoose\\node_modules\\mongodb\\lib\\mongodb\\connection\\base.js:246\r\n        throw message;\r\n              ^\r\nTypeError: Cannot read property 'length' of undefined\r\n    at processResults (E:\\www\\public_html\\github\\timeCoordinatorApp\\node_modules\\mongoose\\node_modules\\mongodb\\lib\\mongodb\\db.js:1581:31)\r\n    at E:\\www\\public_html\\github\\timeCoordinatorApp\\node_modules\\mongoose\\node_modules\\mongodb\\lib\\mongodb\\db.js:1619:20\r\n    at E:\\www\\public_html\\github\\timeCoordinatorApp\\node_modules\\mongoose\\node_modules\\mongodb\\lib\\mongodb\\db.js:1157:7\r\n    at E:\\www\\public_html\\github\\timeCoordinatorApp\\node_modules\\mongoose\\node_modules\\mongodb\\lib\\mongodb\\db.js:1890:9\r\n    at Server.Base._callHandler (E:\\www\\public_html\\github\\timeCoordinatorApp\\node_modules\\mongoose\\node_modules\\mongodb\\lib\\mongodb\\connection\\base.js:448:41)\r\n    at E:\\www\\public_html\\github\\timeCoordinatorApp\\node_modules\\mongoose\\node_modules\\mongodb\\lib\\mongodb\\connection\\server.js:481:18\r\n    at MongoReply.parseBody (E:\\www\\public_html\\github\\timeCoordinatorApp\\node_modules\\mongoose\\node_modules\\mongodb\\lib\\mongodb\\responses\\mongo_reply.js:68:5)\r\n    at null.<anonymous> (E:\\www\\public_html\\github\\timeCoordinatorApp\\node_modules\\mongoose\\node_modules\\mongodb\\lib\\mongodb\\connection\\server.js:439:20)\r\n    at emit (events.js:107:17)\r\n    at null.<anonymous> (E:\\www\\public_html\\github\\timeCoordinatorApp\\node_modules\\mongoose\\node_modules\\mongodb\\lib\\mongodb\\connection\\connection_pool.js:201:13)\r\n```\r\nUpdating mongoose to 4.0.0 fixes the problem."}}