{"action":"created","issue":{"url":"https://api.github.com/repos/ceylon/ceylon-js/issues/546","labels_url":"https://api.github.com/repos/ceylon/ceylon-js/issues/546/labels{/name}","comments_url":"https://api.github.com/repos/ceylon/ceylon-js/issues/546/comments","events_url":"https://api.github.com/repos/ceylon/ceylon-js/issues/546/events","html_url":"https://github.com/ceylon/ceylon-js/issues/546","id":75722538,"number":546,"title":"bug in model loader preventing compilation of SDK","user":{"login":"gavinking","id":579974,"avatar_url":"https://avatars.githubusercontent.com/u/579974?v=3","gravatar_id":"","url":"https://api.github.com/users/gavinking","html_url":"https://github.com/gavinking","followers_url":"https://api.github.com/users/gavinking/followers","following_url":"https://api.github.com/users/gavinking/following{/other_user}","gists_url":"https://api.github.com/users/gavinking/gists{/gist_id}","starred_url":"https://api.github.com/users/gavinking/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gavinking/subscriptions","organizations_url":"https://api.github.com/users/gavinking/orgs","repos_url":"https://api.github.com/users/gavinking/repos","events_url":"https://api.github.com/users/gavinking/events{/privacy}","received_events_url":"https://api.github.com/users/gavinking/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ceylon/ceylon-js/labels/bug","name":"bug","color":"e10c02"},{"url":"https://api.github.com/repos/ceylon/ceylon-js/labels/high%20priority","name":"high priority","color":"d7e102"}],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/ceylon/ceylon-js/milestones/8","html_url":"https://github.com/ceylon/ceylon-js/milestones/1.2","labels_url":"https://api.github.com/repos/ceylon/ceylon-js/milestones/8/labels","id":820071,"number":8,"title":"1.2","description":"","creator":{"login":"FroMage","id":179265,"avatar_url":"https://avatars.githubusercontent.com/u/179265?v=3","gravatar_id":"","url":"https://api.github.com/users/FroMage","html_url":"https://github.com/FroMage","followers_url":"https://api.github.com/users/FroMage/followers","following_url":"https://api.github.com/users/FroMage/following{/other_user}","gists_url":"https://api.github.com/users/FroMage/gists{/gist_id}","starred_url":"https://api.github.com/users/FroMage/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FroMage/subscriptions","organizations_url":"https://api.github.com/users/FroMage/orgs","repos_url":"https://api.github.com/users/FroMage/repos","events_url":"https://api.github.com/users/FroMage/events{/privacy}","received_events_url":"https://api.github.com/users/FroMage/received_events","type":"User","site_admin":false},"open_issues":16,"closed_issues":82,"state":"open","created_at":"2014-10-09T16:31:51Z","updated_at":"2015-05-12T21:21:06Z","due_on":null,"closed_at":null},"comments":2,"created_at":"2015-05-12T20:09:39Z","updated_at":"2015-05-12T21:30:57Z","closed_at":"2015-05-12T21:21:06Z","body":"When compiling the SDK I now get:\r\n\r\n```\r\n[ceylon-compile-js] ceylon compile-js: null\r\n[ceylon-compile-js] java.lang.NullPointerException\r\n[ceylon-compile-js] \tat com.redhat.ceylon.compiler.loader.JsonPackage.getTypeFromJson(JsonPackage.java:874)\r\n[ceylon-compile-js] \tat com.redhat.ceylon.compiler.loader.JsonPackage.getTypeFromJson(JsonPackage.java:761)\r\n[ceylon-compile-js] \tat com.redhat.ceylon.compiler.loader.JsonPackage.parseTypeParameters(JsonPackage.java:354)\r\n[ceylon-compile-js] \tat com.redhat.ceylon.compiler.loader.JsonPackage.loadInterface(JsonPackage.java:573)\r\n[ceylon-compile-js] \tat com.redhat.ceylon.compiler.loader.JsonPackage.loadDeclarations(JsonPackage.java:112)\r\n[ceylon-compile-js] \tat com.redhat.ceylon.compiler.loader.JsonPackage.getTypeFromJson(JsonPackage.java:815)\r\n[ceylon-compile-js] \tat com.redhat.ceylon.compiler.loader.JsonPackage.parseTypeParameters(JsonPackage.java:348)\r\n[ceylon-compile-js] \tat com.redhat.ceylon.compiler.loader.JsonPackage.loadClass(JsonPackage.java:166)\r\n[ceylon-compile-js] \tat com.redhat.ceylon.compiler.loader.JsonPackage.loadDeclarations(JsonPackage.java:110)\r\n[ceylon-compile-js] \tat com.redhat.ceylon.compiler.loader.JsonModule.loadDeclarations(JsonModule.java:57)\r\n[ceylon-compile-js] \tat com.redhat.ceylon.compiler.loader.JsModuleSourceMapper.loadModuleFromMap(JsModuleSourceMapper.java:94)\r\n[ceylon-compile-js] \tat com.redhat.ceylon.compiler.loader.JsModuleSourceMapper.resolveModule(JsModuleSourceMapper.java:172)\r\n[ceylon-compile-js] \tat com.redhat.ceylon.compiler.loader.JsModuleSourceMapper.resolveModule(JsModuleSourceMapper.java:143)\r\n[ceylon-compile-js] \tat com.redhat.ceylon.compiler.typechecker.analyzer.ModuleValidator.verifyModuleDependencyTree(ModuleValidator.java:227)\r\n[ceylon-compile-js] \tat com.redhat.ceylon.compiler.typechecker.analyzer.ModuleValidator.verifyModuleDependencyTree(ModuleValidator.java:91)\r\n[ceylon-compile-js] \tat com.redhat.ceylon.compiler.typechecker.TypeChecker.executePhases(TypeChecker.java:150)\r\n[ceylon-compile-js] \tat com.redhat.ceylon.compiler.typechecker.TypeChecker.process(TypeChecker.java:128)\r\n[ceylon-compile-js] \tat com.redhat.ceylon.compiler.js.CeylonCompileJsTool.run(CeylonCompileJsTool.java:316)\r\n[ceylon-compile-js] \tat com.redhat.ceylon.common.tools.CeylonTool.run(CeylonTool.java:390)\r\n[ceylon-compile-js] \tat com.redhat.ceylon.common.tools.CeylonTool.execute(CeylonTool.java:327)\r\n[ceylon-compile-js] \tat sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\r\n[ceylon-compile-js] \tat sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)\r\n[ceylon-compile-js] \tat sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\r\n[ceylon-compile-js] \tat java.lang.reflect.Method.invoke(Method.java:606)\r\n[ceylon-compile-js] \tat com.redhat.ceylon.launcher.Launcher.runInJava7Checked(Launcher.java:114)\r\n[ceylon-compile-js] \tat com.redhat.ceylon.ant.CeylonAntTask.executeCommandline(CeylonAntTask.java:216)\r\n[ceylon-compile-js] \tat com.redhat.ceylon.ant.CeylonAntTask.execute(CeylonAntTask.java:173)\r\n[ceylon-compile-js] \tat org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292)\r\n[ceylon-compile-js] \tat sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)\r\n[ceylon-compile-js] \tat sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\r\n[ceylon-compile-js] \tat java.lang.reflect.Method.invoke(Method.java:606)\r\n[ceylon-compile-js] \tat org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)\r\n[ceylon-compile-js] \tat org.apache.tools.ant.Task.perform(Task.java:348)\r\n[ceylon-compile-js] \tat org.apache.tools.ant.Target.execute(Target.java:435)\r\n[ceylon-compile-js] \tat org.apache.tools.ant.Target.performTasks(Target.java:456)\r\n[ceylon-compile-js] \tat org.apache.tools.ant.Project.executeSortedTargets(Project.java:1393)\r\n[ceylon-compile-js] \tat org.apache.tools.ant.Project.executeTarget(Project.java:1364)\r\n[ceylon-compile-js] \tat org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)\r\n[ceylon-compile-js] \tat org.apache.tools.ant.Project.executeTargets(Project.java:1248)\r\n[ceylon-compile-js] \tat org.apache.tools.ant.Main.runBuild(Main.java:851)\r\n[ceylon-compile-js] \tat org.apache.tools.ant.Main.startAnt(Main.java:235)\r\n[ceylon-compile-js] \tat org.apache.tools.ant.launch.Launcher.run(Launcher.java:280)\r\n[ceylon-compile-js] \tat org.apache.tools.ant.launch.Launcher.main(Launcher.java:109)\r\n```\r\n\r\nThis is probably the result of changes I made to `ceylon.language`."},"comment":{"url":"https://api.github.com/repos/ceylon/ceylon-js/issues/comments/101427633","html_url":"https://github.com/ceylon/ceylon-js/issues/546#issuecomment-101427633","issue_url":"https://api.github.com/repos/ceylon/ceylon-js/issues/546","id":101427633,"user":{"login":"gavinking","id":579974,"avatar_url":"https://avatars.githubusercontent.com/u/579974?v=3","gravatar_id":"","url":"https://api.github.com/users/gavinking","html_url":"https://github.com/gavinking","followers_url":"https://api.github.com/users/gavinking/followers","following_url":"https://api.github.com/users/gavinking/following{/other_user}","gists_url":"https://api.github.com/users/gavinking/gists{/gist_id}","starred_url":"https://api.github.com/users/gavinking/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gavinking/subscriptions","organizations_url":"https://api.github.com/users/gavinking/orgs","repos_url":"https://api.github.com/users/gavinking/repos","events_url":"https://api.github.com/users/gavinking/events{/privacy}","received_events_url":"https://api.github.com/users/gavinking/received_events","type":"User","site_admin":false},"created_at":"2015-05-12T21:30:57Z","updated_at":"2015-05-12T21:30:57Z","body":"Thanks!\n\nSent from my iPhone\n\n> On 12 May 2015, at 11:21 pm, Enrique Zamudio <notifications@github.com> wrote:\n> \n> done\n> \n> —\n> Reply to this email directly or view it on GitHub.\n> \n"}}