{"action":"opened","issue":{"url":"https://api.github.com/repos/reactjs/react-a11y/issues/122","repository_url":"https://api.github.com/repos/reactjs/react-a11y","labels_url":"https://api.github.com/repos/reactjs/react-a11y/issues/122/labels{/name}","comments_url":"https://api.github.com/repos/reactjs/react-a11y/issues/122/comments","events_url":"https://api.github.com/repos/reactjs/react-a11y/issues/122/events","html_url":"https://github.com/reactjs/react-a11y/issues/122","id":171524897,"number":122,"title":"Unhandled Exception (Null result from ReactDOM.findDOMNode)","user":{"login":"CoreyKumpAL","id":18268979,"avatar_url":"https://avatars.githubusercontent.com/u/18268979?v=3","gravatar_id":"","url":"https://api.github.com/users/CoreyKumpAL","html_url":"https://github.com/CoreyKumpAL","followers_url":"https://api.github.com/users/CoreyKumpAL/followers","following_url":"https://api.github.com/users/CoreyKumpAL/following{/other_user}","gists_url":"https://api.github.com/users/CoreyKumpAL/gists{/gist_id}","starred_url":"https://api.github.com/users/CoreyKumpAL/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CoreyKumpAL/subscriptions","organizations_url":"https://api.github.com/users/CoreyKumpAL/orgs","repos_url":"https://api.github.com/users/CoreyKumpAL/repos","events_url":"https://api.github.com/users/CoreyKumpAL/events{/privacy}","received_events_url":"https://api.github.com/users/CoreyKumpAL/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-08-16T21:40:41Z","updated_at":"2016-08-16T21:40:41Z","closed_at":null,"body":"[Line 51 of assertions.js](https://github.com/reactjs/react-a11y/blob/master/lib/assertions.js#L51) is generating an unhandled error when the result from `ReactDOM.findDOMNode(this)` on [line 104](https://github.com/reactjs/react-a11y/blob/master/lib/assertions.js#L104) is `null`. This is the message that I've been seeing in my console (note that line 794 in `react-a11y.js` corresponds to line 51 in this repo's `assertions.js`):\r\n\r\n    react-a11y.js:794 Uncaught TypeError: Cannot read property 'tagName' of null\r\n\r\n\r\n---\r\n\r\nChanging [line 65](https://github.com/reactjs/react-a11y/blob/master/lib/assertions.js#L65) to `if (context.passed || node === null)` bypasses this error entirely.\r\n\r\nAlternatively, adding the following after [line 66](https://github.com/reactjs/react-a11y/blob/master/lib/assertions.js#L66) generates a message indicating that the element is unlabeled.\r\n\r\n      if (node === null) {\r\n        failureCB();\r\n        return;\r\n      }"}}
{"actor":{"display_login":"CoreyKumpAL"}}