{"action":"opened","number":480,"pull_request":{"url":"https://api.github.com/repos/haiwen/seadroid/pulls/480","id":57779703,"html_url":"https://github.com/haiwen/seadroid/pull/480","diff_url":"https://github.com/haiwen/seadroid/pull/480.diff","patch_url":"https://github.com/haiwen/seadroid/pull/480.patch","issue_url":"https://api.github.com/repos/haiwen/seadroid/issues/480","number":480,"state":"open","locked":false,"title":"Camera Upload: fix potential NPE","user":{"login":"forouher","id":676900,"avatar_url":"https://avatars.githubusercontent.com/u/676900?v=3","gravatar_id":"","url":"https://api.github.com/users/forouher","html_url":"https://github.com/forouher","followers_url":"https://api.github.com/users/forouher/followers","following_url":"https://api.github.com/users/forouher/following{/other_user}","gists_url":"https://api.github.com/users/forouher/gists{/gist_id}","starred_url":"https://api.github.com/users/forouher/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/forouher/subscriptions","organizations_url":"https://api.github.com/users/forouher/orgs","repos_url":"https://api.github.com/users/forouher/repos","events_url":"https://api.github.com/users/forouher/events{/privacy}","received_events_url":"https://api.github.com/users/forouher/received_events","type":"User","site_admin":false},"body":"Had an NPE under unusual circumstances (no sdcard present) in the emulator.\r\nNot sure if it can actually happen in the real world.\r\nBut just to be sure...","created_at":"2016-01-31T20:48:39Z","updated_at":"2016-01-31T20:48:39Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/haiwen/seadroid/pulls/480/commits","review_comments_url":"https://api.github.com/repos/haiwen/seadroid/pulls/480/comments","review_comment_url":"https://api.github.com/repos/haiwen/seadroid/pulls/comments{/number}","comments_url":"https://api.github.com/repos/haiwen/seadroid/issues/480/comments","statuses_url":"https://api.github.com/repos/haiwen/seadroid/statuses/4938f36d9affc40963ab2e75b762d8fb9743ca1f","head":{"label":"forouher:fix/potential_npe_cameraupload","ref":"fix/potential_npe_cameraupload","sha":"4938f36d9affc40963ab2e75b762d8fb9743ca1f","user":{"login":"forouher","id":676900,"avatar_url":"https://avatars.githubusercontent.com/u/676900?v=3","gravatar_id":"","url":"https://api.github.com/users/forouher","html_url":"https://github.com/forouher","followers_url":"https://api.github.com/users/forouher/followers","following_url":"https://api.github.com/users/forouher/following{/other_user}","gists_url":"https://api.github.com/users/forouher/gists{/gist_id}","starred_url":"https://api.github.com/users/forouher/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/forouher/subscriptions","organizations_url":"https://api.github.com/users/forouher/orgs","repos_url":"https://api.github.com/users/forouher/repos","events_url":"https://api.github.com/users/forouher/events{/privacy}","received_events_url":"https://api.github.com/users/forouher/received_events","type":"User","site_admin":false},"repo":{"id":24812875,"name":"seadroid","full_name":"forouher/seadroid","owner":{"login":"forouher","id":676900,"avatar_url":"https://avatars.githubusercontent.com/u/676900?v=3","gravatar_id":"","url":"https://api.github.com/users/forouher","html_url":"https://github.com/forouher","followers_url":"https://api.github.com/users/forouher/followers","following_url":"https://api.github.com/users/forouher/following{/other_user}","gists_url":"https://api.github.com/users/forouher/gists{/gist_id}","starred_url":"https://api.github.com/users/forouher/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/forouher/subscriptions","organizations_url":"https://api.github.com/users/forouher/orgs","repos_url":"https://api.github.com/users/forouher/repos","events_url":"https://api.github.com/users/forouher/events{/privacy}","received_events_url":"https://api.github.com/users/forouher/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/forouher/seadroid","description":"Android client for Seafile","fork":true,"url":"https://api.github.com/repos/forouher/seadroid","forks_url":"https://api.github.com/repos/forouher/seadroid/forks","keys_url":"https://api.github.com/repos/forouher/seadroid/keys{/key_id}","collaborators_url":"https://api.github.com/repos/forouher/seadroid/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/forouher/seadroid/teams","hooks_url":"https://api.github.com/repos/forouher/seadroid/hooks","issue_events_url":"https://api.github.com/repos/forouher/seadroid/issues/events{/number}","events_url":"https://api.github.com/repos/forouher/seadroid/events","assignees_url":"https://api.github.com/repos/forouher/seadroid/assignees{/user}","branches_url":"https://api.github.com/repos/forouher/seadroid/branches{/branch}","tags_url":"https://api.github.com/repos/forouher/seadroid/tags","blobs_url":"https://api.github.com/repos/forouher/seadroid/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/forouher/seadroid/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/forouher/seadroid/git/refs{/sha}","trees_url":"https://api.github.com/repos/forouher/seadroid/git/trees{/sha}","statuses_url":"https://api.github.com/repos/forouher/seadroid/statuses/{sha}","languages_url":"https://api.github.com/repos/forouher/seadroid/languages","stargazers_url":"https://api.github.com/repos/forouher/seadroid/stargazers","contributors_url":"https://api.github.com/repos/forouher/seadroid/contributors","subscribers_url":"https://api.github.com/repos/forouher/seadroid/subscribers","subscription_url":"https://api.github.com/repos/forouher/seadroid/subscription","commits_url":"https://api.github.com/repos/forouher/seadroid/commits{/sha}","git_commits_url":"https://api.github.com/repos/forouher/seadroid/git/commits{/sha}","comments_url":"https://api.github.com/repos/forouher/seadroid/comments{/number}","issue_comment_url":"https://api.github.com/repos/forouher/seadroid/issues/comments{/number}","contents_url":"https://api.github.com/repos/forouher/seadroid/contents/{+path}","compare_url":"https://api.github.com/repos/forouher/seadroid/compare/{base}...{head}","merges_url":"https://api.github.com/repos/forouher/seadroid/merges","archive_url":"https://api.github.com/repos/forouher/seadroid/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/forouher/seadroid/downloads","issues_url":"https://api.github.com/repos/forouher/seadroid/issues{/number}","pulls_url":"https://api.github.com/repos/forouher/seadroid/pulls{/number}","milestones_url":"https://api.github.com/repos/forouher/seadroid/milestones{/number}","notifications_url":"https://api.github.com/repos/forouher/seadroid/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/forouher/seadroid/labels{/name}","releases_url":"https://api.github.com/repos/forouher/seadroid/releases{/id}","deployments_url":"https://api.github.com/repos/forouher/seadroid/deployments","created_at":"2014-10-05T09:58:47Z","updated_at":"2016-01-11T09:12:41Z","pushed_at":"2016-01-31T20:47:33Z","git_url":"git://github.com/forouher/seadroid.git","ssh_url":"git@github.com:forouher/seadroid.git","clone_url":"https://github.com/forouher/seadroid.git","svn_url":"https://github.com/forouher/seadroid","homepage":null,"size":7080,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"haiwen:master","ref":"master","sha":"185e85f6cf5b0e7d74421060d0d8bf0be6fc7d21","user":{"login":"haiwen","id":1948782,"avatar_url":"https://avatars.githubusercontent.com/u/1948782?v=3","gravatar_id":"","url":"https://api.github.com/users/haiwen","html_url":"https://github.com/haiwen","followers_url":"https://api.github.com/users/haiwen/followers","following_url":"https://api.github.com/users/haiwen/following{/other_user}","gists_url":"https://api.github.com/users/haiwen/gists{/gist_id}","starred_url":"https://api.github.com/users/haiwen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/haiwen/subscriptions","organizations_url":"https://api.github.com/users/haiwen/orgs","repos_url":"https://api.github.com/users/haiwen/repos","events_url":"https://api.github.com/users/haiwen/events{/privacy}","received_events_url":"https://api.github.com/users/haiwen/received_events","type":"Organization","site_admin":false},"repo":{"id":6900541,"name":"seadroid","full_name":"haiwen/seadroid","owner":{"login":"haiwen","id":1948782,"avatar_url":"https://avatars.githubusercontent.com/u/1948782?v=3","gravatar_id":"","url":"https://api.github.com/users/haiwen","html_url":"https://github.com/haiwen","followers_url":"https://api.github.com/users/haiwen/followers","following_url":"https://api.github.com/users/haiwen/following{/other_user}","gists_url":"https://api.github.com/users/haiwen/gists{/gist_id}","starred_url":"https://api.github.com/users/haiwen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/haiwen/subscriptions","organizations_url":"https://api.github.com/users/haiwen/orgs","repos_url":"https://api.github.com/users/haiwen/repos","events_url":"https://api.github.com/users/haiwen/events{/privacy}","received_events_url":"https://api.github.com/users/haiwen/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/haiwen/seadroid","description":"Android client for Seafile","fork":false,"url":"https://api.github.com/repos/haiwen/seadroid","forks_url":"https://api.github.com/repos/haiwen/seadroid/forks","keys_url":"https://api.github.com/repos/haiwen/seadroid/keys{/key_id}","collaborators_url":"https://api.github.com/repos/haiwen/seadroid/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/haiwen/seadroid/teams","hooks_url":"https://api.github.com/repos/haiwen/seadroid/hooks","issue_events_url":"https://api.github.com/repos/haiwen/seadroid/issues/events{/number}","events_url":"https://api.github.com/repos/haiwen/seadroid/events","assignees_url":"https://api.github.com/repos/haiwen/seadroid/assignees{/user}","branches_url":"https://api.github.com/repos/haiwen/seadroid/branches{/branch}","tags_url":"https://api.github.com/repos/haiwen/seadroid/tags","blobs_url":"https://api.github.com/repos/haiwen/seadroid/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/haiwen/seadroid/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/haiwen/seadroid/git/refs{/sha}","trees_url":"https://api.github.com/repos/haiwen/seadroid/git/trees{/sha}","statuses_url":"https://api.github.com/repos/haiwen/seadroid/statuses/{sha}","languages_url":"https://api.github.com/repos/haiwen/seadroid/languages","stargazers_url":"https://api.github.com/repos/haiwen/seadroid/stargazers","contributors_url":"https://api.github.com/repos/haiwen/seadroid/contributors","subscribers_url":"https://api.github.com/repos/haiwen/seadroid/subscribers","subscription_url":"https://api.github.com/repos/haiwen/seadroid/subscription","commits_url":"https://api.github.com/repos/haiwen/seadroid/commits{/sha}","git_commits_url":"https://api.github.com/repos/haiwen/seadroid/git/commits{/sha}","comments_url":"https://api.github.com/repos/haiwen/seadroid/comments{/number}","issue_comment_url":"https://api.github.com/repos/haiwen/seadroid/issues/comments{/number}","contents_url":"https://api.github.com/repos/haiwen/seadroid/contents/{+path}","compare_url":"https://api.github.com/repos/haiwen/seadroid/compare/{base}...{head}","merges_url":"https://api.github.com/repos/haiwen/seadroid/merges","archive_url":"https://api.github.com/repos/haiwen/seadroid/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/haiwen/seadroid/downloads","issues_url":"https://api.github.com/repos/haiwen/seadroid/issues{/number}","pulls_url":"https://api.github.com/repos/haiwen/seadroid/pulls{/number}","milestones_url":"https://api.github.com/repos/haiwen/seadroid/milestones{/number}","notifications_url":"https://api.github.com/repos/haiwen/seadroid/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/haiwen/seadroid/labels{/name}","releases_url":"https://api.github.com/repos/haiwen/seadroid/releases{/id}","deployments_url":"https://api.github.com/repos/haiwen/seadroid/deployments","created_at":"2012-11-28T10:54:37Z","updated_at":"2016-01-28T05:33:43Z","pushed_at":"2016-01-27T03:00:22Z","git_url":"git://github.com/haiwen/seadroid.git","ssh_url":"git@github.com:haiwen/seadroid.git","clone_url":"https://github.com/haiwen/seadroid.git","svn_url":"https://github.com/haiwen/seadroid","homepage":null,"size":9386,"stargazers_count":184,"watchers_count":184,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":123,"mirror_url":null,"open_issues_count":37,"forks":123,"open_issues":37,"watchers":184,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/haiwen/seadroid/pulls/480"},"html":{"href":"https://github.com/haiwen/seadroid/pull/480"},"issue":{"href":"https://api.github.com/repos/haiwen/seadroid/issues/480"},"comments":{"href":"https://api.github.com/repos/haiwen/seadroid/issues/480/comments"},"review_comments":{"href":"https://api.github.com/repos/haiwen/seadroid/pulls/480/comments"},"review_comment":{"href":"https://api.github.com/repos/haiwen/seadroid/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/haiwen/seadroid/pulls/480/commits"},"statuses":{"href":"https://api.github.com/repos/haiwen/seadroid/statuses/4938f36d9affc40963ab2e75b762d8fb9743ca1f"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":10,"deletions":0,"changed_files":1}}