Nullpointer when opening language file outside an Eclipse project
Running a builder on a file outside a project throws a null-pointer:
An internal error occurred during: "Transforming resources". java.lang.NullPointerException
Submitted by Daco Harkes on 21 March 2016 at 15:25java.lang.NullPointerException at org.metaborg.core.context.ProjectContextStrategy.get(ProjectContextStrategy.java:13) at org.metaborg.core.context.ContextService.get(ContextService.java:29) at org.metaborg.spoofax.eclipse.transform.TransformJob.transform(TransformJob.java:118) at org.metaborg.spoofax.eclipse.transform.TransformJob.transformAll(TransformJob.java:104) at org.metaborg.spoofax.eclipse.transform.TransformJob.run(TransformJob.java:67) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)