{"action":"created","issue":{"url":"https://api.github.com/repos/jayhorn/jayhorn/issues/61","repository_url":"https://api.github.com/repos/jayhorn/jayhorn","labels_url":"https://api.github.com/repos/jayhorn/jayhorn/issues/61/labels{/name}","comments_url":"https://api.github.com/repos/jayhorn/jayhorn/issues/61/comments","events_url":"https://api.github.com/repos/jayhorn/jayhorn/issues/61/events","html_url":"https://github.com/jayhorn/jayhorn/issues/61","id":176954944,"number":61,"title":"JayHorn does not detect NullPointerException","user":{"login":"pruemmer","id":4580351,"avatar_url":"https://avatars.githubusercontent.com/u/4580351?v=3","gravatar_id":"","url":"https://api.github.com/users/pruemmer","html_url":"https://github.com/pruemmer","followers_url":"https://api.github.com/users/pruemmer/followers","following_url":"https://api.github.com/users/pruemmer/following{/other_user}","gists_url":"https://api.github.com/users/pruemmer/gists{/gist_id}","starred_url":"https://api.github.com/users/pruemmer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pruemmer/subscriptions","organizations_url":"https://api.github.com/users/pruemmer/orgs","repos_url":"https://api.github.com/users/pruemmer/repos","events_url":"https://api.github.com/users/pruemmer/events{/privacy}","received_events_url":"https://api.github.com/users/pruemmer/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":{"login":"rodykersten","id":6430879,"avatar_url":"https://avatars.githubusercontent.com/u/6430879?v=3","gravatar_id":"","url":"https://api.github.com/users/rodykersten","html_url":"https://github.com/rodykersten","followers_url":"https://api.github.com/users/rodykersten/followers","following_url":"https://api.github.com/users/rodykersten/following{/other_user}","gists_url":"https://api.github.com/users/rodykersten/gists{/gist_id}","starred_url":"https://api.github.com/users/rodykersten/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rodykersten/subscriptions","organizations_url":"https://api.github.com/users/rodykersten/orgs","repos_url":"https://api.github.com/users/rodykersten/repos","events_url":"https://api.github.com/users/rodykersten/events{/privacy}","received_events_url":"https://api.github.com/users/rodykersten/received_events","type":"User","site_admin":false},"assignees":[{"login":"rodykersten","id":6430879,"avatar_url":"https://avatars.githubusercontent.com/u/6430879?v=3","gravatar_id":"","url":"https://api.github.com/users/rodykersten","html_url":"https://github.com/rodykersten","followers_url":"https://api.github.com/users/rodykersten/followers","following_url":"https://api.github.com/users/rodykersten/following{/other_user}","gists_url":"https://api.github.com/users/rodykersten/gists{/gist_id}","starred_url":"https://api.github.com/users/rodykersten/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rodykersten/subscriptions","organizations_url":"https://api.github.com/users/rodykersten/orgs","repos_url":"https://api.github.com/users/rodykersten/repos","events_url":"https://api.github.com/users/rodykersten/events{/privacy}","received_events_url":"https://api.github.com/users/rodykersten/received_events","type":"User","site_admin":false}],"milestone":null,"comments":7,"created_at":"2016-09-14T16:26:49Z","updated_at":"2016-09-16T04:00:23Z","closed_at":"2016-09-15T03:03:55Z","body":"```\r\npublic class Test {\r\n    public int x;\r\n    public static Test a = null;\r\n    public static void main(String[] args) {\r\n        a = null;\r\n        a.x = 42;\r\n    }\r\n}\r\n```\r\n\r\nis considered SAFE (when JayHorn is run with option -mem-prec 0)"},"comment":{"url":"https://api.github.com/repos/jayhorn/jayhorn/issues/comments/247513015","html_url":"https://github.com/jayhorn/jayhorn/issues/61#issuecomment-247513015","issue_url":"https://api.github.com/repos/jayhorn/jayhorn/issues/61","id":247513015,"user":{"login":"martinschaef","id":3271003,"avatar_url":"https://avatars.githubusercontent.com/u/3271003?v=3","gravatar_id":"","url":"https://api.github.com/users/martinschaef","html_url":"https://github.com/martinschaef","followers_url":"https://api.github.com/users/martinschaef/followers","following_url":"https://api.github.com/users/martinschaef/following{/other_user}","gists_url":"https://api.github.com/users/martinschaef/gists{/gist_id}","starred_url":"https://api.github.com/users/martinschaef/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/martinschaef/subscriptions","organizations_url":"https://api.github.com/users/martinschaef/orgs","repos_url":"https://api.github.com/users/martinschaef/repos","events_url":"https://api.github.com/users/martinschaef/events{/privacy}","received_events_url":"https://api.github.com/users/martinschaef/received_events","type":"User","site_admin":false},"created_at":"2016-09-16T04:00:23Z","updated_at":"2016-09-16T04:00:23Z","body":"Back to your question why `-rta` is off by default. Look at this example:\r\n\r\n```java\r\nstatic void boom(Object o) {\r\n  o.toString();\r\n}\r\n\r\nstatic void main(String[] args) {\r\n  try{boom(null);}\r\n  catch(NullPointerException e) {}\r\n}\r\n```\r\n\r\nIf `-rta` is switched on, you would get an assertion violation in `boom`. But you don't want that."}}
{"actor":{"display_login":"martinschaef"}}