{"action":"created","comment":{"url":"https://api.github.com/repos/wso2/developer-studio/pulls/comments/40637468","id":40637468,"diff_hunk":"@@ -488,10 +498,15 @@ private Document parseXMLFile(String input)\n \n \tpublic void refreshForm() throws XMLStreamException,  IOException, RuleConfigurationException {\n \t\tinitContent();\n-\n-\t\ttxtServiceName.setText(ruleservice.getName());\n-\t\ttxtTargetNameSpace.setText(ruleservice.getTargetNamespace());\n-\t\tcomboScope.setText(ruleservice.getScope());\n+\t\tif (ruleservice.getName() != null) {\n+\t\t\ttxtServiceName.setText(ruleservice.getName());\n+\t\t}\n+\t\tif (ruleservice.getTargetNamespace() != null) {\n+\t\t\ttxtTargetNameSpace.setText(ruleservice.getTargetNamespace());\n+\t\t}\n+\t\tif (ruleservice.getScope() != null) {\n+\t\t\tcomboScope.setText(ruleservice.getScope());\n+\t\t}","path":"brs/org.wso2.developerstudio.eclipse.artifact.brs/src/org/wso2/developerstudio/eclipse/artifact/brs/editor/RuleServiceEditorPage.java","position":51,"original_position":51,"commit_id":"14bd84c1cbe453d22c6f0dba940d81f379326f3a","original_commit_id":"14bd84c1cbe453d22c6f0dba940d81f379326f3a","user":{"login":"nwnpallewela","id":1607013,"avatar_url":"https://avatars.githubusercontent.com/u/1607013?v=3","gravatar_id":"","url":"https://api.github.com/users/nwnpallewela","html_url":"https://github.com/nwnpallewela","followers_url":"https://api.github.com/users/nwnpallewela/followers","following_url":"https://api.github.com/users/nwnpallewela/following{/other_user}","gists_url":"https://api.github.com/users/nwnpallewela/gists{/gist_id}","starred_url":"https://api.github.com/users/nwnpallewela/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nwnpallewela/subscriptions","organizations_url":"https://api.github.com/users/nwnpallewela/orgs","repos_url":"https://api.github.com/users/nwnpallewela/repos","events_url":"https://api.github.com/users/nwnpallewela/events{/privacy}","received_events_url":"https://api.github.com/users/nwnpallewela/received_events","type":"User","site_admin":false},"body":"If comboScope's Text assigned a null, it through an exception.","created_at":"2015-09-29T06:11:16Z","updated_at":"2015-09-29T06:11:16Z","html_url":"https://github.com/wso2/developer-studio/pull/104#discussion_r40637468","pull_request_url":"https://api.github.com/repos/wso2/developer-studio/pulls/104","_links":{"self":{"href":"https://api.github.com/repos/wso2/developer-studio/pulls/comments/40637468"},"html":{"href":"https://github.com/wso2/developer-studio/pull/104#discussion_r40637468"},"pull_request":{"href":"https://api.github.com/repos/wso2/developer-studio/pulls/104"}}},"pull_request":{"url":"https://api.github.com/repos/wso2/developer-studio/pulls/104","id":46162784,"html_url":"https://github.com/wso2/developer-studio/pull/104","diff_url":"https://github.com/wso2/developer-studio/pull/104.diff","patch_url":"https://github.com/wso2/developer-studio/pull/104.patch","issue_url":"https://api.github.com/repos/wso2/developer-studio/issues/104","number":104,"state":"open","locked":false,"title":"Fixing Tools-3205","user":{"login":"nwnpallewela","id":1607013,"avatar_url":"https://avatars.githubusercontent.com/u/1607013?v=3","gravatar_id":"","url":"https://api.github.com/users/nwnpallewela","html_url":"https://github.com/nwnpallewela","followers_url":"https://api.github.com/users/nwnpallewela/followers","following_url":"https://api.github.com/users/nwnpallewela/following{/other_user}","gists_url":"https://api.github.com/users/nwnpallewela/gists{/gist_id}","starred_url":"https://api.github.com/users/nwnpallewela/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nwnpallewela/subscriptions","organizations_url":"https://api.github.com/users/nwnpallewela/orgs","repos_url":"https://api.github.com/users/nwnpallewela/repos","events_url":"https://api.github.com/users/nwnpallewela/events{/privacy}","received_events_url":"https://api.github.com/users/nwnpallewela/received_events","type":"User","site_admin":false},"body":"Fixing Tools 3205","created_at":"2015-09-28T14:24:42Z","updated_at":"2015-09-29T06:11:16Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c0ab2a7508daa12608542c65df44df0acf5b93c5","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/wso2/developer-studio/pulls/104/commits","review_comments_url":"https://api.github.com/repos/wso2/developer-studio/pulls/104/comments","review_comment_url":"https://api.github.com/repos/wso2/developer-studio/pulls/comments{/number}","comments_url":"https://api.github.com/repos/wso2/developer-studio/issues/104/comments","statuses_url":"https://api.github.com/repos/wso2/developer-studio/statuses/14bd84c1cbe453d22c6f0dba940d81f379326f3a","head":{"label":"nwnpallewela:developer-studio-3.8.0","ref":"developer-studio-3.8.0","sha":"14bd84c1cbe453d22c6f0dba940d81f379326f3a","user":{"login":"nwnpallewela","id":1607013,"avatar_url":"https://avatars.githubusercontent.com/u/1607013?v=3","gravatar_id":"","url":"https://api.github.com/users/nwnpallewela","html_url":"https://github.com/nwnpallewela","followers_url":"https://api.github.com/users/nwnpallewela/followers","following_url":"https://api.github.com/users/nwnpallewela/following{/other_user}","gists_url":"https://api.github.com/users/nwnpallewela/gists{/gist_id}","starred_url":"https://api.github.com/users/nwnpallewela/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nwnpallewela/subscriptions","organizations_url":"https://api.github.com/users/nwnpallewela/orgs","repos_url":"https://api.github.com/users/nwnpallewela/repos","events_url":"https://api.github.com/users/nwnpallewela/events{/privacy}","received_events_url":"https://api.github.com/users/nwnpallewela/received_events","type":"User","site_admin":false},"repo":{"id":38490492,"name":"developer-studio","full_name":"nwnpallewela/developer-studio","owner":{"login":"nwnpallewela","id":1607013,"avatar_url":"https://avatars.githubusercontent.com/u/1607013?v=3","gravatar_id":"","url":"https://api.github.com/users/nwnpallewela","html_url":"https://github.com/nwnpallewela","followers_url":"https://api.github.com/users/nwnpallewela/followers","following_url":"https://api.github.com/users/nwnpallewela/following{/other_user}","gists_url":"https://api.github.com/users/nwnpallewela/gists{/gist_id}","starred_url":"https://api.github.com/users/nwnpallewela/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nwnpallewela/subscriptions","organizations_url":"https://api.github.com/users/nwnpallewela/orgs","repos_url":"https://api.github.com/users/nwnpallewela/repos","events_url":"https://api.github.com/users/nwnpallewela/events{/privacy}","received_events_url":"https://api.github.com/users/nwnpallewela/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/nwnpallewela/developer-studio","description":"WSO2 Developer Studio IDE Public Repository","fork":true,"url":"https://api.github.com/repos/nwnpallewela/developer-studio","forks_url":"https://api.github.com/repos/nwnpallewela/developer-studio/forks","keys_url":"https://api.github.com/repos/nwnpallewela/developer-studio/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nwnpallewela/developer-studio/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nwnpallewela/developer-studio/teams","hooks_url":"https://api.github.com/repos/nwnpallewela/developer-studio/hooks","issue_events_url":"https://api.github.com/repos/nwnpallewela/developer-studio/issues/events{/number}","events_url":"https://api.github.com/repos/nwnpallewela/developer-studio/events","assignees_url":"https://api.github.com/repos/nwnpallewela/developer-studio/assignees{/user}","branches_url":"https://api.github.com/repos/nwnpallewela/developer-studio/branches{/branch}","tags_url":"https://api.github.com/repos/nwnpallewela/developer-studio/tags","blobs_url":"https://api.github.com/repos/nwnpallewela/developer-studio/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nwnpallewela/developer-studio/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nwnpallewela/developer-studio/git/refs{/sha}","trees_url":"https://api.github.com/repos/nwnpallewela/developer-studio/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nwnpallewela/developer-studio/statuses/{sha}","languages_url":"https://api.github.com/repos/nwnpallewela/developer-studio/languages","stargazers_url":"https://api.github.com/repos/nwnpallewela/developer-studio/stargazers","contributors_url":"https://api.github.com/repos/nwnpallewela/developer-studio/contributors","subscribers_url":"https://api.github.com/repos/nwnpallewela/developer-studio/subscribers","subscription_url":"https://api.github.com/repos/nwnpallewela/developer-studio/subscription","commits_url":"https://api.github.com/repos/nwnpallewela/developer-studio/commits{/sha}","git_commits_url":"https://api.github.com/repos/nwnpallewela/developer-studio/git/commits{/sha}","comments_url":"https://api.github.com/repos/nwnpallewela/developer-studio/comments{/number}","issue_comment_url":"https://api.github.com/repos/nwnpallewela/developer-studio/issues/comments{/number}","contents_url":"https://api.github.com/repos/nwnpallewela/developer-studio/contents/{+path}","compare_url":"https://api.github.com/repos/nwnpallewela/developer-studio/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nwnpallewela/developer-studio/merges","archive_url":"https://api.github.com/repos/nwnpallewela/developer-studio/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nwnpallewela/developer-studio/downloads","issues_url":"https://api.github.com/repos/nwnpallewela/developer-studio/issues{/number}","pulls_url":"https://api.github.com/repos/nwnpallewela/developer-studio/pulls{/number}","milestones_url":"https://api.github.com/repos/nwnpallewela/developer-studio/milestones{/number}","notifications_url":"https://api.github.com/repos/nwnpallewela/developer-studio/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nwnpallewela/developer-studio/labels{/name}","releases_url":"https://api.github.com/repos/nwnpallewela/developer-studio/releases{/id}","created_at":"2015-07-03T11:57:04Z","updated_at":"2015-07-03T11:57:46Z","pushed_at":"2015-09-28T14:23:14Z","git_url":"git://github.com/nwnpallewela/developer-studio.git","ssh_url":"git@github.com:nwnpallewela/developer-studio.git","clone_url":"https://github.com/nwnpallewela/developer-studio.git","svn_url":"https://github.com/nwnpallewela/developer-studio","homepage":null,"size":220301,"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":"developer-studio-3.8.0"}},"base":{"label":"wso2:developer-studio-3.8.0","ref":"developer-studio-3.8.0","sha":"fce4566967439dc1d43933f3d5f17d5aed6c53bb","user":{"login":"wso2","id":533043,"avatar_url":"https://avatars.githubusercontent.com/u/533043?v=3","gravatar_id":"","url":"https://api.github.com/users/wso2","html_url":"https://github.com/wso2","followers_url":"https://api.github.com/users/wso2/followers","following_url":"https://api.github.com/users/wso2/following{/other_user}","gists_url":"https://api.github.com/users/wso2/gists{/gist_id}","starred_url":"https://api.github.com/users/wso2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wso2/subscriptions","organizations_url":"https://api.github.com/users/wso2/orgs","repos_url":"https://api.github.com/users/wso2/repos","events_url":"https://api.github.com/users/wso2/events{/privacy}","received_events_url":"https://api.github.com/users/wso2/received_events","type":"Organization","site_admin":false},"repo":{"id":16803058,"name":"developer-studio","full_name":"wso2/developer-studio","owner":{"login":"wso2","id":533043,"avatar_url":"https://avatars.githubusercontent.com/u/533043?v=3","gravatar_id":"","url":"https://api.github.com/users/wso2","html_url":"https://github.com/wso2","followers_url":"https://api.github.com/users/wso2/followers","following_url":"https://api.github.com/users/wso2/following{/other_user}","gists_url":"https://api.github.com/users/wso2/gists{/gist_id}","starred_url":"https://api.github.com/users/wso2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wso2/subscriptions","organizations_url":"https://api.github.com/users/wso2/orgs","repos_url":"https://api.github.com/users/wso2/repos","events_url":"https://api.github.com/users/wso2/events{/privacy}","received_events_url":"https://api.github.com/users/wso2/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/wso2/developer-studio","description":"WSO2 Developer Studio IDE Public Repository","fork":false,"url":"https://api.github.com/repos/wso2/developer-studio","forks_url":"https://api.github.com/repos/wso2/developer-studio/forks","keys_url":"https://api.github.com/repos/wso2/developer-studio/keys{/key_id}","collaborators_url":"https://api.github.com/repos/wso2/developer-studio/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/wso2/developer-studio/teams","hooks_url":"https://api.github.com/repos/wso2/developer-studio/hooks","issue_events_url":"https://api.github.com/repos/wso2/developer-studio/issues/events{/number}","events_url":"https://api.github.com/repos/wso2/developer-studio/events","assignees_url":"https://api.github.com/repos/wso2/developer-studio/assignees{/user}","branches_url":"https://api.github.com/repos/wso2/developer-studio/branches{/branch}","tags_url":"https://api.github.com/repos/wso2/developer-studio/tags","blobs_url":"https://api.github.com/repos/wso2/developer-studio/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/wso2/developer-studio/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/wso2/developer-studio/git/refs{/sha}","trees_url":"https://api.github.com/repos/wso2/developer-studio/git/trees{/sha}","statuses_url":"https://api.github.com/repos/wso2/developer-studio/statuses/{sha}","languages_url":"https://api.github.com/repos/wso2/developer-studio/languages","stargazers_url":"https://api.github.com/repos/wso2/developer-studio/stargazers","contributors_url":"https://api.github.com/repos/wso2/developer-studio/contributors","subscribers_url":"https://api.github.com/repos/wso2/developer-studio/subscribers","subscription_url":"https://api.github.com/repos/wso2/developer-studio/subscription","commits_url":"https://api.github.com/repos/wso2/developer-studio/commits{/sha}","git_commits_url":"https://api.github.com/repos/wso2/developer-studio/git/commits{/sha}","comments_url":"https://api.github.com/repos/wso2/developer-studio/comments{/number}","issue_comment_url":"https://api.github.com/repos/wso2/developer-studio/issues/comments{/number}","contents_url":"https://api.github.com/repos/wso2/developer-studio/contents/{+path}","compare_url":"https://api.github.com/repos/wso2/developer-studio/compare/{base}...{head}","merges_url":"https://api.github.com/repos/wso2/developer-studio/merges","archive_url":"https://api.github.com/repos/wso2/developer-studio/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/wso2/developer-studio/downloads","issues_url":"https://api.github.com/repos/wso2/developer-studio/issues{/number}","pulls_url":"https://api.github.com/repos/wso2/developer-studio/pulls{/number}","milestones_url":"https://api.github.com/repos/wso2/developer-studio/milestones{/number}","notifications_url":"https://api.github.com/repos/wso2/developer-studio/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/wso2/developer-studio/labels{/name}","releases_url":"https://api.github.com/repos/wso2/developer-studio/releases{/id}","created_at":"2014-02-13T13:05:34Z","updated_at":"2015-08-26T02:23:15Z","pushed_at":"2015-09-28T14:24:42Z","git_url":"git://github.com/wso2/developer-studio.git","ssh_url":"git@github.com:wso2/developer-studio.git","clone_url":"https://github.com/wso2/developer-studio.git","svn_url":"https://github.com/wso2/developer-studio","homepage":null,"size":253026,"stargazers_count":8,"watchers_count":8,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":30,"mirror_url":null,"open_issues_count":2,"forks":30,"open_issues":2,"watchers":8,"default_branch":"developer-studio-3.8.0"}},"_links":{"self":{"href":"https://api.github.com/repos/wso2/developer-studio/pulls/104"},"html":{"href":"https://github.com/wso2/developer-studio/pull/104"},"issue":{"href":"https://api.github.com/repos/wso2/developer-studio/issues/104"},"comments":{"href":"https://api.github.com/repos/wso2/developer-studio/issues/104/comments"},"review_comments":{"href":"https://api.github.com/repos/wso2/developer-studio/pulls/104/comments"},"review_comment":{"href":"https://api.github.com/repos/wso2/developer-studio/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/wso2/developer-studio/pulls/104/commits"},"statuses":{"href":"https://api.github.com/repos/wso2/developer-studio/statuses/14bd84c1cbe453d22c6f0dba940d81f379326f3a"}}}}