{"action":"opened","issue":{"url":"https://api.github.com/repos/ceylon/ceylon-spec/issues/1237","labels_url":"https://api.github.com/repos/ceylon/ceylon-spec/issues/1237/labels{/name}","comments_url":"https://api.github.com/repos/ceylon/ceylon-spec/issues/1237/comments","events_url":"https://api.github.com/repos/ceylon/ceylon-spec/issues/1237/events","html_url":"https://github.com/ceylon/ceylon-spec/issues/1237","id":58502911,"number":1237,"title":"NPE for partial switch expression 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":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-02-22T13:39:19Z","updated_at":"2015-02-22T13:39:19Z","closed_at":null,"body":"This code\r\n```ceylon\r\nvalue foo = switch(true) case(true)\r\n```\r\nin the IDE\r\n`ExpressionVisitor caused an exception visiting SwitchExpression node: java.lang.NullPointerException at com.redhat.ceylon.compiler.typechecker.analyzer.ExpressionVisitor.visit(ExpressionVisitor.java:279)`"}}