{"action":"created","issue":{"url":"https://api.github.com/repos/Polymer/polymer/issues/1714","labels_url":"https://api.github.com/repos/Polymer/polymer/issues/1714/labels{/name}","comments_url":"https://api.github.com/repos/Polymer/polymer/issues/1714/comments","events_url":"https://api.github.com/repos/Polymer/polymer/issues/1714/events","html_url":"https://github.com/Polymer/polymer/issues/1714","id":83769480,"number":1714,"title":"Uncaught TypeError When splicing an array into emptiness","user":{"login":"andrepl","id":382747,"avatar_url":"https://avatars.githubusercontent.com/u/382747?v=3","gravatar_id":"","url":"https://api.github.com/users/andrepl","html_url":"https://github.com/andrepl","followers_url":"https://api.github.com/users/andrepl/followers","following_url":"https://api.github.com/users/andrepl/following{/other_user}","gists_url":"https://api.github.com/users/andrepl/gists{/gist_id}","starred_url":"https://api.github.com/users/andrepl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andrepl/subscriptions","organizations_url":"https://api.github.com/users/andrepl/orgs","repos_url":"https://api.github.com/users/andrepl/repos","events_url":"https://api.github.com/users/andrepl/events{/privacy}","received_events_url":"https://api.github.com/users/andrepl/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Polymer/polymer/labels/p1","name":"p1","color":"eb6420"},{"url":"https://api.github.com/repos/Polymer/polymer/labels/pending-response","name":"pending-response","color":"333333"}],"state":"open","locked":false,"assignee":{"login":"kevinpschaaf","id":1354932,"avatar_url":"https://avatars.githubusercontent.com/u/1354932?v=3","gravatar_id":"","url":"https://api.github.com/users/kevinpschaaf","html_url":"https://github.com/kevinpschaaf","followers_url":"https://api.github.com/users/kevinpschaaf/followers","following_url":"https://api.github.com/users/kevinpschaaf/following{/other_user}","gists_url":"https://api.github.com/users/kevinpschaaf/gists{/gist_id}","starred_url":"https://api.github.com/users/kevinpschaaf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kevinpschaaf/subscriptions","organizations_url":"https://api.github.com/users/kevinpschaaf/orgs","repos_url":"https://api.github.com/users/kevinpschaaf/repos","events_url":"https://api.github.com/users/kevinpschaaf/events{/privacy}","received_events_url":"https://api.github.com/users/kevinpschaaf/received_events","type":"User","site_admin":false},"milestone":null,"comments":3,"created_at":"2015-06-02T00:55:42Z","updated_at":"2015-06-04T06:31:35Z","closed_at":null,"body":"This appears to happen when the last element of an array is spliced out using the array manipulation helper 'splice'.\r\n\r\n\r\n    Uncaught TypeError: Cannot read property '0' of null\r\n        Polymer._detachRow @ polymer.html:3425\r\n        (anonymous function) @ polymer.html:3409\r\n        Polymer._applySplicesArraySort @ polymer.html:3407\r\n        Polymer._render @ polymer.html:3278\r\n        Polymer.Templatizer._flushTemplates @ polymer.html:2900\r\n        Polymer.Debounce.Debouncer.complete @ polymer.html:847\r\n        atEndOfMicrotask @ polymer.html:808\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/Polymer/polymer/issues/comments/108749498","html_url":"https://github.com/Polymer/polymer/issues/1714#issuecomment-108749498","issue_url":"https://api.github.com/repos/Polymer/polymer/issues/1714","id":108749498,"user":{"login":"kevinpschaaf","id":1354932,"avatar_url":"https://avatars.githubusercontent.com/u/1354932?v=3","gravatar_id":"","url":"https://api.github.com/users/kevinpschaaf","html_url":"https://github.com/kevinpschaaf","followers_url":"https://api.github.com/users/kevinpschaaf/followers","following_url":"https://api.github.com/users/kevinpschaaf/following{/other_user}","gists_url":"https://api.github.com/users/kevinpschaaf/gists{/gist_id}","starred_url":"https://api.github.com/users/kevinpschaaf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kevinpschaaf/subscriptions","organizations_url":"https://api.github.com/users/kevinpschaaf/orgs","repos_url":"https://api.github.com/users/kevinpschaaf/repos","events_url":"https://api.github.com/users/kevinpschaaf/events{/privacy}","received_events_url":"https://api.github.com/users/kevinpschaaf/received_events","type":"User","site_admin":false},"created_at":"2015-06-04T06:31:35Z","updated_at":"2015-06-04T06:31:35Z","body":"Perfect, thanks for the repro.\r\n\r\nI confirmed this issue will be solved by the fix in https://github.com/Polymer/polymer/pull/1629, which should be merged shortly.\r\n\r\nHere is your jsbin using that branch, for confirmation:\r\nhttp://jsbin.com/tikayu/2/edit"}}