{"action":"created","issue":{"url":"https://api.github.com/repos/usethesource/rascal/issues/790","repository_url":"https://api.github.com/repos/usethesource/rascal","labels_url":"https://api.github.com/repos/usethesource/rascal/issues/790/labels{/name}","comments_url":"https://api.github.com/repos/usethesource/rascal/issues/790/comments","events_url":"https://api.github.com/repos/usethesource/rascal/issues/790/events","html_url":"https://github.com/usethesource/rascal/issues/790","id":63769364,"number":790,"title":"`createM3FromFile` fails for every file i've tried","user":{"login":"DavyLandman","id":179603,"avatar_url":"https://avatars.githubusercontent.com/u/179603?v=3","gravatar_id":"","url":"https://api.github.com/users/DavyLandman","html_url":"https://github.com/DavyLandman","followers_url":"https://api.github.com/users/DavyLandman/followers","following_url":"https://api.github.com/users/DavyLandman/following{/other_user}","gists_url":"https://api.github.com/users/DavyLandman/gists{/gist_id}","starred_url":"https://api.github.com/users/DavyLandman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DavyLandman/subscriptions","organizations_url":"https://api.github.com/users/DavyLandman/orgs","repos_url":"https://api.github.com/users/DavyLandman/repos","events_url":"https://api.github.com/users/DavyLandman/events{/privacy}","received_events_url":"https://api.github.com/users/DavyLandman/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/usethesource/rascal/labels/unclear%20message","name":"unclear message","color":"d7e102"}],"state":"closed","locked":false,"assignee":{"login":"ashimshahi","id":2842963,"avatar_url":"https://avatars.githubusercontent.com/u/2842963?v=3","gravatar_id":"","url":"https://api.github.com/users/ashimshahi","html_url":"https://github.com/ashimshahi","followers_url":"https://api.github.com/users/ashimshahi/followers","following_url":"https://api.github.com/users/ashimshahi/following{/other_user}","gists_url":"https://api.github.com/users/ashimshahi/gists{/gist_id}","starred_url":"https://api.github.com/users/ashimshahi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ashimshahi/subscriptions","organizations_url":"https://api.github.com/users/ashimshahi/orgs","repos_url":"https://api.github.com/users/ashimshahi/repos","events_url":"https://api.github.com/users/ashimshahi/events{/privacy}","received_events_url":"https://api.github.com/users/ashimshahi/received_events","type":"User","site_admin":false},"milestone":null,"comments":15,"created_at":"2015-03-23T16:37:19Z","updated_at":"2016-03-15T12:40:25Z","closed_at":"2016-03-15T12:40:25Z","body":"Take for example this file:\r\nhttps://github.com/cwi-swat/rascal/blob/master/test/org/rascalmpl/test/data/patterns/micro/Designator.java\r\n\r\n```\r\nrascal>m3 = createM3FromFile(|project://rascal/test/org/rascalmpl/test/data/patterns/micro/Designator.java|);\r\nJava(\"IllegalStateException\",\"invalid environment settings\")\r\n\tat org.eclipse.jdt.core.dom.ASTParser.getClasspath(|file:///ASTParser.java|(0,0,<258,0>,<258,0>))\r\n\tat org.eclipse.jdt.core.dom.ASTParser.internalCreateAST(|file:///ASTParser.java|(0,0,<1186,0>,<1186,0>))\r\n\tat org.eclipse.jdt.core.dom.ASTParser.createAST(|file:///ASTParser.java|(0,0,<809,0>,<809,0>))\r\n\tat org.rascalmpl.library.lang.java.m3.internal.EclipseJavaCompiler.getCompilationUnit(|file:///EclipseJavaCompiler.java|(0,0,<199,0>,<199,0>))\r\n\tat org.rascalmpl.library.lang.java.m3.internal.EclipseJavaCompiler.createM3FromFile(|file:///EclipseJavaCompiler.java|(0,0,<87,0>,<87,0>))\r\n\tat createM3FromFile(|project://rascal/src/org/rascalmpl/library/lang/java/m3/Core.rsc|(2274,5,<63,60>,<63,65>))\r\n```\r\n\r\nThe `createM3FromEclipseFile` does work."},"comment":{"url":"https://api.github.com/repos/usethesource/rascal/issues/comments/196801639","html_url":"https://github.com/usethesource/rascal/issues/790#issuecomment-196801639","issue_url":"https://api.github.com/repos/usethesource/rascal/issues/790","id":196801639,"user":{"login":"DavyLandman","id":179603,"avatar_url":"https://avatars.githubusercontent.com/u/179603?v=3","gravatar_id":"","url":"https://api.github.com/users/DavyLandman","html_url":"https://github.com/DavyLandman","followers_url":"https://api.github.com/users/DavyLandman/followers","following_url":"https://api.github.com/users/DavyLandman/following{/other_user}","gists_url":"https://api.github.com/users/DavyLandman/gists{/gist_id}","starred_url":"https://api.github.com/users/DavyLandman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DavyLandman/subscriptions","organizations_url":"https://api.github.com/users/DavyLandman/orgs","repos_url":"https://api.github.com/users/DavyLandman/repos","events_url":"https://api.github.com/users/DavyLandman/events{/privacy}","received_events_url":"https://api.github.com/users/DavyLandman/received_events","type":"User","site_admin":false},"created_at":"2016-03-15T12:40:25Z","updated_at":"2016-03-15T12:40:25Z","body":"this has been fixed a while back with the new m3 interface."}}