{"action":"closed","number":305,"pull_request":{"url":"https://api.github.com/repos/Microsoft/ApplicationInsights-Java/pulls/305","id":80462349,"html_url":"https://github.com/Microsoft/ApplicationInsights-Java/pull/305","diff_url":"https://github.com/Microsoft/ApplicationInsights-Java/pull/305.diff","patch_url":"https://github.com/Microsoft/ApplicationInsights-Java/pull/305.patch","issue_url":"https://api.github.com/repos/Microsoft/ApplicationInsights-Java/issues/305","number":305,"state":"closed","locked":false,"title":"Fixed NullpointerException when no fields are set on processors.","user":{"login":"jgogstad","id":523922,"avatar_url":"https://avatars.githubusercontent.com/u/523922?v=3","gravatar_id":"","url":"https://api.github.com/users/jgogstad","html_url":"https://github.com/jgogstad","followers_url":"https://api.github.com/users/jgogstad/followers","following_url":"https://api.github.com/users/jgogstad/following{/other_user}","gists_url":"https://api.github.com/users/jgogstad/gists{/gist_id}","starred_url":"https://api.github.com/users/jgogstad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jgogstad/subscriptions","organizations_url":"https://api.github.com/users/jgogstad/orgs","repos_url":"https://api.github.com/users/jgogstad/repos","events_url":"https://api.github.com/users/jgogstad/events{/privacy}","received_events_url":"https://api.github.com/users/jgogstad/received_events","type":"User","site_admin":false},"body":"The current implementation of `TelemetryConfigurationFactory` throws NullPointerException whenever it encounters processors that are not configured with any attributes, e.g.\r\n\r\n```\r\n<ApplicationInsights>\r\n   <TelemetryProcessors>\r\n     <CustomProcessors>\r\n        <Processor type=\"com.example.MyProcessor\"/>\r\n    </CustomProcessors>\r\n </TelemetryProcessors>\r\n</ApplicationInsights>\r\n```\r\n\r\nThere's also a bug where the same processor instance is added multiple times. This occurs when multiple fields are set on a processor.\r\n\r\nThis PR fixes both (and includes PR #304 ).\r\n","created_at":"2016-08-08T14:39:08Z","updated_at":"2016-08-09T11:36:31Z","closed_at":"2016-08-09T11:36:31Z","merged_at":null,"merge_commit_sha":"e8e3377e62a5a6c09c2d51670159021e1b407fe7","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/Microsoft/ApplicationInsights-Java/pulls/305/commits","review_comments_url":"https://api.github.com/repos/Microsoft/ApplicationInsights-Java/pulls/305/comments","review_comment_url":"https://api.github.com/repos/Microsoft/ApplicationInsights-Java/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Microsoft/ApplicationInsights-Java/issues/305/comments","statuses_url":"https://api.github.com/repos/Microsoft/ApplicationInsights-Java/statuses/85d8f1ed50095fa262279cab32e6a76302c9988b","head":{"label":"jgogstad:processor_configuration_errors","ref":"processor_configuration_errors","sha":"85d8f1ed50095fa262279cab32e6a76302c9988b","user":{"login":"jgogstad","id":523922,"avatar_url":"https://avatars.githubusercontent.com/u/523922?v=3","gravatar_id":"","url":"https://api.github.com/users/jgogstad","html_url":"https://github.com/jgogstad","followers_url":"https://api.github.com/users/jgogstad/followers","following_url":"https://api.github.com/users/jgogstad/following{/other_user}","gists_url":"https://api.github.com/users/jgogstad/gists{/gist_id}","starred_url":"https://api.github.com/users/jgogstad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jgogstad/subscriptions","organizations_url":"https://api.github.com/users/jgogstad/orgs","repos_url":"https://api.github.com/users/jgogstad/repos","events_url":"https://api.github.com/users/jgogstad/events{/privacy}","received_events_url":"https://api.github.com/users/jgogstad/received_events","type":"User","site_admin":false},"repo":{"id":64299916,"name":"ApplicationInsights-Java","full_name":"jgogstad/ApplicationInsights-Java","owner":{"login":"jgogstad","id":523922,"avatar_url":"https://avatars.githubusercontent.com/u/523922?v=3","gravatar_id":"","url":"https://api.github.com/users/jgogstad","html_url":"https://github.com/jgogstad","followers_url":"https://api.github.com/users/jgogstad/followers","following_url":"https://api.github.com/users/jgogstad/following{/other_user}","gists_url":"https://api.github.com/users/jgogstad/gists{/gist_id}","starred_url":"https://api.github.com/users/jgogstad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jgogstad/subscriptions","organizations_url":"https://api.github.com/users/jgogstad/orgs","repos_url":"https://api.github.com/users/jgogstad/repos","events_url":"https://api.github.com/users/jgogstad/events{/privacy}","received_events_url":"https://api.github.com/users/jgogstad/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jgogstad/ApplicationInsights-Java","description":"Application Insights SDK for Java","fork":true,"url":"https://api.github.com/repos/jgogstad/ApplicationInsights-Java","forks_url":"https://api.github.com/repos/jgogstad/ApplicationInsights-Java/forks","keys_url":"https://api.github.com/repos/jgogstad/ApplicationInsights-Java/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jgogstad/ApplicationInsights-Java/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jgogstad/ApplicationInsights-Java/teams","hooks_url":"https://api.github.com/repos/jgogstad/ApplicationInsights-Java/hooks","issue_events_url":"https://api.github.com/repos/jgogstad/ApplicationInsights-Java/issues/events{/number}","events_url":"https://api.github.com/repos/jgogstad/ApplicationInsights-Java/events","assignees_url":"https://api.github.com/repos/jgogstad/ApplicationInsights-Java/assignees{/user}","branches_url":"https://api.github.com/repos/jgogstad/ApplicationInsights-Java/branches{/branch}","tags_url":"https://api.github.com/repos/jgogstad/ApplicationInsights-Java/tags","blobs_url":"https://api.github.com/repos/jgogstad/ApplicationInsights-Java/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jgogstad/ApplicationInsights-Java/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jgogstad/ApplicationInsights-Java/git/refs{/sha}","trees_url":"https://api.github.com/repos/jgogstad/ApplicationInsights-Java/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jgogstad/ApplicationInsights-Java/statuses/{sha}","languages_url":"https://api.github.com/repos/jgogstad/ApplicationInsights-Java/languages","stargazers_url":"https://api.github.com/repos/jgogstad/ApplicationInsights-Java/stargazers","contributors_url":"https://api.github.com/repos/jgogstad/ApplicationInsights-Java/contributors","subscribers_url":"https://api.github.com/repos/jgogstad/ApplicationInsights-Java/subscribers","subscription_url":"https://api.github.com/repos/jgogstad/ApplicationInsights-Java/subscription","commits_url":"https://api.github.com/repos/jgogstad/ApplicationInsights-Java/commits{/sha}","git_commits_url":"https://api.github.com/repos/jgogstad/ApplicationInsights-Java/git/commits{/sha}","comments_url":"https://api.github.com/repos/jgogstad/ApplicationInsights-Java/comments{/number}","issue_comment_url":"https://api.github.com/repos/jgogstad/ApplicationInsights-Java/issues/comments{/number}","contents_url":"https://api.github.com/repos/jgogstad/ApplicationInsights-Java/contents/{+path}","compare_url":"https://api.github.com/repos/jgogstad/ApplicationInsights-Java/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jgogstad/ApplicationInsights-Java/merges","archive_url":"https://api.github.com/repos/jgogstad/ApplicationInsights-Java/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jgogstad/ApplicationInsights-Java/downloads","issues_url":"https://api.github.com/repos/jgogstad/ApplicationInsights-Java/issues{/number}","pulls_url":"https://api.github.com/repos/jgogstad/ApplicationInsights-Java/pulls{/number}","milestones_url":"https://api.github.com/repos/jgogstad/ApplicationInsights-Java/milestones{/number}","notifications_url":"https://api.github.com/repos/jgogstad/ApplicationInsights-Java/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jgogstad/ApplicationInsights-Java/labels{/name}","releases_url":"https://api.github.com/repos/jgogstad/ApplicationInsights-Java/releases{/id}","deployments_url":"https://api.github.com/repos/jgogstad/ApplicationInsights-Java/deployments","created_at":"2016-07-27T10:33:48Z","updated_at":"2016-07-27T10:33:50Z","pushed_at":"2016-08-08T15:23:25Z","git_url":"git://github.com/jgogstad/ApplicationInsights-Java.git","ssh_url":"git@github.com:jgogstad/ApplicationInsights-Java.git","clone_url":"https://github.com/jgogstad/ApplicationInsights-Java.git","svn_url":"https://github.com/jgogstad/ApplicationInsights-Java","homepage":"http://azure.microsoft.com/en-us/services/application-insights/","size":2510,"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":"Microsoft:master","ref":"master","sha":"e875c66cc666be1efeec1d38550e336858bee987","user":{"login":"Microsoft","id":6154722,"avatar_url":"https://avatars.githubusercontent.com/u/6154722?v=3","gravatar_id":"","url":"https://api.github.com/users/Microsoft","html_url":"https://github.com/Microsoft","followers_url":"https://api.github.com/users/Microsoft/followers","following_url":"https://api.github.com/users/Microsoft/following{/other_user}","gists_url":"https://api.github.com/users/Microsoft/gists{/gist_id}","starred_url":"https://api.github.com/users/Microsoft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Microsoft/subscriptions","organizations_url":"https://api.github.com/users/Microsoft/orgs","repos_url":"https://api.github.com/users/Microsoft/repos","events_url":"https://api.github.com/users/Microsoft/events{/privacy}","received_events_url":"https://api.github.com/users/Microsoft/received_events","type":"Organization","site_admin":false},"repo":{"id":27460436,"name":"ApplicationInsights-Java","full_name":"Microsoft/ApplicationInsights-Java","owner":{"login":"Microsoft","id":6154722,"avatar_url":"https://avatars.githubusercontent.com/u/6154722?v=3","gravatar_id":"","url":"https://api.github.com/users/Microsoft","html_url":"https://github.com/Microsoft","followers_url":"https://api.github.com/users/Microsoft/followers","following_url":"https://api.github.com/users/Microsoft/following{/other_user}","gists_url":"https://api.github.com/users/Microsoft/gists{/gist_id}","starred_url":"https://api.github.com/users/Microsoft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Microsoft/subscriptions","organizations_url":"https://api.github.com/users/Microsoft/orgs","repos_url":"https://api.github.com/users/Microsoft/repos","events_url":"https://api.github.com/users/Microsoft/events{/privacy}","received_events_url":"https://api.github.com/users/Microsoft/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Microsoft/ApplicationInsights-Java","description":"Application Insights SDK for Java","fork":false,"url":"https://api.github.com/repos/Microsoft/ApplicationInsights-Java","forks_url":"https://api.github.com/repos/Microsoft/ApplicationInsights-Java/forks","keys_url":"https://api.github.com/repos/Microsoft/ApplicationInsights-Java/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Microsoft/ApplicationInsights-Java/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Microsoft/ApplicationInsights-Java/teams","hooks_url":"https://api.github.com/repos/Microsoft/ApplicationInsights-Java/hooks","issue_events_url":"https://api.github.com/repos/Microsoft/ApplicationInsights-Java/issues/events{/number}","events_url":"https://api.github.com/repos/Microsoft/ApplicationInsights-Java/events","assignees_url":"https://api.github.com/repos/Microsoft/ApplicationInsights-Java/assignees{/user}","branches_url":"https://api.github.com/repos/Microsoft/ApplicationInsights-Java/branches{/branch}","tags_url":"https://api.github.com/repos/Microsoft/ApplicationInsights-Java/tags","blobs_url":"https://api.github.com/repos/Microsoft/ApplicationInsights-Java/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Microsoft/ApplicationInsights-Java/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Microsoft/ApplicationInsights-Java/git/refs{/sha}","trees_url":"https://api.github.com/repos/Microsoft/ApplicationInsights-Java/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Microsoft/ApplicationInsights-Java/statuses/{sha}","languages_url":"https://api.github.com/repos/Microsoft/ApplicationInsights-Java/languages","stargazers_url":"https://api.github.com/repos/Microsoft/ApplicationInsights-Java/stargazers","contributors_url":"https://api.github.com/repos/Microsoft/ApplicationInsights-Java/contributors","subscribers_url":"https://api.github.com/repos/Microsoft/ApplicationInsights-Java/subscribers","subscription_url":"https://api.github.com/repos/Microsoft/ApplicationInsights-Java/subscription","commits_url":"https://api.github.com/repos/Microsoft/ApplicationInsights-Java/commits{/sha}","git_commits_url":"https://api.github.com/repos/Microsoft/ApplicationInsights-Java/git/commits{/sha}","comments_url":"https://api.github.com/repos/Microsoft/ApplicationInsights-Java/comments{/number}","issue_comment_url":"https://api.github.com/repos/Microsoft/ApplicationInsights-Java/issues/comments{/number}","contents_url":"https://api.github.com/repos/Microsoft/ApplicationInsights-Java/contents/{+path}","compare_url":"https://api.github.com/repos/Microsoft/ApplicationInsights-Java/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Microsoft/ApplicationInsights-Java/merges","archive_url":"https://api.github.com/repos/Microsoft/ApplicationInsights-Java/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Microsoft/ApplicationInsights-Java/downloads","issues_url":"https://api.github.com/repos/Microsoft/ApplicationInsights-Java/issues{/number}","pulls_url":"https://api.github.com/repos/Microsoft/ApplicationInsights-Java/pulls{/number}","milestones_url":"https://api.github.com/repos/Microsoft/ApplicationInsights-Java/milestones{/number}","notifications_url":"https://api.github.com/repos/Microsoft/ApplicationInsights-Java/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Microsoft/ApplicationInsights-Java/labels{/name}","releases_url":"https://api.github.com/repos/Microsoft/ApplicationInsights-Java/releases{/id}","deployments_url":"https://api.github.com/repos/Microsoft/ApplicationInsights-Java/deployments","created_at":"2014-12-03T00:13:22Z","updated_at":"2016-07-08T16:49:03Z","pushed_at":"2016-08-08T19:55:14Z","git_url":"git://github.com/Microsoft/ApplicationInsights-Java.git","ssh_url":"git@github.com:Microsoft/ApplicationInsights-Java.git","clone_url":"https://github.com/Microsoft/ApplicationInsights-Java.git","svn_url":"https://github.com/Microsoft/ApplicationInsights-Java","homepage":"http://azure.microsoft.com/en-us/services/application-insights/","size":2640,"stargazers_count":18,"watchers_count":18,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":19,"mirror_url":null,"open_issues_count":20,"forks":19,"open_issues":20,"watchers":18,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Microsoft/ApplicationInsights-Java/pulls/305"},"html":{"href":"https://github.com/Microsoft/ApplicationInsights-Java/pull/305"},"issue":{"href":"https://api.github.com/repos/Microsoft/ApplicationInsights-Java/issues/305"},"comments":{"href":"https://api.github.com/repos/Microsoft/ApplicationInsights-Java/issues/305/comments"},"review_comments":{"href":"https://api.github.com/repos/Microsoft/ApplicationInsights-Java/pulls/305/comments"},"review_comment":{"href":"https://api.github.com/repos/Microsoft/ApplicationInsights-Java/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Microsoft/ApplicationInsights-Java/pulls/305/commits"},"statuses":{"href":"https://api.github.com/repos/Microsoft/ApplicationInsights-Java/statuses/85d8f1ed50095fa262279cab32e6a76302c9988b"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":4,"review_comments":0,"commits":1,"additions":17,"deletions":9,"changed_files":1}}
{"actor":{"display_login":"jgogstad"}}