{"action":"created","issue":{"url":"https://api.github.com/repos/Esri/distance-direction-addin-dotnet/issues/456","repository_url":"https://api.github.com/repos/Esri/distance-direction-addin-dotnet","labels_url":"https://api.github.com/repos/Esri/distance-direction-addin-dotnet/issues/456/labels{/name}","comments_url":"https://api.github.com/repos/Esri/distance-direction-addin-dotnet/issues/456/comments","events_url":"https://api.github.com/repos/Esri/distance-direction-addin-dotnet/issues/456/events","html_url":"https://github.com/Esri/distance-direction-addin-dotnet/issues/456","id":263238539,"number":456,"title":"Static Code Analyzer : Null Dereference","user":{"login":"jmccausland","id":5815558,"avatar_url":"https://avatars3.githubusercontent.com/u/5815558?v=4","gravatar_id":"","url":"https://api.github.com/users/jmccausland","html_url":"https://github.com/jmccausland","followers_url":"https://api.github.com/users/jmccausland/followers","following_url":"https://api.github.com/users/jmccausland/following{/other_user}","gists_url":"https://api.github.com/users/jmccausland/gists{/gist_id}","starred_url":"https://api.github.com/users/jmccausland/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jmccausland/subscriptions","organizations_url":"https://api.github.com/users/jmccausland/orgs","repos_url":"https://api.github.com/users/jmccausland/repos","events_url":"https://api.github.com/users/jmccausland/events{/privacy}","received_events_url":"https://api.github.com/users/jmccausland/received_events","type":"User","site_admin":false},"labels":[{"id":791979987,"url":"https://api.github.com/repos/Esri/distance-direction-addin-dotnet/labels/T-SCA","name":"T-SCA","color":"e0ffff","default":false}],"state":"open","locked":false,"assignee":{"login":"csmoore","id":3090809,"avatar_url":"https://avatars3.githubusercontent.com/u/3090809?v=4","gravatar_id":"","url":"https://api.github.com/users/csmoore","html_url":"https://github.com/csmoore","followers_url":"https://api.github.com/users/csmoore/followers","following_url":"https://api.github.com/users/csmoore/following{/other_user}","gists_url":"https://api.github.com/users/csmoore/gists{/gist_id}","starred_url":"https://api.github.com/users/csmoore/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/csmoore/subscriptions","organizations_url":"https://api.github.com/users/csmoore/orgs","repos_url":"https://api.github.com/users/csmoore/repos","events_url":"https://api.github.com/users/csmoore/events{/privacy}","received_events_url":"https://api.github.com/users/csmoore/received_events","type":"User","site_admin":false},"assignees":[{"login":"csmoore","id":3090809,"avatar_url":"https://avatars3.githubusercontent.com/u/3090809?v=4","gravatar_id":"","url":"https://api.github.com/users/csmoore","html_url":"https://github.com/csmoore","followers_url":"https://api.github.com/users/csmoore/followers","following_url":"https://api.github.com/users/csmoore/following{/other_user}","gists_url":"https://api.github.com/users/csmoore/gists{/gist_id}","starred_url":"https://api.github.com/users/csmoore/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/csmoore/subscriptions","organizations_url":"https://api.github.com/users/csmoore/orgs","repos_url":"https://api.github.com/users/csmoore/repos","events_url":"https://api.github.com/users/csmoore/events{/privacy}","received_events_url":"https://api.github.com/users/csmoore/received_events","type":"User","site_admin":false}],"milestone":null,"comments":0,"created_at":"2017-10-05T19:26:53Z","updated_at":"2018-02-15T15:53:24Z","closed_at":null,"author_association":"COLLABORATOR","body":"the SCA report shows there are possible Null Dereference issues in the code.\r\n\r\nMost of the flagged code is due to query interfaces via the 'as' keyword.  When it is safe to do a direct cast to an Esri API Interface, we should do that.  Everywhere else, null check and refactor if needed.\r\n\r\nThe ReSharper tool can assist with this exercise and minimize these issues in the future.\r\n\r\n- when safe, change to direct cast\r\n- add null checks and refactor where needed"},"comment":{"url":"https://api.github.com/repos/Esri/distance-direction-addin-dotnet/issues/comments/365970098","html_url":"https://github.com/Esri/distance-direction-addin-dotnet/issues/456#issuecomment-365970098","issue_url":"https://api.github.com/repos/Esri/distance-direction-addin-dotnet/issues/456","id":365970098,"user":{"login":"csmoore","id":3090809,"avatar_url":"https://avatars3.githubusercontent.com/u/3090809?v=4","gravatar_id":"","url":"https://api.github.com/users/csmoore","html_url":"https://github.com/csmoore","followers_url":"https://api.github.com/users/csmoore/followers","following_url":"https://api.github.com/users/csmoore/following{/other_user}","gists_url":"https://api.github.com/users/csmoore/gists{/gist_id}","starred_url":"https://api.github.com/users/csmoore/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/csmoore/subscriptions","organizations_url":"https://api.github.com/users/csmoore/orgs","repos_url":"https://api.github.com/users/csmoore/repos","events_url":"https://api.github.com/users/csmoore/events{/privacy}","received_events_url":"https://api.github.com/users/csmoore/received_events","type":"User","site_admin":false},"created_at":"2018-02-15T15:53:24Z","updated_at":"2018-02-15T15:53:24Z","author_association":"MEMBER","body":"We have a better understanding of this now we have the report - this work is progressing in branch: https://github.com/Esri/distance-direction-addin-dotnet/tree/csm/%23456-SCA\r\n"}}
{"actor":{"display_login":"csmoore"}}