I have several projects with the same name/id and I get this error when triggering a transform action. I deleted one project, imported the next, build it, then tried a transform on a file. The problem is gone after a restart.


16:01 | INFO  | s.e.m.b.GenerateSourcesBuilder - Generating sources for language project eclipse:///bufferc
16:01 | INFO  | o.m.c.build.Builder            - Building eclipse:///bufferc
16:01 | INFO  | o.m.c.build.Builder            - Building 1 sources, 0 includes of language impl. org.metaborg:org.metaborg.meta.lang.esv:1.5.0-SNAPSHOT
16:01 | INFO  | o.m.c.build.Builder            - Building eclipse:///bufferc
16:01 | INFO  | o.m.c.build.Builder            - Building 10 sources, 0 includes of language impl. org.metaborg:org.metaborg.meta.lang.template:1.5.0-SNAPSHOT
16:01 | INFO  | o.m.c.build.Builder            - Building 1 sources, 0 includes of language impl. org.metaborg:org.metaborg.meta.lang.nabl:1.5.0-SNAPSHOT
16:01 | INFO  | o.m.c.build.Builder            - Building 16 sources, 0 includes of language impl. org.metaborg:org.metaborg.meta.lang.esv:1.5.0-SNAPSHOT
16:01 | INFO  | o.m.c.build.Builder            - Building 1 sources, 0 includes of language impl. org.metaborg:org.metaborg.meta.lang.ts:1.5.0-SNAPSHOT
16:01 | INFO  | o.m.s.e.m.b.PreJavaBuilder     - Building language project eclipse:///bufferc
16:01 | INFO  | Build log                      - Incrementally rebuild inconsistent units
16:01 | INFO  | Build log                      - Requirement inconsistent: FileReq(/Users/dan/Downloads/I3-submissions/bufferc-14/bufferc/BufferC/src-gen/types/types.str)
16:01 | INFO  | Build log                      - > Compile Stratego code
16:01 | INFO  | Build log                      - Execute strj
16:01 | ERROR | stderr                         - [ strj | warning ] Unable to cache parse result to /Users/dan/Downloads/I3-submissions/bufferc-14/bufferc/BufferC/.cache/+Users+dan+Documents+spoofax-macosx-x86_64-buffer-c+Eclipse.app+Contents+Eclipse+plugins+org.metaborg.meta.lib.analysis.eclipse_1.5.0.20160105-143644-new-spoofax-plugin+target+unpacked+latest+trans+runtime+refactoring+construct-initial-list-structure.str.cache
16:01 | INFO  | o.m.s.e.m.b.PostJavaBuilder    - Packaging language project eclipse:///bufferc
16:01 | INFO  | Build log                      - Incrementally rebuild inconsistent units
16:01 | INFO  | Build log                      - Requirement inconsistent: FileReq(/Users/dan/Downloads/I3-submissions/bufferc-14/bufferc/BufferC/target/classes/bufferc/strategies/InteropRegisterer.class)
16:01 | INFO  | Build log                      - > Creating JAR file
16:01 | INFO  | o.m.s.e.m.b.PostJavaBuilder    - Refreshing language project eclipse:///bufferc
16:01 | INFO  | o.m.s.e.m.b.PostJavaBuilder    - Reloading language project eclipse:///bufferc
16:01 | ERROR | o.m.s.e.t.TransformJob         - Transformation failed for eclipse:///grading-i3/buf_empty_index_assign.bc
org.metaborg.core.transform.TransformException: Transformation failed unexpectedly
	at org.metaborg.spoofax.core.transform.StrategoTransformer.transform(StrategoTransformer.java:93) ~[org.metaborg.spoofax.core_1.5.0.20160105-143644-new-spoofax-plugin.jar:na]
	at org.metaborg.spoofax.core.transform.StrategoTransformer.transform(StrategoTransformer.java:60) ~[org.metaborg.spoofax.core_1.5.0.20160105-143644-new-spoofax-plugin.jar:na]
	at org.metaborg.core.transform.TransformService.transformAction(TransformService.java:79) ~[org.metaborg.core_1.5.0.20160105-143644-new-spoofax-plugin.jar:na]
	at org.metaborg.core.transform.TransformService.transform(TransformService.java:48) ~[org.metaborg.core_1.5.0.20160105-143644-new-spoofax-plugin.jar:na]
	at org.metaborg.spoofax.eclipse.transform.TransformJob.transform(TransformJob.java:129) [org.metaborg.spoofax.eclipse_1.5.0.20160105-143644-new-spoofax-plugin.jar:na]
	at org.metaborg.spoofax.eclipse.transform.TransformJob.transformAll(TransformJob.java:105) [org.metaborg.spoofax.eclipse_1.5.0.20160105-143644-new-spoofax-plugin.jar:na]
	at org.metaborg.spoofax.eclipse.transform.TransformJob.run(TransformJob.java:68) [org.metaborg.spoofax.eclipse_1.5.0.20160105-143644-new-spoofax-plugin.jar:na]
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55) [org.eclipse.core.jobs_3.7.0.v20150330-2103.jar:na]
Caused by: org.metaborg.core.MetaborgException: Invoking Stratego strategy failed unexpectedly
	at org.metaborg.spoofax.core.stratego.StrategoCommon.handleException(StrategoCommon.java:121) ~[org.metaborg.spoofax.core_1.5.0.20160105-143644-new-spoofax-plugin.jar:na]
	at org.metaborg.spoofax.core.stratego.StrategoCommon.invoke(StrategoCommon.java:84) ~[org.metaborg.spoofax.core_1.5.0.20160105-143644-new-spoofax-plugin.jar:na]
	at org.metaborg.spoofax.core.transform.StrategoTransformer.transform(StrategoTransformer.java:91) ~[org.metaborg.spoofax.core_1.5.0.20160105-143644-new-spoofax-plugin.jar:na]
	... 7 common frames omitted
Caused by: org.spoofax.interpreter.core.InterpreterException: Exception during evaluation
	at org.spoofax.interpreter.core.Interpreter.evaluate(Interpreter.java:120) ~[org.spoofax.interpreter.core_1.5.0.20160105-143644-new-spoofax-plugin.jar:na]
	at org.spoofax.interpreter.core.Interpreter.invoke(Interpreter.java:82) ~[org.spoofax.interpreter.core_1.5.0.20160105-143644-new-spoofax-plugin.jar:na]
	at org.strategoxt.HybridInterpreter.invoke(HybridInterpreter.java:442) ~[org.strategoxt.strj_1.5.0.20160105-143644-new-spoofax-plugin/:na]
	at org.metaborg.spoofax.core.stratego.StrategoCommon.invoke(StrategoCommon.java:78) ~[org.metaborg.spoofax.core_1.5.0.20160105-143644-new-spoofax-plugin.jar:na]
	... 8 common frames omitted
Caused by: java.lang.NullPointerException: null
	at org.metaborg.runtime.task.TaskInsertion.getResultsOf(TaskInsertion.java:144) ~[org.metaborg.runtime.task_1.5.0.20160105-143644-new-spoofax-plugin.jar:na]
	at org.metaborg.runtime.task.TaskInsertion.createResultMapping(TaskInsertion.java:121) ~[org.metaborg.runtime.task_1.5.0.20160105-143644-new-spoofax-plugin.jar:na]
	at org.metaborg.runtime.task.TaskInsertion.insertResultCombinations(TaskInsertion.java:97) ~[org.metaborg.runtime.task_1.5.0.20160105-143644-new-spoofax-plugin.jar:na]
	at org.metaborg.runtime.task.primitives.task_api_result_combinations_2_2.call(task_api_result_combinations_2_2.java:34) ~[org.metaborg.runtime.task_1.5.0.20160105-143644-new-spoofax-plugin.jar:na]
	at org.metaborg.runtime.task.primitives.TaskEnginePrimitive.call(TaskEnginePrimitive.java:27) ~[org.metaborg.runtime.task_1.5.0.20160105-143644-new-spoofax-plugin.jar:na]
	at org.spoofax.interpreter.stratego.PrimT.eval(PrimT.java:63) ~[org.spoofax.interpreter.core_1.5.0.20160105-143644-new-spoofax-plugin.jar:na]
	at org.spoofax.interpreter.stratego.Strategy.evaluate(Strategy.java:76) ~[org.spoofax.interpreter.core_1.5.0.20160105-143644-new-spoofax-plugin.jar:na]
	at org.spoofax.interpreter.stratego.SDefT.evaluate(SDefT.java:213) ~[org.spoofax.interpreter.core_1.5.0.20160105-143644-new-spoofax-plugin.jar:na]
	at org.strategoxt.lang.InteropStrategy.invokeDynamic(InteropStrategy.java:57) ~[org.strategoxt.strj_1.5.0.20160105-143644-new-spoofax-plugin/:na]
	at org.strategoxt.lang.DynamicStrategy.invoke(DynamicStrategy.java:22) ~[org.strategoxt.strj_1.5.0.20160105-143644-new-spoofax-plugin/:na]
	at org.strategoxt.stratego_lib.try_1_0.invoke(try_1_0.java:28) ~[strategoxt-min-jar-1.5.0-SNAPSHOT.jar:na]
	at org.strategoxt.lang.Strategy.invokeDynamic(Strategy.java:40) ~[org.strategoxt.strj_1.5.0.20160105-143644-new-spoofax-plugin/:na]
	at org.strategoxt.lang.InteropSDefT.evaluate(InteropSDefT.java:192) ~[org.strategoxt.strj_1.5.0.20160105-143644-new-spoofax-plugin/:na]
	at org.strategoxt.lang.InteropSDefT.evaluate(InteropSDefT.java:183) ~[org.strategoxt.strj_1.5.0.20160105-143644-new-spoofax-plugin/:na]
	at org.strategoxt.lang.InteropSDefT$StrategyBody.evaluate(InteropSDefT.java:245) ~[org.strategoxt.strj_1.5.0.20160105-143644-new-spoofax-plugin/:na]
	at org.strategoxt.lang.InteropSDefT$StrategyBody.eval(InteropSDefT.java:238) ~[org.strategoxt.strj_1.5.0.20160105-143644-new-spoofax-plugin/:na]
	at org.spoofax.interpreter.stratego.Strategy.evaluate(Strategy.java:76) ~[org.spoofax.interpreter.core_1.5.0.20160105-143644-new-spoofax-plugin.jar:na]
	at org.spoofax.interpreter.stratego.SDefT.evaluate(SDefT.java:213) ~[org.spoofax.interpreter.core_1.5.0.20160105-143644-new-spoofax-plugin.jar:na]
	at org.strategoxt.lang.InteropStrategy.invokeDynamic(InteropStrategy.java:57) ~[org.strategoxt.strj_1.5.0.20160105-143644-new-spoofax-plugin/:na]
	at org.strategoxt.lang.DynamicStrategy.invoke(DynamicStrategy.java:22) ~[org.strategoxt.strj_1.5.0.20160105-143644-new-spoofax-plugin/:na]
	at org.strategoxt.lang.SRTS_all.mapIgnoreAnnos(SRTS_all.java:109) ~[org.strategoxt.strj_1.5.0.20160105-143644-new-spoofax-plugin/:na]
	at org.strategoxt.lang.SRTS_all.map(SRTS_all.java:77) ~[org.strategoxt.strj_1.5.0.20160105-143644-new-spoofax-plugin/:na]
	at org.strategoxt.lang.SRTS_all.invoke(SRTS_all.java:21) ~[org.strategoxt.strj_1.5.0.20160105-143644-new-spoofax-plugin/:na]
	at org.strategoxt.lang.compat.override.performance_tweaks.map_1_0_override.invoke(map_1_0_override.java:29) ~[strategoxt-min-jar-1.5.0-SNAPSHOT.jar:na]
	at org.strategoxt.lang.Strategy.invokeDynamic(Strategy.java:40) ~[org.strategoxt.strj_1.5.0.20160105-143644-new-spoofax-plugin/:na]
	at org.strategoxt.lang.InteropSDefT.evaluate(InteropSDefT.java:192) ~[org.strategoxt.strj_1.5.0.20160105-143644-new-spoofax-plugin/:na]
	at org.strategoxt.lang.InteropSDefT.evaluate(InteropSDefT.java:183) ~[org.strategoxt.strj_1.5.0.20160105-143644-new-spoofax-plugin/:na]
	at org.strategoxt.lang.InteropSDefT$StrategyBody.evaluate(InteropSDefT.java:245) ~[org.strategoxt.strj_1.5.0.20160105-143644-new-spoofax-plugin/:na]
	at org.strategoxt.lang.InteropSDefT$StrategyBody.eval(InteropSDefT.java:238) ~[org.strategoxt.strj_1.5.0.20160105-143644-new-spoofax-plugin/:na]
	at org.spoofax.interpreter.stratego.Strategy.evaluate(Strategy.java:76) ~[org.spoofax.interpreter.core_1.5.0.20160105-143644-new-spoofax-plugin.jar:na]
	at org.spoofax.interpreter.stratego.SDefT.evaluate(SDefT.java:213) ~[org.spoofax.interpreter.core_1.5.0.20160105-143644-new-spoofax-plugin.jar:na]
	at org.strategoxt.lang.InteropStrategy.invokeDynamic(InteropStrategy.java:57) ~[org.strategoxt.strj_1.5.0.20160105-143644-new-spoofax-plugin/:na]
	at org.strategoxt.lang.DynamicStrategy.invoke(DynamicStrategy.java:22) ~[org.strategoxt.strj_1.5.0.20160105-143644-new-spoofax-plugin/:na]
	at org.strategoxt.lang.SRTS_all.map(SRTS_all.java:60) ~[org.strategoxt.strj_1.5.0.20160105-143644-new-spoofax-plugin/:na]
	at org.strategoxt.lang.SRTS_all.invoke(SRTS_all.java:21) ~[org.strategoxt.strj_1.5.0.20160105-143644-new-spoofax-plugin/:na]
	at org.strategoxt.lang.compat.override.performance_tweaks.map_1_0_override.invoke(map_1_0_override.java:29) ~[strategoxt-min-jar-1.5.0-SNAPSHOT.jar:na]
	at org.strategoxt.lang.Strategy.invokeDynamic(Strategy.java:40) ~[org.strategoxt.strj_1.5.0.20160105-143644-new-spoofax-plugin/:na]
	at org.strategoxt.lang.InteropSDefT.evaluate(InteropSDefT.java:192) ~[org.strategoxt.strj_1.5.0.20160105-143644-new-spoofax-plugin/:na]
	at org.strategoxt.lang.InteropSDefT.evaluate(InteropSDefT.java:183) ~[org.strategoxt.strj_1.5.0.20160105-143644-new-spoofax-plugin/:na]
	at org.strategoxt.lang.InteropSDefT$StrategyBody.evaluate(InteropSDefT.java:245) ~[org.strategoxt.strj_1.5.0.20160105-143644-new-spoofax-plugin/:na]
	at org.strategoxt.lang.InteropSDefT$StrategyBody.eval(InteropSDefT.java:238) ~[org.strategoxt.strj_1.5.0.20160105-143644-new-spoofax-plugin/:na]
	at org.spoofax.interpreter.stratego.Strategy.evaluate(Strategy.java:76) ~[org.spoofax.interpreter.core_1.5.0.20160105-143644-new-spoofax-plugin.jar:na]
	at org.spoofax.interpreter.core.Interpreter.evaluate(Interpreter.java:109) ~[org.spoofax.interpreter.core_1.5.0.20160105-143644-new-spoofax-plugin.jar:na]
	... 11 common frames omitted

Submitted by Danny Groenewegen on 17 March 2016 at 15:35

On 17 March 2016 at 15:35 Gabriël Konat tagged error

On 30 March 2016 at 13:51 Gabriël Konat tagged eclipse

On 10 April 2017 at 11:49 Gabriël Konat closed this issue.

Log in to post comments