{"action":"created","issue":{"url":"https://api.github.com/repos/dotnet/cli/issues/1674","repository_url":"https://api.github.com/repos/dotnet/cli","labels_url":"https://api.github.com/repos/dotnet/cli/issues/1674/labels{/name}","comments_url":"https://api.github.com/repos/dotnet/cli/issues/1674/comments","events_url":"https://api.github.com/repos/dotnet/cli/issues/1674/events","html_url":"https://github.com/dotnet/cli/pull/1674","id":138093284,"number":1674,"title":"Fix issue 1665: prevent sending null error message","user":{"login":"troydai","id":1329240,"avatar_url":"https://avatars.githubusercontent.com/u/1329240?v=3","gravatar_id":"","url":"https://api.github.com/users/troydai","html_url":"https://github.com/troydai","followers_url":"https://api.github.com/users/troydai/followers","following_url":"https://api.github.com/users/troydai/following{/other_user}","gists_url":"https://api.github.com/users/troydai/gists{/gist_id}","starred_url":"https://api.github.com/users/troydai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/troydai/subscriptions","organizations_url":"https://api.github.com/users/troydai/orgs","repos_url":"https://api.github.com/users/troydai/repos","events_url":"https://api.github.com/users/troydai/events{/privacy}","received_events_url":"https://api.github.com/users/troydai/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/dotnet/cli/labels/cla-already-signed","name":"cla-already-signed","color":"009800"},{"url":"https://api.github.com/repos/dotnet/cli/labels/in%20progress","name":"in progress","color":"ededed"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":12,"created_at":"2016-03-03T06:58:03Z","updated_at":"2016-03-03T22:10:24Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/dotnet/cli/pulls/1674","html_url":"https://github.com/dotnet/cli/pull/1674","diff_url":"https://github.com/dotnet/cli/pull/1674.diff","patch_url":"https://github.com/dotnet/cli/pull/1674.patch"},"body":"When a global error message is removed, the corresponding property is set to `null`. The `GlobalErrorMessenger` then detects the changes. However a change from *existing* to *non-existing* shouldn't trigger payload send, otherwise it causes `ArgumentNullException`.\r\n\r\n*Review guideline*\r\n\r\nMost of the changes are reaction to the change of `Messenger` interface. The change fix the problem is in `GlobalErrorMessenger.cs`.\r\n\r\nAddress issue: #1665 "},"comment":{"url":"https://api.github.com/repos/dotnet/cli/issues/comments/191989190","html_url":"https://github.com/dotnet/cli/pull/1674#issuecomment-191989190","issue_url":"https://api.github.com/repos/dotnet/cli/issues/1674","id":191989190,"user":{"login":"troydai","id":1329240,"avatar_url":"https://avatars.githubusercontent.com/u/1329240?v=3","gravatar_id":"","url":"https://api.github.com/users/troydai","html_url":"https://github.com/troydai","followers_url":"https://api.github.com/users/troydai/followers","following_url":"https://api.github.com/users/troydai/following{/other_user}","gists_url":"https://api.github.com/users/troydai/gists{/gist_id}","starred_url":"https://api.github.com/users/troydai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/troydai/subscriptions","organizations_url":"https://api.github.com/users/troydai/orgs","repos_url":"https://api.github.com/users/troydai/repos","events_url":"https://api.github.com/users/troydai/events{/privacy}","received_events_url":"https://api.github.com/users/troydai/received_events","type":"User","site_admin":false},"created_at":"2016-03-03T22:10:24Z","updated_at":"2016-03-03T22:10:24Z","body":"All CI passed and test is added. I’m waiting for someone to sign off. The change is ready."}}