{"action":"created","issue":{"url":"https://api.github.com/repos/sandeepmistry/noble/issues/191","labels_url":"https://api.github.com/repos/sandeepmistry/noble/issues/191/labels{/name}","comments_url":"https://api.github.com/repos/sandeepmistry/noble/issues/191/comments","events_url":"https://api.github.com/repos/sandeepmistry/noble/issues/191/events","html_url":"https://github.com/sandeepmistry/noble/issues/191","id":83975304,"number":191,"title":"l2cap-ble unhandled exceptions ","user":{"login":"rosek86","id":10393406,"avatar_url":"https://avatars.githubusercontent.com/u/10393406?v=3","gravatar_id":"","url":"https://api.github.com/users/rosek86","html_url":"https://github.com/rosek86","followers_url":"https://api.github.com/users/rosek86/followers","following_url":"https://api.github.com/users/rosek86/following{/other_user}","gists_url":"https://api.github.com/users/rosek86/gists{/gist_id}","starred_url":"https://api.github.com/users/rosek86/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rosek86/subscriptions","organizations_url":"https://api.github.com/users/rosek86/orgs","repos_url":"https://api.github.com/users/rosek86/repos","events_url":"https://api.github.com/users/rosek86/events{/privacy}","received_events_url":"https://api.github.com/users/rosek86/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/sandeepmistry/noble/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-06-02T11:18:14Z","updated_at":"2015-06-03T07:14:55Z","closed_at":null,"body":"Hi, occasionally I receve these two unhandled exceptions from noble:\r\n\r\nfatal: uncaughtException: TypeError: Cannot read property 'stdin' of undefined\r\nat L2capBle._queueCommand (/usr/jrd/app/node_modules/noble/lib/linux/l2cap-ble.js:232:21)\r\nat L2capBle.exchangeMtu (/usr/jrd/app/node_modules/noble/lib/linux/l2cap-ble.js:327:8)\r\nat nobleBindings.onConnect (/usr/jrd/app/node_modules/noble/lib/linux/bindings.js:114:29)\r\nat EventEmitter.emit (events.js:98:17)\r\nat L2capBle.onStdoutData (/usr/jrd/app/node_modules/noble/lib/linux/l2cap-ble.js:98:12)\r\nat Socket.EventEmitter.emit (events.js:95:17)\r\nat Socket.<anonymous> (_stream_readable.js:745:14)\r\nat Socket.EventEmitter.emit (events.js:92:17)\r\nat emitReadable_ (_stream_readable.js:407:10)\r\nat emitReadable (_stream_readable.js:403:5)\r\n\r\n76:be:f2:d8:22:81: stderr: Could not create connection: Connection timed out\r\n2015-06-02T08:55:42.887Z - fatal: uncaughtException: TypeError: Cannot call method 'kill' of undefined\r\nat L2capBle.kill (/usr/jrd/app/node_modules/noble/lib/linux/l2cap-ble.js:73:18)\r\nat nobleBindings.onDisconnect (/usr/jrd/app/node_modules/noble/lib/linux/bindings.js:142:27)\r\nat EventEmitter.emit (events.js:95:17)\r\nat L2capBle.onStdoutData (/usr/jrd/app/node_modules/noble/lib/linux/l2cap-ble.js:100:12)\r\nat Socket.EventEmitter.emit (events.js:95:17)\r\nat Socket.<anonymous> (_stream_readable.js:745:14)\r\nat Socket.EventEmitter.emit (events.js:92:17)\r\nat emitReadable_ (_stream_readable.js:407:10)\r\nat emitReadable (_stream_readable.js:403:5)\r\nat readableAddChunk (_stream_readable.js:165:9)\r\nat Socket.Readable.push (_stream_readable.js:127:10)"},"comment":{"url":"https://api.github.com/repos/sandeepmistry/noble/issues/comments/108224199","html_url":"https://github.com/sandeepmistry/noble/issues/191#issuecomment-108224199","issue_url":"https://api.github.com/repos/sandeepmistry/noble/issues/191","id":108224199,"user":{"login":"rosek86","id":10393406,"avatar_url":"https://avatars.githubusercontent.com/u/10393406?v=3","gravatar_id":"","url":"https://api.github.com/users/rosek86","html_url":"https://github.com/rosek86","followers_url":"https://api.github.com/users/rosek86/followers","following_url":"https://api.github.com/users/rosek86/following{/other_user}","gists_url":"https://api.github.com/users/rosek86/gists{/gist_id}","starred_url":"https://api.github.com/users/rosek86/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rosek86/subscriptions","organizations_url":"https://api.github.com/users/rosek86/orgs","repos_url":"https://api.github.com/users/rosek86/repos","events_url":"https://api.github.com/users/rosek86/events{/privacy}","received_events_url":"https://api.github.com/users/rosek86/received_events","type":"User","site_admin":false},"created_at":"2015-06-03T07:14:55Z","updated_at":"2015-06-03T07:14:55Z","body":"@sandeepmistry We have a few property devices all based on nRF51822, usually noble connects to these devices without any problem but very occasionally our application crashes due to these exceptions."}}