{"action":"closed","issue":{"url":"https://api.github.com/repos/ceylon/ceylon-compiler/issues/2274","labels_url":"https://api.github.com/repos/ceylon/ceylon-compiler/issues/2274/labels{/name}","comments_url":"https://api.github.com/repos/ceylon/ceylon-compiler/issues/2274/comments","events_url":"https://api.github.com/repos/ceylon/ceylon-compiler/issues/2274/events","html_url":"https://github.com/ceylon/ceylon-compiler/issues/2274","id":101595843,"number":2274,"title":"NPE `MethodOrValueReferenceVisitor` in IDE","user":{"login":"sgalles","id":153065,"avatar_url":"https://avatars.githubusercontent.com/u/153065?v=3","gravatar_id":"","url":"https://api.github.com/users/sgalles","html_url":"https://github.com/sgalles","followers_url":"https://api.github.com/users/sgalles/followers","following_url":"https://api.github.com/users/sgalles/following{/other_user}","gists_url":"https://api.github.com/users/sgalles/gists{/gist_id}","starred_url":"https://api.github.com/users/sgalles/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sgalles/subscriptions","organizations_url":"https://api.github.com/users/sgalles/orgs","repos_url":"https://api.github.com/users/sgalles/repos","events_url":"https://api.github.com/users/sgalles/events{/privacy}","received_events_url":"https://api.github.com/users/sgalles/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ceylon/ceylon-compiler/labels/BUG","name":"BUG","color":"e10c02"}],"state":"closed","locked":false,"assignee":{"login":"tombentley","id":879487,"avatar_url":"https://avatars.githubusercontent.com/u/879487?v=3","gravatar_id":"","url":"https://api.github.com/users/tombentley","html_url":"https://github.com/tombentley","followers_url":"https://api.github.com/users/tombentley/followers","following_url":"https://api.github.com/users/tombentley/following{/other_user}","gists_url":"https://api.github.com/users/tombentley/gists{/gist_id}","starred_url":"https://api.github.com/users/tombentley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tombentley/subscriptions","organizations_url":"https://api.github.com/users/tombentley/orgs","repos_url":"https://api.github.com/users/tombentley/repos","events_url":"https://api.github.com/users/tombentley/events{/privacy}","received_events_url":"https://api.github.com/users/tombentley/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/ceylon/ceylon-compiler/milestones/11","html_url":"https://github.com/ceylon/ceylon-compiler/milestones/1.2","labels_url":"https://api.github.com/repos/ceylon/ceylon-compiler/milestones/11/labels","id":809477,"number":11,"title":"1.2","description":"","creator":{"login":"tombentley","id":879487,"avatar_url":"https://avatars.githubusercontent.com/u/879487?v=3","gravatar_id":"","url":"https://api.github.com/users/tombentley","html_url":"https://github.com/tombentley","followers_url":"https://api.github.com/users/tombentley/followers","following_url":"https://api.github.com/users/tombentley/following{/other_user}","gists_url":"https://api.github.com/users/tombentley/gists{/gist_id}","starred_url":"https://api.github.com/users/tombentley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tombentley/subscriptions","organizations_url":"https://api.github.com/users/tombentley/orgs","repos_url":"https://api.github.com/users/tombentley/repos","events_url":"https://api.github.com/users/tombentley/events{/privacy}","received_events_url":"https://api.github.com/users/tombentley/received_events","type":"User","site_admin":false},"open_issues":17,"closed_issues":337,"state":"open","created_at":"2014-10-01T08:51:07Z","updated_at":"2015-08-18T11:34:44Z","due_on":"2014-11-02T23:00:00Z","closed_at":null},"comments":5,"created_at":"2015-08-18T07:59:19Z","updated_at":"2015-08-18T11:34:44Z","closed_at":"2015-08-18T11:34:44Z","body":"This happens in the IDE only with this broken code\r\n```ceylon\r\nshared class Foo{\r\n\tshared new init();\r\n\tshared new () extends init(){} \r\n}\r\n```\r\n`the 'MethodOrValueReferenceVisitor' caused an exception visiting a 'ClassDefinition' node: '\"java.lang.NullPointerException\"' at 'com.redhat.ceylon.compiler.java.loader.MethodOrValueReferenceVisitor.visit(MethodOrValueReferenceVisitor.java:279)'`"}}