{"action":"opened","number":89,"pull_request":{"url":"https://api.github.com/repos/dart-lang/source_gen/pulls/89","id":84390054,"html_url":"https://github.com/dart-lang/source_gen/pull/89","diff_url":"https://github.com/dart-lang/source_gen/pull/89.diff","patch_url":"https://github.com/dart-lang/source_gen/pull/89.patch","issue_url":"https://api.github.com/repos/dart-lang/source_gen/issues/89","number":89,"state":"open","locked":false,"title":"Fix NPE when ElementAnnotation.constantValue returns null.","user":{"login":"alorenzen","id":575967,"avatar_url":"https://avatars.githubusercontent.com/u/575967?v=3","gravatar_id":"","url":"https://api.github.com/users/alorenzen","html_url":"https://github.com/alorenzen","followers_url":"https://api.github.com/users/alorenzen/followers","following_url":"https://api.github.com/users/alorenzen/following{/other_user}","gists_url":"https://api.github.com/users/alorenzen/gists{/gist_id}","starred_url":"https://api.github.com/users/alorenzen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alorenzen/subscriptions","organizations_url":"https://api.github.com/users/alorenzen/orgs","repos_url":"https://api.github.com/users/alorenzen/repos","events_url":"https://api.github.com/users/alorenzen/events{/privacy}","received_events_url":"https://api.github.com/users/alorenzen/received_events","type":"User","site_admin":false},"body":"Instead of throwing a NPE, throw an ArgumentError with a message to suggest that a dependency might be missing.","created_at":"2016-09-07T23:16:01Z","updated_at":"2016-09-07T23:16:01Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/dart-lang/source_gen/pulls/89/commits","review_comments_url":"https://api.github.com/repos/dart-lang/source_gen/pulls/89/comments","review_comment_url":"https://api.github.com/repos/dart-lang/source_gen/pulls/comments{/number}","comments_url":"https://api.github.com/repos/dart-lang/source_gen/issues/89/comments","statuses_url":"https://api.github.com/repos/dart-lang/source_gen/statuses/1a89c802ac8f3ed05bd9df27bf7d5a67223e1413","head":{"label":"alorenzen:patch-1","ref":"patch-1","sha":"1a89c802ac8f3ed05bd9df27bf7d5a67223e1413","user":{"login":"alorenzen","id":575967,"avatar_url":"https://avatars.githubusercontent.com/u/575967?v=3","gravatar_id":"","url":"https://api.github.com/users/alorenzen","html_url":"https://github.com/alorenzen","followers_url":"https://api.github.com/users/alorenzen/followers","following_url":"https://api.github.com/users/alorenzen/following{/other_user}","gists_url":"https://api.github.com/users/alorenzen/gists{/gist_id}","starred_url":"https://api.github.com/users/alorenzen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alorenzen/subscriptions","organizations_url":"https://api.github.com/users/alorenzen/orgs","repos_url":"https://api.github.com/users/alorenzen/repos","events_url":"https://api.github.com/users/alorenzen/events{/privacy}","received_events_url":"https://api.github.com/users/alorenzen/received_events","type":"User","site_admin":false},"repo":{"id":67649911,"name":"source_gen","full_name":"alorenzen/source_gen","owner":{"login":"alorenzen","id":575967,"avatar_url":"https://avatars.githubusercontent.com/u/575967?v=3","gravatar_id":"","url":"https://api.github.com/users/alorenzen","html_url":"https://github.com/alorenzen","followers_url":"https://api.github.com/users/alorenzen/followers","following_url":"https://api.github.com/users/alorenzen/following{/other_user}","gists_url":"https://api.github.com/users/alorenzen/gists{/gist_id}","starred_url":"https://api.github.com/users/alorenzen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alorenzen/subscriptions","organizations_url":"https://api.github.com/users/alorenzen/orgs","repos_url":"https://api.github.com/users/alorenzen/repos","events_url":"https://api.github.com/users/alorenzen/events{/privacy}","received_events_url":"https://api.github.com/users/alorenzen/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/alorenzen/source_gen","description":"Automatic source code generation for Dart","fork":true,"url":"https://api.github.com/repos/alorenzen/source_gen","forks_url":"https://api.github.com/repos/alorenzen/source_gen/forks","keys_url":"https://api.github.com/repos/alorenzen/source_gen/keys{/key_id}","collaborators_url":"https://api.github.com/repos/alorenzen/source_gen/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/alorenzen/source_gen/teams","hooks_url":"https://api.github.com/repos/alorenzen/source_gen/hooks","issue_events_url":"https://api.github.com/repos/alorenzen/source_gen/issues/events{/number}","events_url":"https://api.github.com/repos/alorenzen/source_gen/events","assignees_url":"https://api.github.com/repos/alorenzen/source_gen/assignees{/user}","branches_url":"https://api.github.com/repos/alorenzen/source_gen/branches{/branch}","tags_url":"https://api.github.com/repos/alorenzen/source_gen/tags","blobs_url":"https://api.github.com/repos/alorenzen/source_gen/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/alorenzen/source_gen/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/alorenzen/source_gen/git/refs{/sha}","trees_url":"https://api.github.com/repos/alorenzen/source_gen/git/trees{/sha}","statuses_url":"https://api.github.com/repos/alorenzen/source_gen/statuses/{sha}","languages_url":"https://api.github.com/repos/alorenzen/source_gen/languages","stargazers_url":"https://api.github.com/repos/alorenzen/source_gen/stargazers","contributors_url":"https://api.github.com/repos/alorenzen/source_gen/contributors","subscribers_url":"https://api.github.com/repos/alorenzen/source_gen/subscribers","subscription_url":"https://api.github.com/repos/alorenzen/source_gen/subscription","commits_url":"https://api.github.com/repos/alorenzen/source_gen/commits{/sha}","git_commits_url":"https://api.github.com/repos/alorenzen/source_gen/git/commits{/sha}","comments_url":"https://api.github.com/repos/alorenzen/source_gen/comments{/number}","issue_comment_url":"https://api.github.com/repos/alorenzen/source_gen/issues/comments{/number}","contents_url":"https://api.github.com/repos/alorenzen/source_gen/contents/{+path}","compare_url":"https://api.github.com/repos/alorenzen/source_gen/compare/{base}...{head}","merges_url":"https://api.github.com/repos/alorenzen/source_gen/merges","archive_url":"https://api.github.com/repos/alorenzen/source_gen/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/alorenzen/source_gen/downloads","issues_url":"https://api.github.com/repos/alorenzen/source_gen/issues{/number}","pulls_url":"https://api.github.com/repos/alorenzen/source_gen/pulls{/number}","milestones_url":"https://api.github.com/repos/alorenzen/source_gen/milestones{/number}","notifications_url":"https://api.github.com/repos/alorenzen/source_gen/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/alorenzen/source_gen/labels{/name}","releases_url":"https://api.github.com/repos/alorenzen/source_gen/releases{/id}","deployments_url":"https://api.github.com/repos/alorenzen/source_gen/deployments","created_at":"2016-09-07T23:03:34Z","updated_at":"2016-09-07T23:03:35Z","pushed_at":"2016-09-07T23:15:34Z","git_url":"git://github.com/alorenzen/source_gen.git","ssh_url":"git@github.com:alorenzen/source_gen.git","clone_url":"https://github.com/alorenzen/source_gen.git","svn_url":"https://github.com/alorenzen/source_gen","homepage":"https://pub.dartlang.org/packages/source_gen","size":427,"stargazers_count":0,"watchers_count":0,"language":"Dart","has_issues":false,"has_downloads":true,"has_wiki":false,"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":"dart-lang:master","ref":"master","sha":"2b108441875147f02cdb6bb388de3ff083c1feb4","user":{"login":"dart-lang","id":1609975,"avatar_url":"https://avatars.githubusercontent.com/u/1609975?v=3","gravatar_id":"","url":"https://api.github.com/users/dart-lang","html_url":"https://github.com/dart-lang","followers_url":"https://api.github.com/users/dart-lang/followers","following_url":"https://api.github.com/users/dart-lang/following{/other_user}","gists_url":"https://api.github.com/users/dart-lang/gists{/gist_id}","starred_url":"https://api.github.com/users/dart-lang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dart-lang/subscriptions","organizations_url":"https://api.github.com/users/dart-lang/orgs","repos_url":"https://api.github.com/users/dart-lang/repos","events_url":"https://api.github.com/users/dart-lang/events{/privacy}","received_events_url":"https://api.github.com/users/dart-lang/received_events","type":"Organization","site_admin":false},"repo":{"id":30086445,"name":"source_gen","full_name":"dart-lang/source_gen","owner":{"login":"dart-lang","id":1609975,"avatar_url":"https://avatars.githubusercontent.com/u/1609975?v=3","gravatar_id":"","url":"https://api.github.com/users/dart-lang","html_url":"https://github.com/dart-lang","followers_url":"https://api.github.com/users/dart-lang/followers","following_url":"https://api.github.com/users/dart-lang/following{/other_user}","gists_url":"https://api.github.com/users/dart-lang/gists{/gist_id}","starred_url":"https://api.github.com/users/dart-lang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dart-lang/subscriptions","organizations_url":"https://api.github.com/users/dart-lang/orgs","repos_url":"https://api.github.com/users/dart-lang/repos","events_url":"https://api.github.com/users/dart-lang/events{/privacy}","received_events_url":"https://api.github.com/users/dart-lang/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/dart-lang/source_gen","description":"Automatic source code generation for Dart","fork":false,"url":"https://api.github.com/repos/dart-lang/source_gen","forks_url":"https://api.github.com/repos/dart-lang/source_gen/forks","keys_url":"https://api.github.com/repos/dart-lang/source_gen/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dart-lang/source_gen/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dart-lang/source_gen/teams","hooks_url":"https://api.github.com/repos/dart-lang/source_gen/hooks","issue_events_url":"https://api.github.com/repos/dart-lang/source_gen/issues/events{/number}","events_url":"https://api.github.com/repos/dart-lang/source_gen/events","assignees_url":"https://api.github.com/repos/dart-lang/source_gen/assignees{/user}","branches_url":"https://api.github.com/repos/dart-lang/source_gen/branches{/branch}","tags_url":"https://api.github.com/repos/dart-lang/source_gen/tags","blobs_url":"https://api.github.com/repos/dart-lang/source_gen/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dart-lang/source_gen/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dart-lang/source_gen/git/refs{/sha}","trees_url":"https://api.github.com/repos/dart-lang/source_gen/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dart-lang/source_gen/statuses/{sha}","languages_url":"https://api.github.com/repos/dart-lang/source_gen/languages","stargazers_url":"https://api.github.com/repos/dart-lang/source_gen/stargazers","contributors_url":"https://api.github.com/repos/dart-lang/source_gen/contributors","subscribers_url":"https://api.github.com/repos/dart-lang/source_gen/subscribers","subscription_url":"https://api.github.com/repos/dart-lang/source_gen/subscription","commits_url":"https://api.github.com/repos/dart-lang/source_gen/commits{/sha}","git_commits_url":"https://api.github.com/repos/dart-lang/source_gen/git/commits{/sha}","comments_url":"https://api.github.com/repos/dart-lang/source_gen/comments{/number}","issue_comment_url":"https://api.github.com/repos/dart-lang/source_gen/issues/comments{/number}","contents_url":"https://api.github.com/repos/dart-lang/source_gen/contents/{+path}","compare_url":"https://api.github.com/repos/dart-lang/source_gen/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dart-lang/source_gen/merges","archive_url":"https://api.github.com/repos/dart-lang/source_gen/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dart-lang/source_gen/downloads","issues_url":"https://api.github.com/repos/dart-lang/source_gen/issues{/number}","pulls_url":"https://api.github.com/repos/dart-lang/source_gen/pulls{/number}","milestones_url":"https://api.github.com/repos/dart-lang/source_gen/milestones{/number}","notifications_url":"https://api.github.com/repos/dart-lang/source_gen/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dart-lang/source_gen/labels{/name}","releases_url":"https://api.github.com/repos/dart-lang/source_gen/releases{/id}","deployments_url":"https://api.github.com/repos/dart-lang/source_gen/deployments","created_at":"2015-01-30T19:02:10Z","updated_at":"2016-08-30T15:28:46Z","pushed_at":"2016-09-07T23:16:01Z","git_url":"git://github.com/dart-lang/source_gen.git","ssh_url":"git@github.com:dart-lang/source_gen.git","clone_url":"https://github.com/dart-lang/source_gen.git","svn_url":"https://github.com/dart-lang/source_gen","homepage":"https://pub.dartlang.org/packages/source_gen","size":427,"stargazers_count":33,"watchers_count":33,"language":"Dart","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":19,"mirror_url":null,"open_issues_count":28,"forks":19,"open_issues":28,"watchers":33,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/dart-lang/source_gen/pulls/89"},"html":{"href":"https://github.com/dart-lang/source_gen/pull/89"},"issue":{"href":"https://api.github.com/repos/dart-lang/source_gen/issues/89"},"comments":{"href":"https://api.github.com/repos/dart-lang/source_gen/issues/89/comments"},"review_comments":{"href":"https://api.github.com/repos/dart-lang/source_gen/pulls/89/comments"},"review_comment":{"href":"https://api.github.com/repos/dart-lang/source_gen/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/dart-lang/source_gen/pulls/89/commits"},"statuses":{"href":"https://api.github.com/repos/dart-lang/source_gen/statuses/1a89c802ac8f3ed05bd9df27bf7d5a67223e1413"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":5,"deletions":1,"changed_files":1}}
{"actor":{"display_login":"alorenzen"}}