{"action":"created","comment":{"url":"https://api.github.com/repos/diffblue/deeptest-utils/pulls/comments/194826294","pull_request_review_id":128071563,"id":194826294,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDE5NDgyNjI5NA==","diff_hunk":"@@ -449,7 +464,11 @@ private static void makePublic(final CtClass c) {\n           .get(newClassName + \"_implementation\"));\n       }\n     } else {\n-      return getInstance(Class.forName(className));\n+      try {\n+        return getInstance(Class.forName(className));","path":"src/main/java/com/diffblue/deeptestutils/Reflector.java","position":67,"original_position":67,"commit_id":"935ea8de17aad6d03d577f00f751ae6b3c9f6243","original_commit_id":"935ea8de17aad6d03d577f00f751ae6b3c9f6243","user":{"login":"thk123","id":638608,"node_id":"MDQ6VXNlcjYzODYwOA==","avatar_url":"https://avatars3.githubusercontent.com/u/638608?v=4","gravatar_id":"","url":"https://api.github.com/users/thk123","html_url":"https://github.com/thk123","followers_url":"https://api.github.com/users/thk123/followers","following_url":"https://api.github.com/users/thk123/following{/other_user}","gists_url":"https://api.github.com/users/thk123/gists{/gist_id}","starred_url":"https://api.github.com/users/thk123/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thk123/subscriptions","organizations_url":"https://api.github.com/users/thk123/orgs","repos_url":"https://api.github.com/users/thk123/repos","events_url":"https://api.github.com/users/thk123/events{/privacy}","received_events_url":"https://api.github.com/users/thk123/received_events","type":"User","site_admin":false},"body":"where is `ExceptionInInitializerError` coming from? ","created_at":"2018-06-12T17:33:24Z","updated_at":"2018-06-12T17:33:24Z","html_url":"https://github.com/diffblue/deeptest-utils/pull/18#discussion_r194826294","pull_request_url":"https://api.github.com/repos/diffblue/deeptest-utils/pulls/18","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/diffblue/deeptest-utils/pulls/comments/194826294"},"html":{"href":"https://github.com/diffblue/deeptest-utils/pull/18#discussion_r194826294"},"pull_request":{"href":"https://api.github.com/repos/diffblue/deeptest-utils/pulls/18"}}},"pull_request":{"url":"https://api.github.com/repos/diffblue/deeptest-utils/pulls/18","id":194226255,"node_id":"MDExOlB1bGxSZXF1ZXN0MTk0MjI2MjU1","html_url":"https://github.com/diffblue/deeptest-utils/pull/18","diff_url":"https://github.com/diffblue/deeptest-utils/pull/18.diff","patch_url":"https://github.com/diffblue/deeptest-utils/pull/18.patch","issue_url":"https://api.github.com/repos/diffblue/deeptest-utils/issues/18","number":18,"state":"open","locked":false,"title":"[TG-3881] Do not catch `InvocationTargetException` in `getInstance`","user":{"login":"mgudemann","id":2590540,"node_id":"MDQ6VXNlcjI1OTA1NDA=","avatar_url":"https://avatars0.githubusercontent.com/u/2590540?v=4","gravatar_id":"","url":"https://api.github.com/users/mgudemann","html_url":"https://github.com/mgudemann","followers_url":"https://api.github.com/users/mgudemann/followers","following_url":"https://api.github.com/users/mgudemann/following{/other_user}","gists_url":"https://api.github.com/users/mgudemann/gists{/gist_id}","starred_url":"https://api.github.com/users/mgudemann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mgudemann/subscriptions","organizations_url":"https://api.github.com/users/mgudemann/orgs","repos_url":"https://api.github.com/users/mgudemann/repos","events_url":"https://api.github.com/users/mgudemann/events{/privacy}","received_events_url":"https://api.github.com/users/mgudemann/received_events","type":"User","site_admin":false},"body":"Before, we caught the `InvocationTargetException` when `getInstance` was\r\ncalled. This prevented the occurrence of the exception in the default\r\nconstructor. This patch removes the catch and adds throw annotations so that the\r\nexception can be caught in the generated test method.","created_at":"2018-06-12T09:56:15Z","updated_at":"2018-06-12T17:33:24Z","closed_at":null,"merged_at":null,"merge_commit_sha":"8905c56cd873cf5dfc7fe6c5b293ba531e89bfa8","assignee":{"login":"mgudemann","id":2590540,"node_id":"MDQ6VXNlcjI1OTA1NDA=","avatar_url":"https://avatars0.githubusercontent.com/u/2590540?v=4","gravatar_id":"","url":"https://api.github.com/users/mgudemann","html_url":"https://github.com/mgudemann","followers_url":"https://api.github.com/users/mgudemann/followers","following_url":"https://api.github.com/users/mgudemann/following{/other_user}","gists_url":"https://api.github.com/users/mgudemann/gists{/gist_id}","starred_url":"https://api.github.com/users/mgudemann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mgudemann/subscriptions","organizations_url":"https://api.github.com/users/mgudemann/orgs","repos_url":"https://api.github.com/users/mgudemann/repos","events_url":"https://api.github.com/users/mgudemann/events{/privacy}","received_events_url":"https://api.github.com/users/mgudemann/received_events","type":"User","site_admin":false},"assignees":[{"login":"mgudemann","id":2590540,"node_id":"MDQ6VXNlcjI1OTA1NDA=","avatar_url":"https://avatars0.githubusercontent.com/u/2590540?v=4","gravatar_id":"","url":"https://api.github.com/users/mgudemann","html_url":"https://github.com/mgudemann","followers_url":"https://api.github.com/users/mgudemann/followers","following_url":"https://api.github.com/users/mgudemann/following{/other_user}","gists_url":"https://api.github.com/users/mgudemann/gists{/gist_id}","starred_url":"https://api.github.com/users/mgudemann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mgudemann/subscriptions","organizations_url":"https://api.github.com/users/mgudemann/orgs","repos_url":"https://api.github.com/users/mgudemann/repos","events_url":"https://api.github.com/users/mgudemann/events{/privacy}","received_events_url":"https://api.github.com/users/mgudemann/received_events","type":"User","site_admin":false}],"requested_reviewers":[{"login":"antlechner","id":31538957,"node_id":"MDQ6VXNlcjMxNTM4OTU3","avatar_url":"https://avatars0.githubusercontent.com/u/31538957?v=4","gravatar_id":"","url":"https://api.github.com/users/antlechner","html_url":"https://github.com/antlechner","followers_url":"https://api.github.com/users/antlechner/followers","following_url":"https://api.github.com/users/antlechner/following{/other_user}","gists_url":"https://api.github.com/users/antlechner/gists{/gist_id}","starred_url":"https://api.github.com/users/antlechner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/antlechner/subscriptions","organizations_url":"https://api.github.com/users/antlechner/orgs","repos_url":"https://api.github.com/users/antlechner/repos","events_url":"https://api.github.com/users/antlechner/events{/privacy}","received_events_url":"https://api.github.com/users/antlechner/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/diffblue/deeptest-utils/pulls/18/commits","review_comments_url":"https://api.github.com/repos/diffblue/deeptest-utils/pulls/18/comments","review_comment_url":"https://api.github.com/repos/diffblue/deeptest-utils/pulls/comments{/number}","comments_url":"https://api.github.com/repos/diffblue/deeptest-utils/issues/18/comments","statuses_url":"https://api.github.com/repos/diffblue/deeptest-utils/statuses/935ea8de17aad6d03d577f00f751ae6b3c9f6243","head":{"label":"diffblue:bugfix/exception/throw_invocationtargetexception_from_ctor","ref":"bugfix/exception/throw_invocationtargetexception_from_ctor","sha":"935ea8de17aad6d03d577f00f751ae6b3c9f6243","user":{"login":"diffblue","id":17216098,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE3MjE2MDk4","avatar_url":"https://avatars0.githubusercontent.com/u/17216098?v=4","gravatar_id":"","url":"https://api.github.com/users/diffblue","html_url":"https://github.com/diffblue","followers_url":"https://api.github.com/users/diffblue/followers","following_url":"https://api.github.com/users/diffblue/following{/other_user}","gists_url":"https://api.github.com/users/diffblue/gists{/gist_id}","starred_url":"https://api.github.com/users/diffblue/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/diffblue/subscriptions","organizations_url":"https://api.github.com/users/diffblue/orgs","repos_url":"https://api.github.com/users/diffblue/repos","events_url":"https://api.github.com/users/diffblue/events{/privacy}","received_events_url":"https://api.github.com/users/diffblue/received_events","type":"Organization","site_admin":false},"repo":{"id":115024921,"node_id":"MDEwOlJlcG9zaXRvcnkxMTUwMjQ5MjE=","name":"deeptest-utils","full_name":"diffblue/deeptest-utils","owner":{"login":"diffblue","id":17216098,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE3MjE2MDk4","avatar_url":"https://avatars0.githubusercontent.com/u/17216098?v=4","gravatar_id":"","url":"https://api.github.com/users/diffblue","html_url":"https://github.com/diffblue","followers_url":"https://api.github.com/users/diffblue/followers","following_url":"https://api.github.com/users/diffblue/following{/other_user}","gists_url":"https://api.github.com/users/diffblue/gists{/gist_id}","starred_url":"https://api.github.com/users/diffblue/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/diffblue/subscriptions","organizations_url":"https://api.github.com/users/diffblue/orgs","repos_url":"https://api.github.com/users/diffblue/repos","events_url":"https://api.github.com/users/diffblue/events{/privacy}","received_events_url":"https://api.github.com/users/diffblue/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/diffblue/deeptest-utils","description":null,"fork":false,"url":"https://api.github.com/repos/diffblue/deeptest-utils","forks_url":"https://api.github.com/repos/diffblue/deeptest-utils/forks","keys_url":"https://api.github.com/repos/diffblue/deeptest-utils/keys{/key_id}","collaborators_url":"https://api.github.com/repos/diffblue/deeptest-utils/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/diffblue/deeptest-utils/teams","hooks_url":"https://api.github.com/repos/diffblue/deeptest-utils/hooks","issue_events_url":"https://api.github.com/repos/diffblue/deeptest-utils/issues/events{/number}","events_url":"https://api.github.com/repos/diffblue/deeptest-utils/events","assignees_url":"https://api.github.com/repos/diffblue/deeptest-utils/assignees{/user}","branches_url":"https://api.github.com/repos/diffblue/deeptest-utils/branches{/branch}","tags_url":"https://api.github.com/repos/diffblue/deeptest-utils/tags","blobs_url":"https://api.github.com/repos/diffblue/deeptest-utils/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/diffblue/deeptest-utils/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/diffblue/deeptest-utils/git/refs{/sha}","trees_url":"https://api.github.com/repos/diffblue/deeptest-utils/git/trees{/sha}","statuses_url":"https://api.github.com/repos/diffblue/deeptest-utils/statuses/{sha}","languages_url":"https://api.github.com/repos/diffblue/deeptest-utils/languages","stargazers_url":"https://api.github.com/repos/diffblue/deeptest-utils/stargazers","contributors_url":"https://api.github.com/repos/diffblue/deeptest-utils/contributors","subscribers_url":"https://api.github.com/repos/diffblue/deeptest-utils/subscribers","subscription_url":"https://api.github.com/repos/diffblue/deeptest-utils/subscription","commits_url":"https://api.github.com/repos/diffblue/deeptest-utils/commits{/sha}","git_commits_url":"https://api.github.com/repos/diffblue/deeptest-utils/git/commits{/sha}","comments_url":"https://api.github.com/repos/diffblue/deeptest-utils/comments{/number}","issue_comment_url":"https://api.github.com/repos/diffblue/deeptest-utils/issues/comments{/number}","contents_url":"https://api.github.com/repos/diffblue/deeptest-utils/contents/{+path}","compare_url":"https://api.github.com/repos/diffblue/deeptest-utils/compare/{base}...{head}","merges_url":"https://api.github.com/repos/diffblue/deeptest-utils/merges","archive_url":"https://api.github.com/repos/diffblue/deeptest-utils/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/diffblue/deeptest-utils/downloads","issues_url":"https://api.github.com/repos/diffblue/deeptest-utils/issues{/number}","pulls_url":"https://api.github.com/repos/diffblue/deeptest-utils/pulls{/number}","milestones_url":"https://api.github.com/repos/diffblue/deeptest-utils/milestones{/number}","notifications_url":"https://api.github.com/repos/diffblue/deeptest-utils/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/diffblue/deeptest-utils/labels{/name}","releases_url":"https://api.github.com/repos/diffblue/deeptest-utils/releases{/id}","deployments_url":"https://api.github.com/repos/diffblue/deeptest-utils/deployments","created_at":"2017-12-21T16:20:12Z","updated_at":"2018-05-17T11:29:46Z","pushed_at":"2018-06-12T17:19:37Z","git_url":"git://github.com/diffblue/deeptest-utils.git","ssh_url":"git@github.com:diffblue/deeptest-utils.git","clone_url":"https://github.com/diffblue/deeptest-utils.git","svn_url":"https://github.com/diffblue/deeptest-utils","homepage":null,"size":56,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":{"key":"bsd-3-clause","name":"BSD 3-Clause \"New\" or \"Revised\" License","spdx_id":"BSD-3-Clause","url":"https://api.github.com/licenses/bsd-3-clause","node_id":"MDc6TGljZW5zZTU="},"forks":0,"open_issues":1,"watchers":0,"default_branch":"develop"}},"base":{"label":"diffblue:develop","ref":"develop","sha":"2c5603fb973aaf624fa2b8a4acd10a0605d0aedb","user":{"login":"diffblue","id":17216098,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE3MjE2MDk4","avatar_url":"https://avatars0.githubusercontent.com/u/17216098?v=4","gravatar_id":"","url":"https://api.github.com/users/diffblue","html_url":"https://github.com/diffblue","followers_url":"https://api.github.com/users/diffblue/followers","following_url":"https://api.github.com/users/diffblue/following{/other_user}","gists_url":"https://api.github.com/users/diffblue/gists{/gist_id}","starred_url":"https://api.github.com/users/diffblue/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/diffblue/subscriptions","organizations_url":"https://api.github.com/users/diffblue/orgs","repos_url":"https://api.github.com/users/diffblue/repos","events_url":"https://api.github.com/users/diffblue/events{/privacy}","received_events_url":"https://api.github.com/users/diffblue/received_events","type":"Organization","site_admin":false},"repo":{"id":115024921,"node_id":"MDEwOlJlcG9zaXRvcnkxMTUwMjQ5MjE=","name":"deeptest-utils","full_name":"diffblue/deeptest-utils","owner":{"login":"diffblue","id":17216098,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE3MjE2MDk4","avatar_url":"https://avatars0.githubusercontent.com/u/17216098?v=4","gravatar_id":"","url":"https://api.github.com/users/diffblue","html_url":"https://github.com/diffblue","followers_url":"https://api.github.com/users/diffblue/followers","following_url":"https://api.github.com/users/diffblue/following{/other_user}","gists_url":"https://api.github.com/users/diffblue/gists{/gist_id}","starred_url":"https://api.github.com/users/diffblue/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/diffblue/subscriptions","organizations_url":"https://api.github.com/users/diffblue/orgs","repos_url":"https://api.github.com/users/diffblue/repos","events_url":"https://api.github.com/users/diffblue/events{/privacy}","received_events_url":"https://api.github.com/users/diffblue/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/diffblue/deeptest-utils","description":null,"fork":false,"url":"https://api.github.com/repos/diffblue/deeptest-utils","forks_url":"https://api.github.com/repos/diffblue/deeptest-utils/forks","keys_url":"https://api.github.com/repos/diffblue/deeptest-utils/keys{/key_id}","collaborators_url":"https://api.github.com/repos/diffblue/deeptest-utils/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/diffblue/deeptest-utils/teams","hooks_url":"https://api.github.com/repos/diffblue/deeptest-utils/hooks","issue_events_url":"https://api.github.com/repos/diffblue/deeptest-utils/issues/events{/number}","events_url":"https://api.github.com/repos/diffblue/deeptest-utils/events","assignees_url":"https://api.github.com/repos/diffblue/deeptest-utils/assignees{/user}","branches_url":"https://api.github.com/repos/diffblue/deeptest-utils/branches{/branch}","tags_url":"https://api.github.com/repos/diffblue/deeptest-utils/tags","blobs_url":"https://api.github.com/repos/diffblue/deeptest-utils/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/diffblue/deeptest-utils/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/diffblue/deeptest-utils/git/refs{/sha}","trees_url":"https://api.github.com/repos/diffblue/deeptest-utils/git/trees{/sha}","statuses_url":"https://api.github.com/repos/diffblue/deeptest-utils/statuses/{sha}","languages_url":"https://api.github.com/repos/diffblue/deeptest-utils/languages","stargazers_url":"https://api.github.com/repos/diffblue/deeptest-utils/stargazers","contributors_url":"https://api.github.com/repos/diffblue/deeptest-utils/contributors","subscribers_url":"https://api.github.com/repos/diffblue/deeptest-utils/subscribers","subscription_url":"https://api.github.com/repos/diffblue/deeptest-utils/subscription","commits_url":"https://api.github.com/repos/diffblue/deeptest-utils/commits{/sha}","git_commits_url":"https://api.github.com/repos/diffblue/deeptest-utils/git/commits{/sha}","comments_url":"https://api.github.com/repos/diffblue/deeptest-utils/comments{/number}","issue_comment_url":"https://api.github.com/repos/diffblue/deeptest-utils/issues/comments{/number}","contents_url":"https://api.github.com/repos/diffblue/deeptest-utils/contents/{+path}","compare_url":"https://api.github.com/repos/diffblue/deeptest-utils/compare/{base}...{head}","merges_url":"https://api.github.com/repos/diffblue/deeptest-utils/merges","archive_url":"https://api.github.com/repos/diffblue/deeptest-utils/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/diffblue/deeptest-utils/downloads","issues_url":"https://api.github.com/repos/diffblue/deeptest-utils/issues{/number}","pulls_url":"https://api.github.com/repos/diffblue/deeptest-utils/pulls{/number}","milestones_url":"https://api.github.com/repos/diffblue/deeptest-utils/milestones{/number}","notifications_url":"https://api.github.com/repos/diffblue/deeptest-utils/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/diffblue/deeptest-utils/labels{/name}","releases_url":"https://api.github.com/repos/diffblue/deeptest-utils/releases{/id}","deployments_url":"https://api.github.com/repos/diffblue/deeptest-utils/deployments","created_at":"2017-12-21T16:20:12Z","updated_at":"2018-05-17T11:29:46Z","pushed_at":"2018-06-12T17:19:37Z","git_url":"git://github.com/diffblue/deeptest-utils.git","ssh_url":"git@github.com:diffblue/deeptest-utils.git","clone_url":"https://github.com/diffblue/deeptest-utils.git","svn_url":"https://github.com/diffblue/deeptest-utils","homepage":null,"size":56,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":{"key":"bsd-3-clause","name":"BSD 3-Clause \"New\" or \"Revised\" License","spdx_id":"BSD-3-Clause","url":"https://api.github.com/licenses/bsd-3-clause","node_id":"MDc6TGljZW5zZTU="},"forks":0,"open_issues":1,"watchers":0,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/diffblue/deeptest-utils/pulls/18"},"html":{"href":"https://github.com/diffblue/deeptest-utils/pull/18"},"issue":{"href":"https://api.github.com/repos/diffblue/deeptest-utils/issues/18"},"comments":{"href":"https://api.github.com/repos/diffblue/deeptest-utils/issues/18/comments"},"review_comments":{"href":"https://api.github.com/repos/diffblue/deeptest-utils/pulls/18/comments"},"review_comment":{"href":"https://api.github.com/repos/diffblue/deeptest-utils/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/diffblue/deeptest-utils/pulls/18/commits"},"statuses":{"href":"https://api.github.com/repos/diffblue/deeptest-utils/statuses/935ea8de17aad6d03d577f00f751ae6b3c9f6243"}},"author_association":"MEMBER"}}
{"actor":{"display_login":"thk123"}}