{"action":"opened","issue":{"url":"https://api.github.com/repos/sandeepmistry/noble/issues/168","labels_url":"https://api.github.com/repos/sandeepmistry/noble/issues/168/labels{/name}","comments_url":"https://api.github.com/repos/sandeepmistry/noble/issues/168/comments","events_url":"https://api.github.com/repos/sandeepmistry/noble/issues/168/events","html_url":"https://github.com/sandeepmistry/noble/issues/168","id":68991094,"number":168,"title":"TypeError: Cannot read property 'BD8B4C1B-4F8D-4430-A309-AD981645677D' of undefined","user":{"login":"aensidhe","id":3948027,"avatar_url":"https://avatars.githubusercontent.com/u/3948027?v=3","gravatar_id":"","url":"https://api.github.com/users/aensidhe","html_url":"https://github.com/aensidhe","followers_url":"https://api.github.com/users/aensidhe/followers","following_url":"https://api.github.com/users/aensidhe/following{/other_user}","gists_url":"https://api.github.com/users/aensidhe/gists{/gist_id}","starred_url":"https://api.github.com/users/aensidhe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aensidhe/subscriptions","organizations_url":"https://api.github.com/users/aensidhe/orgs","repos_url":"https://api.github.com/users/aensidhe/repos","events_url":"https://api.github.com/users/aensidhe/events{/privacy}","received_events_url":"https://api.github.com/users/aensidhe/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-04-16T19:15:20Z","updated_at":"2015-04-16T19:15:20Z","closed_at":null,"body":"I tried to play with my bracelet, but noble crashed. Debug output below.\r\nSource is [discovery example](https://github.com/sandeepmistry/noble/blob/master/examples/advertisement-discovery.js)\r\n\r\n````\r\nForest:dami aensidhe$ DEBUG=* node discovery.js\r\n  yosemite-bindings sendCBMsg: 1, {\r\n  \"kCBMsgArgName\": \"node-1429211348937\",\r\n  \"kCBMsgArgOptions\": {\r\n    \"kCBInitOptionShowPowerAlert\": 0\r\n  },\r\n  \"kCBMsgArgType\": 0\r\n} +0ms\r\n  yosemite-bindings xpcEvent: {\r\n  \"kCBMsgId\": 6,\r\n  \"kCBMsgArgs\": {\r\n    \"kCBMsgArgState\": 5\r\n  }\r\n} +8ms\r\n  yosemite-bindings state change poweredOn +1ms\r\n  noble stateChange poweredOn +0ms\r\n  yosemite-bindings sendCBMsg: 29, {\r\n  \"kCBMsgArgOptions\": {},\r\n  \"kCBMsgArgUUIDs\": []\r\n} +1ms\r\n  noble scanStart +1ms\r\n  yosemite-bindings xpcEvent: {\r\n  \"kCBMsgId\": 37,\r\n  \"kCBMsgArgs\": {\r\n    \"kCBMsgArgAdvertisementData\": {\r\n      \"kCBAdvDataIsConnectable\": 1,\r\n      \"kCBAdvDataServiceUUIDs\": [\r\n        {\r\n          \"type\": \"Buffer\",\r\n          \"data\": [\r\n            255,\r\n            240\r\n          ]\r\n        }\r\n      ]\r\n    },\r\n    \"kCBMsgArgRssi\": -85,\r\n    \"kCBMsgArgDeviceUUID\": {\r\n      \"type\": \"Buffer\",\r\n      \"data\": [\r\n        189,\r\n        139,\r\n        76,\r\n        27,\r\n        79,\r\n        141,\r\n        68,\r\n        48,\r\n        163,\r\n        9,\r\n        173,\r\n        152,\r\n        22,\r\n        69,\r\n        103,\r\n        125\r\n      ]\r\n    },\r\n    \"kCBMsgArgName\": \"BTL01001\"\r\n  }\r\n} +32s\r\n  yosemite-bindings peripheral bd8b4c1b4f8d4430a309ad981645677d discovered +0ms\r\n/Users/aensidhe/Sources/2015/dami/node_modules/noble/lib/mac/uuid-to-address.js:17\r\n    var coreBluetoothCacheEntry = obj[0].CoreBluetoothCache[formattedUuid];\r\n                                                           ^\r\nTypeError: Cannot read property 'BD8B4C1B-4F8D-4430-A309-AD981645677D' of undefined\r\n    at /Users/aensidhe/Sources/2015/dami/node_modules/noble/lib/mac/uuid-to-address.js:17:60\r\n    at tryParseBuffer (/Users/aensidhe/Sources/2015/dami/node_modules/noble/node_modules/bplist-parser/bplistParser.js:25:5)\r\n    at /Users/aensidhe/Sources/2015/dami/node_modules/noble/node_modules/bplist-parser/bplistParser.js:33:7\r\n    at fs.js:334:14\r\n    at FSReqWrap.oncomplete (fs.js:95:15)\r\n````"}}