{"action":"created","issue":{"url":"https://api.github.com/repos/igarape/copcast-server/issues/92","repository_url":"https://api.github.com/repos/igarape/copcast-server","labels_url":"https://api.github.com/repos/igarape/copcast-server/issues/92/labels{/name}","comments_url":"https://api.github.com/repos/igarape/copcast-server/issues/92/comments","events_url":"https://api.github.com/repos/igarape/copcast-server/issues/92/events","html_url":"https://github.com/igarape/copcast-server/issues/92","id":164113708,"number":92,"title":"TypeError: Cannot read property 'id' of undefined","user":{"login":"dborkan","id":6494307,"avatar_url":"https://avatars.githubusercontent.com/u/6494307?v=3","gravatar_id":"","url":"https://api.github.com/users/dborkan","html_url":"https://github.com/dborkan","followers_url":"https://api.github.com/users/dborkan/followers","following_url":"https://api.github.com/users/dborkan/following{/other_user}","gists_url":"https://api.github.com/users/dborkan/gists{/gist_id}","starred_url":"https://api.github.com/users/dborkan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dborkan/subscriptions","organizations_url":"https://api.github.com/users/dborkan/orgs","repos_url":"https://api.github.com/users/dborkan/repos","events_url":"https://api.github.com/users/dborkan/events{/privacy}","received_events_url":"https://api.github.com/users/dborkan/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/igarape/copcast-server/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":{"login":"arthurvasconcelos","id":1286768,"avatar_url":"https://avatars.githubusercontent.com/u/1286768?v=3","gravatar_id":"","url":"https://api.github.com/users/arthurvasconcelos","html_url":"https://github.com/arthurvasconcelos","followers_url":"https://api.github.com/users/arthurvasconcelos/followers","following_url":"https://api.github.com/users/arthurvasconcelos/following{/other_user}","gists_url":"https://api.github.com/users/arthurvasconcelos/gists{/gist_id}","starred_url":"https://api.github.com/users/arthurvasconcelos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arthurvasconcelos/subscriptions","organizations_url":"https://api.github.com/users/arthurvasconcelos/orgs","repos_url":"https://api.github.com/users/arthurvasconcelos/repos","events_url":"https://api.github.com/users/arthurvasconcelos/events{/privacy}","received_events_url":"https://api.github.com/users/arthurvasconcelos/received_events","type":"User","site_admin":false},"assignees":[{"login":"arthurvasconcelos","id":1286768,"avatar_url":"https://avatars.githubusercontent.com/u/1286768?v=3","gravatar_id":"","url":"https://api.github.com/users/arthurvasconcelos","html_url":"https://github.com/arthurvasconcelos","followers_url":"https://api.github.com/users/arthurvasconcelos/followers","following_url":"https://api.github.com/users/arthurvasconcelos/following{/other_user}","gists_url":"https://api.github.com/users/arthurvasconcelos/gists{/gist_id}","starred_url":"https://api.github.com/users/arthurvasconcelos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arthurvasconcelos/subscriptions","organizations_url":"https://api.github.com/users/arthurvasconcelos/orgs","repos_url":"https://api.github.com/users/arthurvasconcelos/repos","events_url":"https://api.github.com/users/arthurvasconcelos/events{/privacy}","received_events_url":"https://api.github.com/users/arthurvasconcelos/received_events","type":"User","site_admin":false}],"milestone":null,"comments":2,"created_at":"2016-07-06T16:06:57Z","updated_at":"2016-07-06T18:15:49Z","closed_at":null,"body":"Seeing this error on the copcast-server from today July 6, 2016:\r\n```\r\nTypeError: Cannot read property 'id' of undefined\r\n    at Object.removeAdminByUserId (/copcast/projects/copcast-server/lib/streams/connectionManager.js:30:50)\r\n    at Socket.<anonymous> (/copcast/projects/copcast-server/lib/streams/socketHandler.js:155:15)\r\n    at Socket.emit (events.js:95:17)\r\n    at Socket.emit (/copcast/projects/copcast-server/node_modules/socket.io/lib/socket.js:128:10)\r\n    at Socket.onclose (/copcast/projects/copcast-server/node_modules/socket.io/lib/socket.js:425:8)\r\n    at Client.onclose (/copcast/projects/copcast-server/node_modules/socket.io/lib/client.js:232:24)\r\n    at Socket.emit (events.js:117:20)\r\n    at Socket.onClose (/copcast/projects/copcast-server/node_modules/socket.io/node_modules/engine.io/lib/socket.js:304:10)\r\n    at WebSocket.g (events.js:180:16)\r\n    at WebSocket.emit (events.js:92:17)\r\n    at WebSocket.Transport.onClose (/copcast/projects/copcast-server/node_modules/socket.io/node_modules/engine.io/lib/transport.js:126:8)\r\n    at WebSocket.g (events.js:180:16)\r\n    at WebSocket.emit (events.js:98:17)\r\n    at WebSocket.cleanupWebsocketResources (/copcast/projects/copcast-server/node_modules/socket.io/node_modules/engine.io/node_modules/ws/lib/WebSocket.js:927:10)\r\n    at Socket.emit (events.js:117:20)\r\n    at _stream_readable.js:944:16\r\n```"},"comment":{"url":"https://api.github.com/repos/igarape/copcast-server/issues/comments/230858603","html_url":"https://github.com/igarape/copcast-server/issues/92#issuecomment-230858603","issue_url":"https://api.github.com/repos/igarape/copcast-server/issues/92","id":230858603,"user":{"login":"arthurvasconcelos","id":1286768,"avatar_url":"https://avatars.githubusercontent.com/u/1286768?v=3","gravatar_id":"","url":"https://api.github.com/users/arthurvasconcelos","html_url":"https://github.com/arthurvasconcelos","followers_url":"https://api.github.com/users/arthurvasconcelos/followers","following_url":"https://api.github.com/users/arthurvasconcelos/following{/other_user}","gists_url":"https://api.github.com/users/arthurvasconcelos/gists{/gist_id}","starred_url":"https://api.github.com/users/arthurvasconcelos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arthurvasconcelos/subscriptions","organizations_url":"https://api.github.com/users/arthurvasconcelos/orgs","repos_url":"https://api.github.com/users/arthurvasconcelos/repos","events_url":"https://api.github.com/users/arthurvasconcelos/events{/privacy}","received_events_url":"https://api.github.com/users/arthurvasconcelos/received_events","type":"User","site_admin":false},"created_at":"2016-07-06T18:15:49Z","updated_at":"2016-07-06T18:15:49Z","body":"@dborkan do you have a step by step on how to reproduce?"}}
{"actor":{"display_login":"arthurvasconcelos"}}