{"action":"created","issue":{"url":"https://api.github.com/repos/cozy/cozy-vcard/issues/16","labels_url":"https://api.github.com/repos/cozy/cozy-vcard/issues/16/labels{/name}","comments_url":"https://api.github.com/repos/cozy/cozy-vcard/issues/16/comments","events_url":"https://api.github.com/repos/cozy/cozy-vcard/issues/16/events","html_url":"https://github.com/cozy/cozy-vcard/issues/16","id":95358341,"number":16,"title":"Multiple vcards parsing cause an error","user":{"login":"mizrachiran","id":617155,"avatar_url":"https://avatars.githubusercontent.com/u/617155?v=3","gravatar_id":"","url":"https://api.github.com/users/mizrachiran","html_url":"https://github.com/mizrachiran","followers_url":"https://api.github.com/users/mizrachiran/followers","following_url":"https://api.github.com/users/mizrachiran/following{/other_user}","gists_url":"https://api.github.com/users/mizrachiran/gists{/gist_id}","starred_url":"https://api.github.com/users/mizrachiran/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mizrachiran/subscriptions","organizations_url":"https://api.github.com/users/mizrachiran/orgs","repos_url":"https://api.github.com/users/mizrachiran/repos","events_url":"https://api.github.com/users/mizrachiran/events{/privacy}","received_events_url":"https://api.github.com/users/mizrachiran/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/cozy/cozy-vcard/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-07-16T06:02:07Z","updated_at":"2015-07-17T12:21:28Z","closed_at":"2015-07-17T12:21:28Z","body":"Hi there,\r\n\r\nI see the following behavior on my machine and would appreciate your help. I tried to debug it but can't find the exact root cause :\\\r\n\r\nWhen I parse one of the vcards from below the operation succeed. However, when I try to parse both of them, i get the error:\r\n\"Cannot read property type of null\" from node_modules\\cozy-vcard\\lib\\index.js:485:29\r\n\r\nPlease help me solve this issue.\r\nThanks!\r\n\r\nBEGIN:VCARD\r\nVERSION:3.0\r\nPRODID:-//Apple Inc.//iOS 8.4//EN\r\nN:Zohar;Dana;;;\r\nFN:Dana Zohar\r\nTEL;type=CELL;type=VOICE;type=pref:0544333834\r\nitem1.ADR;type=HOME;type=pref:;;;Tel Aviv;Tel Aviv;;Israel\r\nBDAY;value=date:1604-07-30\r\nX-SOCIALPROFILE;type=facebook;x-user=dana.zohar.14;x-userid=1349217247;x-displayname=Dana Zohar:http://www.facebook.com/dana.zohar.14\r\nUID:599\r\nEND:VCARD\r\nBEGIN:VCARD\r\nVERSION:3.0\r\nPRODID:-//Apple Inc.//iOS 8.4//EN\r\nN:;Daniel;Ben Moshe;;\r\nFN:Daniel\r\nitem1.EMAIL;type=INTERNET;type=pref:daniel14bm@gmail.com\r\nitem1.X-ABLabel:בית\r\nitem2.TEL;type=pref:0524657162\r\nitem2.X-ABLabel:בית\r\nUID:2733\r\nEND:VCARD"},"comment":{"url":"https://api.github.com/repos/cozy/cozy-vcard/issues/comments/122259283","html_url":"https://github.com/cozy/cozy-vcard/issues/16#issuecomment-122259283","issue_url":"https://api.github.com/repos/cozy/cozy-vcard/issues/16","id":122259283,"user":{"login":"mizrachiran","id":617155,"avatar_url":"https://avatars.githubusercontent.com/u/617155?v=3","gravatar_id":"","url":"https://api.github.com/users/mizrachiran","html_url":"https://github.com/mizrachiran","followers_url":"https://api.github.com/users/mizrachiran/followers","following_url":"https://api.github.com/users/mizrachiran/following{/other_user}","gists_url":"https://api.github.com/users/mizrachiran/gists{/gist_id}","starred_url":"https://api.github.com/users/mizrachiran/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mizrachiran/subscriptions","organizations_url":"https://api.github.com/users/mizrachiran/orgs","repos_url":"https://api.github.com/users/mizrachiran/repos","events_url":"https://api.github.com/users/mizrachiran/events{/privacy}","received_events_url":"https://api.github.com/users/mizrachiran/received_events","type":"User","site_admin":false},"created_at":"2015-07-17T12:21:28Z","updated_at":"2015-07-17T12:21:28Z","body":"this bug was fixed on v0.2.14."}}