{"action":"closed","number":40,"pull_request":{"url":"https://api.github.com/repos/facebook/fixed-data-table/pulls/40","id":29233425,"html_url":"https://github.com/facebook/fixed-data-table/pull/40","diff_url":"https://github.com/facebook/fixed-data-table/pull/40.diff","patch_url":"https://github.com/facebook/fixed-data-table/pull/40.patch","issue_url":"https://api.github.com/repos/facebook/fixed-data-table/issues/40","number":40,"state":"closed","locked":false,"title":"bug: NPE when passing null child into fixed-data-table","user":{"login":"jusio","id":704451,"avatar_url":"https://avatars.githubusercontent.com/u/704451?v=3","gravatar_id":"","url":"https://api.github.com/users/jusio","html_url":"https://github.com/jusio","followers_url":"https://api.github.com/users/jusio/followers","following_url":"https://api.github.com/users/jusio/following{/other_user}","gists_url":"https://api.github.com/users/jusio/gists{/gist_id}","starred_url":"https://api.github.com/users/jusio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jusio/subscriptions","organizations_url":"https://api.github.com/users/jusio/orgs","repos_url":"https://api.github.com/users/jusio/repos","events_url":"https://api.github.com/users/jusio/events{/privacy}","received_events_url":"https://api.github.com/users/jusio/received_events","type":"User","site_admin":false},"body":"Use case: sometimes it is needed to dynamically disable some columns, like this:\r\n```\r\n<Table >\r\n   <Column label=\"Primary\" />\r\n  { showOptional ? <Column label=\"Optional\" /> : null }\r\n</Table>\r\n```\r\nBut currently there is an NPE when trying to pass null column into fixed-data-table.","created_at":"2015-02-13T01:31:35Z","updated_at":"2015-02-19T01:18:34Z","closed_at":"2015-02-19T01:18:34Z","merged_at":"2015-02-19T01:18:34Z","merge_commit_sha":"505636f264ce4d592bd5805957d57a946ed42905","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/facebook/fixed-data-table/pulls/40/commits","review_comments_url":"https://api.github.com/repos/facebook/fixed-data-table/pulls/40/comments","review_comment_url":"https://api.github.com/repos/facebook/fixed-data-table/pulls/comments/{number}","comments_url":"https://api.github.com/repos/facebook/fixed-data-table/issues/40/comments","statuses_url":"https://api.github.com/repos/facebook/fixed-data-table/statuses/a131e6acd818b73a07aaa8f8fc63615b7cb28c41","head":{"label":"jusio:master","ref":"master","sha":"a131e6acd818b73a07aaa8f8fc63615b7cb28c41","user":{"login":"jusio","id":704451,"avatar_url":"https://avatars.githubusercontent.com/u/704451?v=3","gravatar_id":"","url":"https://api.github.com/users/jusio","html_url":"https://github.com/jusio","followers_url":"https://api.github.com/users/jusio/followers","following_url":"https://api.github.com/users/jusio/following{/other_user}","gists_url":"https://api.github.com/users/jusio/gists{/gist_id}","starred_url":"https://api.github.com/users/jusio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jusio/subscriptions","organizations_url":"https://api.github.com/users/jusio/orgs","repos_url":"https://api.github.com/users/jusio/repos","events_url":"https://api.github.com/users/jusio/events{/privacy}","received_events_url":"https://api.github.com/users/jusio/received_events","type":"User","site_admin":false},"repo":{"id":30733962,"name":"fixed-data-table","full_name":"jusio/fixed-data-table","owner":{"login":"jusio","id":704451,"avatar_url":"https://avatars.githubusercontent.com/u/704451?v=3","gravatar_id":"","url":"https://api.github.com/users/jusio","html_url":"https://github.com/jusio","followers_url":"https://api.github.com/users/jusio/followers","following_url":"https://api.github.com/users/jusio/following{/other_user}","gists_url":"https://api.github.com/users/jusio/gists{/gist_id}","starred_url":"https://api.github.com/users/jusio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jusio/subscriptions","organizations_url":"https://api.github.com/users/jusio/orgs","repos_url":"https://api.github.com/users/jusio/repos","events_url":"https://api.github.com/users/jusio/events{/privacy}","received_events_url":"https://api.github.com/users/jusio/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jusio/fixed-data-table","description":"A React table component designed to allow presenting thousands of rows of data.","fork":true,"url":"https://api.github.com/repos/jusio/fixed-data-table","forks_url":"https://api.github.com/repos/jusio/fixed-data-table/forks","keys_url":"https://api.github.com/repos/jusio/fixed-data-table/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jusio/fixed-data-table/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jusio/fixed-data-table/teams","hooks_url":"https://api.github.com/repos/jusio/fixed-data-table/hooks","issue_events_url":"https://api.github.com/repos/jusio/fixed-data-table/issues/events{/number}","events_url":"https://api.github.com/repos/jusio/fixed-data-table/events","assignees_url":"https://api.github.com/repos/jusio/fixed-data-table/assignees{/user}","branches_url":"https://api.github.com/repos/jusio/fixed-data-table/branches{/branch}","tags_url":"https://api.github.com/repos/jusio/fixed-data-table/tags","blobs_url":"https://api.github.com/repos/jusio/fixed-data-table/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jusio/fixed-data-table/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jusio/fixed-data-table/git/refs{/sha}","trees_url":"https://api.github.com/repos/jusio/fixed-data-table/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jusio/fixed-data-table/statuses/{sha}","languages_url":"https://api.github.com/repos/jusio/fixed-data-table/languages","stargazers_url":"https://api.github.com/repos/jusio/fixed-data-table/stargazers","contributors_url":"https://api.github.com/repos/jusio/fixed-data-table/contributors","subscribers_url":"https://api.github.com/repos/jusio/fixed-data-table/subscribers","subscription_url":"https://api.github.com/repos/jusio/fixed-data-table/subscription","commits_url":"https://api.github.com/repos/jusio/fixed-data-table/commits{/sha}","git_commits_url":"https://api.github.com/repos/jusio/fixed-data-table/git/commits{/sha}","comments_url":"https://api.github.com/repos/jusio/fixed-data-table/comments{/number}","issue_comment_url":"https://api.github.com/repos/jusio/fixed-data-table/issues/comments/{number}","contents_url":"https://api.github.com/repos/jusio/fixed-data-table/contents/{+path}","compare_url":"https://api.github.com/repos/jusio/fixed-data-table/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jusio/fixed-data-table/merges","archive_url":"https://api.github.com/repos/jusio/fixed-data-table/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jusio/fixed-data-table/downloads","issues_url":"https://api.github.com/repos/jusio/fixed-data-table/issues{/number}","pulls_url":"https://api.github.com/repos/jusio/fixed-data-table/pulls{/number}","milestones_url":"https://api.github.com/repos/jusio/fixed-data-table/milestones{/number}","notifications_url":"https://api.github.com/repos/jusio/fixed-data-table/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jusio/fixed-data-table/labels{/name}","releases_url":"https://api.github.com/repos/jusio/fixed-data-table/releases{/id}","created_at":"2015-02-13T01:08:42Z","updated_at":"2015-02-19T00:35:33Z","pushed_at":"2015-02-19T00:35:32Z","git_url":"git://github.com/jusio/fixed-data-table.git","ssh_url":"git@github.com:jusio/fixed-data-table.git","clone_url":"https://github.com/jusio/fixed-data-table.git","svn_url":"https://github.com/jusio/fixed-data-table","homepage":"http://facebook.github.io/fixed-data-table/","size":7960,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"facebook:master","ref":"master","sha":"28ae8acadd825090cb7ef13c974cc25bafe83197","user":{"login":"facebook","id":69631,"avatar_url":"https://avatars.githubusercontent.com/u/69631?v=3","gravatar_id":"","url":"https://api.github.com/users/facebook","html_url":"https://github.com/facebook","followers_url":"https://api.github.com/users/facebook/followers","following_url":"https://api.github.com/users/facebook/following{/other_user}","gists_url":"https://api.github.com/users/facebook/gists{/gist_id}","starred_url":"https://api.github.com/users/facebook/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/facebook/subscriptions","organizations_url":"https://api.github.com/users/facebook/orgs","repos_url":"https://api.github.com/users/facebook/repos","events_url":"https://api.github.com/users/facebook/events{/privacy}","received_events_url":"https://api.github.com/users/facebook/received_events","type":"Organization","site_admin":false},"repo":{"id":29950228,"name":"fixed-data-table","full_name":"facebook/fixed-data-table","owner":{"login":"facebook","id":69631,"avatar_url":"https://avatars.githubusercontent.com/u/69631?v=3","gravatar_id":"","url":"https://api.github.com/users/facebook","html_url":"https://github.com/facebook","followers_url":"https://api.github.com/users/facebook/followers","following_url":"https://api.github.com/users/facebook/following{/other_user}","gists_url":"https://api.github.com/users/facebook/gists{/gist_id}","starred_url":"https://api.github.com/users/facebook/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/facebook/subscriptions","organizations_url":"https://api.github.com/users/facebook/orgs","repos_url":"https://api.github.com/users/facebook/repos","events_url":"https://api.github.com/users/facebook/events{/privacy}","received_events_url":"https://api.github.com/users/facebook/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/facebook/fixed-data-table","description":"A React table component designed to allow presenting thousands of rows of data.","fork":false,"url":"https://api.github.com/repos/facebook/fixed-data-table","forks_url":"https://api.github.com/repos/facebook/fixed-data-table/forks","keys_url":"https://api.github.com/repos/facebook/fixed-data-table/keys{/key_id}","collaborators_url":"https://api.github.com/repos/facebook/fixed-data-table/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/facebook/fixed-data-table/teams","hooks_url":"https://api.github.com/repos/facebook/fixed-data-table/hooks","issue_events_url":"https://api.github.com/repos/facebook/fixed-data-table/issues/events{/number}","events_url":"https://api.github.com/repos/facebook/fixed-data-table/events","assignees_url":"https://api.github.com/repos/facebook/fixed-data-table/assignees{/user}","branches_url":"https://api.github.com/repos/facebook/fixed-data-table/branches{/branch}","tags_url":"https://api.github.com/repos/facebook/fixed-data-table/tags","blobs_url":"https://api.github.com/repos/facebook/fixed-data-table/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/facebook/fixed-data-table/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/facebook/fixed-data-table/git/refs{/sha}","trees_url":"https://api.github.com/repos/facebook/fixed-data-table/git/trees{/sha}","statuses_url":"https://api.github.com/repos/facebook/fixed-data-table/statuses/{sha}","languages_url":"https://api.github.com/repos/facebook/fixed-data-table/languages","stargazers_url":"https://api.github.com/repos/facebook/fixed-data-table/stargazers","contributors_url":"https://api.github.com/repos/facebook/fixed-data-table/contributors","subscribers_url":"https://api.github.com/repos/facebook/fixed-data-table/subscribers","subscription_url":"https://api.github.com/repos/facebook/fixed-data-table/subscription","commits_url":"https://api.github.com/repos/facebook/fixed-data-table/commits{/sha}","git_commits_url":"https://api.github.com/repos/facebook/fixed-data-table/git/commits{/sha}","comments_url":"https://api.github.com/repos/facebook/fixed-data-table/comments{/number}","issue_comment_url":"https://api.github.com/repos/facebook/fixed-data-table/issues/comments/{number}","contents_url":"https://api.github.com/repos/facebook/fixed-data-table/contents/{+path}","compare_url":"https://api.github.com/repos/facebook/fixed-data-table/compare/{base}...{head}","merges_url":"https://api.github.com/repos/facebook/fixed-data-table/merges","archive_url":"https://api.github.com/repos/facebook/fixed-data-table/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/facebook/fixed-data-table/downloads","issues_url":"https://api.github.com/repos/facebook/fixed-data-table/issues{/number}","pulls_url":"https://api.github.com/repos/facebook/fixed-data-table/pulls{/number}","milestones_url":"https://api.github.com/repos/facebook/fixed-data-table/milestones{/number}","notifications_url":"https://api.github.com/repos/facebook/fixed-data-table/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/facebook/fixed-data-table/labels{/name}","releases_url":"https://api.github.com/repos/facebook/fixed-data-table/releases{/id}","created_at":"2015-01-28T04:19:02Z","updated_at":"2015-02-19T00:33:22Z","pushed_at":"2015-02-19T01:18:34Z","git_url":"git://github.com/facebook/fixed-data-table.git","ssh_url":"git@github.com:facebook/fixed-data-table.git","clone_url":"https://github.com/facebook/fixed-data-table.git","svn_url":"https://github.com/facebook/fixed-data-table","homepage":"http://facebook.github.io/fixed-data-table/","size":8485,"stargazers_count":610,"watchers_count":610,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":35,"mirror_url":null,"open_issues_count":29,"forks":35,"open_issues":29,"watchers":610,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/facebook/fixed-data-table/pulls/40"},"html":{"href":"https://github.com/facebook/fixed-data-table/pull/40"},"issue":{"href":"https://api.github.com/repos/facebook/fixed-data-table/issues/40"},"comments":{"href":"https://api.github.com/repos/facebook/fixed-data-table/issues/40/comments"},"review_comments":{"href":"https://api.github.com/repos/facebook/fixed-data-table/pulls/40/comments"},"review_comment":{"href":"https://api.github.com/repos/facebook/fixed-data-table/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/facebook/fixed-data-table/pulls/40/commits"},"statuses":{"href":"https://api.github.com/repos/facebook/fixed-data-table/statuses/a131e6acd818b73a07aaa8f8fc63615b7cb28c41"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"pieterv","id":438482,"avatar_url":"https://avatars.githubusercontent.com/u/438482?v=3","gravatar_id":"","url":"https://api.github.com/users/pieterv","html_url":"https://github.com/pieterv","followers_url":"https://api.github.com/users/pieterv/followers","following_url":"https://api.github.com/users/pieterv/following{/other_user}","gists_url":"https://api.github.com/users/pieterv/gists{/gist_id}","starred_url":"https://api.github.com/users/pieterv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pieterv/subscriptions","organizations_url":"https://api.github.com/users/pieterv/orgs","repos_url":"https://api.github.com/users/pieterv/repos","events_url":"https://api.github.com/users/pieterv/events{/privacy}","received_events_url":"https://api.github.com/users/pieterv/received_events","type":"User","site_admin":false},"comments":6,"review_comments":1,"commits":2,"additions":5,"deletions":2,"changed_files":1}}