{"action":"closed","number":541,"pull_request":{"url":"https://api.github.com/repos/Azure/iotedge/pulls/541","id":231311780,"node_id":"MDExOlB1bGxSZXF1ZXN0MjMxMzExNzgw","html_url":"https://github.com/Azure/iotedge/pull/541","diff_url":"https://github.com/Azure/iotedge/pull/541.diff","patch_url":"https://github.com/Azure/iotedge/pull/541.patch","issue_url":"https://api.github.com/repos/Azure/iotedge/issues/541","number":541,"state":"closed","locked":false,"title":"Handle NRE from SDK","user":{"login":"varunpuranik","id":8727929,"node_id":"MDQ6VXNlcjg3Mjc5Mjk=","avatar_url":"https://avatars1.githubusercontent.com/u/8727929?v=4","gravatar_id":"","url":"https://api.github.com/users/varunpuranik","html_url":"https://github.com/varunpuranik","followers_url":"https://api.github.com/users/varunpuranik/followers","following_url":"https://api.github.com/users/varunpuranik/following{/other_user}","gists_url":"https://api.github.com/users/varunpuranik/gists{/gist_id}","starred_url":"https://api.github.com/users/varunpuranik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/varunpuranik/subscriptions","organizations_url":"https://api.github.com/users/varunpuranik/orgs","repos_url":"https://api.github.com/users/varunpuranik/repos","events_url":"https://api.github.com/users/varunpuranik/events{/privacy}","received_events_url":"https://api.github.com/users/varunpuranik/received_events","type":"User","site_admin":false},"body":"SDK throws NRE in some cases, and goes into a bad state. So we catch NREs from the SDK and close the CloudProxy in that case. The next operation should be able to create a new CloudProxy and use it.","created_at":"2018-11-15T19:42:22Z","updated_at":"2018-11-16T21:13:04Z","closed_at":"2018-11-16T21:13:04Z","merged_at":"2018-11-16T21:13:04Z","merge_commit_sha":"5f5fd67631d69e95c17c6bc32e9f1926da237034","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/Azure/iotedge/pulls/541/commits","review_comments_url":"https://api.github.com/repos/Azure/iotedge/pulls/541/comments","review_comment_url":"https://api.github.com/repos/Azure/iotedge/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Azure/iotedge/issues/541/comments","statuses_url":"https://api.github.com/repos/Azure/iotedge/statuses/a5f86a308f2cc8111323f9d25c29b41808381bcf","head":{"label":"varunpuranik:sdkNre1","ref":"sdkNre1","sha":"a5f86a308f2cc8111323f9d25c29b41808381bcf","user":{"login":"varunpuranik","id":8727929,"node_id":"MDQ6VXNlcjg3Mjc5Mjk=","avatar_url":"https://avatars1.githubusercontent.com/u/8727929?v=4","gravatar_id":"","url":"https://api.github.com/users/varunpuranik","html_url":"https://github.com/varunpuranik","followers_url":"https://api.github.com/users/varunpuranik/followers","following_url":"https://api.github.com/users/varunpuranik/following{/other_user}","gists_url":"https://api.github.com/users/varunpuranik/gists{/gist_id}","starred_url":"https://api.github.com/users/varunpuranik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/varunpuranik/subscriptions","organizations_url":"https://api.github.com/users/varunpuranik/orgs","repos_url":"https://api.github.com/users/varunpuranik/repos","events_url":"https://api.github.com/users/varunpuranik/events{/privacy}","received_events_url":"https://api.github.com/users/varunpuranik/received_events","type":"User","site_admin":false},"repo":{"id":148394413,"node_id":"MDEwOlJlcG9zaXRvcnkxNDgzOTQ0MTM=","name":"iotedge","full_name":"varunpuranik/iotedge","private":false,"owner":{"login":"varunpuranik","id":8727929,"node_id":"MDQ6VXNlcjg3Mjc5Mjk=","avatar_url":"https://avatars1.githubusercontent.com/u/8727929?v=4","gravatar_id":"","url":"https://api.github.com/users/varunpuranik","html_url":"https://github.com/varunpuranik","followers_url":"https://api.github.com/users/varunpuranik/followers","following_url":"https://api.github.com/users/varunpuranik/following{/other_user}","gists_url":"https://api.github.com/users/varunpuranik/gists{/gist_id}","starred_url":"https://api.github.com/users/varunpuranik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/varunpuranik/subscriptions","organizations_url":"https://api.github.com/users/varunpuranik/orgs","repos_url":"https://api.github.com/users/varunpuranik/repos","events_url":"https://api.github.com/users/varunpuranik/events{/privacy}","received_events_url":"https://api.github.com/users/varunpuranik/received_events","type":"User","site_admin":false},"html_url":"https://github.com/varunpuranik/iotedge","description":"The IoT Edge OSS project","fork":true,"url":"https://api.github.com/repos/varunpuranik/iotedge","forks_url":"https://api.github.com/repos/varunpuranik/iotedge/forks","keys_url":"https://api.github.com/repos/varunpuranik/iotedge/keys{/key_id}","collaborators_url":"https://api.github.com/repos/varunpuranik/iotedge/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/varunpuranik/iotedge/teams","hooks_url":"https://api.github.com/repos/varunpuranik/iotedge/hooks","issue_events_url":"https://api.github.com/repos/varunpuranik/iotedge/issues/events{/number}","events_url":"https://api.github.com/repos/varunpuranik/iotedge/events","assignees_url":"https://api.github.com/repos/varunpuranik/iotedge/assignees{/user}","branches_url":"https://api.github.com/repos/varunpuranik/iotedge/branches{/branch}","tags_url":"https://api.github.com/repos/varunpuranik/iotedge/tags","blobs_url":"https://api.github.com/repos/varunpuranik/iotedge/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/varunpuranik/iotedge/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/varunpuranik/iotedge/git/refs{/sha}","trees_url":"https://api.github.com/repos/varunpuranik/iotedge/git/trees{/sha}","statuses_url":"https://api.github.com/repos/varunpuranik/iotedge/statuses/{sha}","languages_url":"https://api.github.com/repos/varunpuranik/iotedge/languages","stargazers_url":"https://api.github.com/repos/varunpuranik/iotedge/stargazers","contributors_url":"https://api.github.com/repos/varunpuranik/iotedge/contributors","subscribers_url":"https://api.github.com/repos/varunpuranik/iotedge/subscribers","subscription_url":"https://api.github.com/repos/varunpuranik/iotedge/subscription","commits_url":"https://api.github.com/repos/varunpuranik/iotedge/commits{/sha}","git_commits_url":"https://api.github.com/repos/varunpuranik/iotedge/git/commits{/sha}","comments_url":"https://api.github.com/repos/varunpuranik/iotedge/comments{/number}","issue_comment_url":"https://api.github.com/repos/varunpuranik/iotedge/issues/comments{/number}","contents_url":"https://api.github.com/repos/varunpuranik/iotedge/contents/{+path}","compare_url":"https://api.github.com/repos/varunpuranik/iotedge/compare/{base}...{head}","merges_url":"https://api.github.com/repos/varunpuranik/iotedge/merges","archive_url":"https://api.github.com/repos/varunpuranik/iotedge/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/varunpuranik/iotedge/downloads","issues_url":"https://api.github.com/repos/varunpuranik/iotedge/issues{/number}","pulls_url":"https://api.github.com/repos/varunpuranik/iotedge/pulls{/number}","milestones_url":"https://api.github.com/repos/varunpuranik/iotedge/milestones{/number}","notifications_url":"https://api.github.com/repos/varunpuranik/iotedge/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/varunpuranik/iotedge/labels{/name}","releases_url":"https://api.github.com/repos/varunpuranik/iotedge/releases{/id}","deployments_url":"https://api.github.com/repos/varunpuranik/iotedge/deployments","created_at":"2018-09-11T23:50:06Z","updated_at":"2018-11-15T22:23:06Z","pushed_at":"2018-11-16T21:11:51Z","git_url":"git://github.com/varunpuranik/iotedge.git","ssh_url":"git@github.com:varunpuranik/iotedge.git","clone_url":"https://github.com/varunpuranik/iotedge.git","svn_url":"https://github.com/varunpuranik/iotedge","homepage":"","size":14523,"stargazers_count":0,"watchers_count":0,"language":"C#","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"Azure:master","ref":"master","sha":"e0a76f87a632d3a50aba1d442c8a45be8b5f2c01","user":{"login":"Azure","id":6844498,"node_id":"MDEyOk9yZ2FuaXphdGlvbjY4NDQ0OTg=","avatar_url":"https://avatars0.githubusercontent.com/u/6844498?v=4","gravatar_id":"","url":"https://api.github.com/users/Azure","html_url":"https://github.com/Azure","followers_url":"https://api.github.com/users/Azure/followers","following_url":"https://api.github.com/users/Azure/following{/other_user}","gists_url":"https://api.github.com/users/Azure/gists{/gist_id}","starred_url":"https://api.github.com/users/Azure/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Azure/subscriptions","organizations_url":"https://api.github.com/users/Azure/orgs","repos_url":"https://api.github.com/users/Azure/repos","events_url":"https://api.github.com/users/Azure/events{/privacy}","received_events_url":"https://api.github.com/users/Azure/received_events","type":"Organization","site_admin":false},"repo":{"id":138646782,"node_id":"MDEwOlJlcG9zaXRvcnkxMzg2NDY3ODI=","name":"iotedge","full_name":"Azure/iotedge","private":false,"owner":{"login":"Azure","id":6844498,"node_id":"MDEyOk9yZ2FuaXphdGlvbjY4NDQ0OTg=","avatar_url":"https://avatars0.githubusercontent.com/u/6844498?v=4","gravatar_id":"","url":"https://api.github.com/users/Azure","html_url":"https://github.com/Azure","followers_url":"https://api.github.com/users/Azure/followers","following_url":"https://api.github.com/users/Azure/following{/other_user}","gists_url":"https://api.github.com/users/Azure/gists{/gist_id}","starred_url":"https://api.github.com/users/Azure/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Azure/subscriptions","organizations_url":"https://api.github.com/users/Azure/orgs","repos_url":"https://api.github.com/users/Azure/repos","events_url":"https://api.github.com/users/Azure/events{/privacy}","received_events_url":"https://api.github.com/users/Azure/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/Azure/iotedge","description":"The IoT Edge OSS project","fork":false,"url":"https://api.github.com/repos/Azure/iotedge","forks_url":"https://api.github.com/repos/Azure/iotedge/forks","keys_url":"https://api.github.com/repos/Azure/iotedge/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Azure/iotedge/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Azure/iotedge/teams","hooks_url":"https://api.github.com/repos/Azure/iotedge/hooks","issue_events_url":"https://api.github.com/repos/Azure/iotedge/issues/events{/number}","events_url":"https://api.github.com/repos/Azure/iotedge/events","assignees_url":"https://api.github.com/repos/Azure/iotedge/assignees{/user}","branches_url":"https://api.github.com/repos/Azure/iotedge/branches{/branch}","tags_url":"https://api.github.com/repos/Azure/iotedge/tags","blobs_url":"https://api.github.com/repos/Azure/iotedge/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Azure/iotedge/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Azure/iotedge/git/refs{/sha}","trees_url":"https://api.github.com/repos/Azure/iotedge/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Azure/iotedge/statuses/{sha}","languages_url":"https://api.github.com/repos/Azure/iotedge/languages","stargazers_url":"https://api.github.com/repos/Azure/iotedge/stargazers","contributors_url":"https://api.github.com/repos/Azure/iotedge/contributors","subscribers_url":"https://api.github.com/repos/Azure/iotedge/subscribers","subscription_url":"https://api.github.com/repos/Azure/iotedge/subscription","commits_url":"https://api.github.com/repos/Azure/iotedge/commits{/sha}","git_commits_url":"https://api.github.com/repos/Azure/iotedge/git/commits{/sha}","comments_url":"https://api.github.com/repos/Azure/iotedge/comments{/number}","issue_comment_url":"https://api.github.com/repos/Azure/iotedge/issues/comments{/number}","contents_url":"https://api.github.com/repos/Azure/iotedge/contents/{+path}","compare_url":"https://api.github.com/repos/Azure/iotedge/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Azure/iotedge/merges","archive_url":"https://api.github.com/repos/Azure/iotedge/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Azure/iotedge/downloads","issues_url":"https://api.github.com/repos/Azure/iotedge/issues{/number}","pulls_url":"https://api.github.com/repos/Azure/iotedge/pulls{/number}","milestones_url":"https://api.github.com/repos/Azure/iotedge/milestones{/number}","notifications_url":"https://api.github.com/repos/Azure/iotedge/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Azure/iotedge/labels{/name}","releases_url":"https://api.github.com/repos/Azure/iotedge/releases{/id}","deployments_url":"https://api.github.com/repos/Azure/iotedge/deployments","created_at":"2018-06-25T20:31:33Z","updated_at":"2018-11-16T19:32:24Z","pushed_at":"2018-11-16T21:13:04Z","git_url":"git://github.com/Azure/iotedge.git","ssh_url":"git@github.com:Azure/iotedge.git","clone_url":"https://github.com/Azure/iotedge.git","svn_url":"https://github.com/Azure/iotedge","homepage":"","size":14920,"stargazers_count":513,"watchers_count":513,"language":"C#","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":68,"mirror_url":null,"archived":false,"open_issues_count":74,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":68,"open_issues":74,"watchers":513,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Azure/iotedge/pulls/541"},"html":{"href":"https://github.com/Azure/iotedge/pull/541"},"issue":{"href":"https://api.github.com/repos/Azure/iotedge/issues/541"},"comments":{"href":"https://api.github.com/repos/Azure/iotedge/issues/541/comments"},"review_comments":{"href":"https://api.github.com/repos/Azure/iotedge/pulls/541/comments"},"review_comment":{"href":"https://api.github.com/repos/Azure/iotedge/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Azure/iotedge/pulls/541/commits"},"statuses":{"href":"https://api.github.com/repos/Azure/iotedge/statuses/a5f86a308f2cc8111323f9d25c29b41808381bcf"}},"author_association":"CONTRIBUTOR","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"varunpuranik","id":8727929,"node_id":"MDQ6VXNlcjg3Mjc5Mjk=","avatar_url":"https://avatars1.githubusercontent.com/u/8727929?v=4","gravatar_id":"","url":"https://api.github.com/users/varunpuranik","html_url":"https://github.com/varunpuranik","followers_url":"https://api.github.com/users/varunpuranik/followers","following_url":"https://api.github.com/users/varunpuranik/following{/other_user}","gists_url":"https://api.github.com/users/varunpuranik/gists{/gist_id}","starred_url":"https://api.github.com/users/varunpuranik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/varunpuranik/subscriptions","organizations_url":"https://api.github.com/users/varunpuranik/orgs","repos_url":"https://api.github.com/users/varunpuranik/repos","events_url":"https://api.github.com/users/varunpuranik/events{/privacy}","received_events_url":"https://api.github.com/users/varunpuranik/received_events","type":"User","site_admin":false},"comments":0,"review_comments":2,"maintainer_can_modify":false,"commits":2,"additions":103,"deletions":17,"changed_files":2}}
{"actor":{"display_login":"varunpuranik"}}