{"action":"created","issue":{"url":"https://api.github.com/repos/Microsoft/ApplicationInsights-Java/issues/305","repository_url":"https://api.github.com/repos/Microsoft/ApplicationInsights-Java","labels_url":"https://api.github.com/repos/Microsoft/ApplicationInsights-Java/issues/305/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/ApplicationInsights-Java/issues/305/comments","events_url":"https://api.github.com/repos/Microsoft/ApplicationInsights-Java/issues/305/events","html_url":"https://github.com/Microsoft/ApplicationInsights-Java/pull/305","id":169939419,"number":305,"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},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-08-08T14:39:08Z","updated_at":"2016-08-08T14:39:13Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/Microsoft/ApplicationInsights-Java/pulls/305","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"},"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"},"comment":{"url":"https://api.github.com/repos/Microsoft/ApplicationInsights-Java/issues/comments/238258204","html_url":"https://github.com/Microsoft/ApplicationInsights-Java/pull/305#issuecomment-238258204","issue_url":"https://api.github.com/repos/Microsoft/ApplicationInsights-Java/issues/305","id":238258204,"user":{"login":"msftclas","id":9287708,"avatar_url":"https://avatars.githubusercontent.com/u/9287708?v=3","gravatar_id":"","url":"https://api.github.com/users/msftclas","html_url":"https://github.com/msftclas","followers_url":"https://api.github.com/users/msftclas/followers","following_url":"https://api.github.com/users/msftclas/following{/other_user}","gists_url":"https://api.github.com/users/msftclas/gists{/gist_id}","starred_url":"https://api.github.com/users/msftclas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/msftclas/subscriptions","organizations_url":"https://api.github.com/users/msftclas/orgs","repos_url":"https://api.github.com/users/msftclas/repos","events_url":"https://api.github.com/users/msftclas/events{/privacy}","received_events_url":"https://api.github.com/users/msftclas/received_events","type":"User","site_admin":false},"created_at":"2016-08-08T14:39:12Z","updated_at":"2016-08-08T14:39:12Z","body":"Hi __@jgogstad__, I'm your friendly neighborhood Microsoft Pull Request Bot (You can call me MSBOT). Thanks for your contribution!\r\n    <span>\r\n        This seems like a small (but important) contribution, so no Contribution License Agreement is required at this point. Real humans will now evaluate your PR.\r\n    </span>\r\n\r\nTTYL, MSBOT;\r\n"}}
{"actor":{"display_login":"msftclas"}}