eclipse.buildId=4.4.2.M20150204-1700
java.version=1.8.0_20
java.vendor=Oracle Corporation
BootLoader constants: OS=macosx, ARCH=x86_64, WS=cocoa, NL=en_US
Framework arguments: -product org.eclipse.epp.package.standard.product -keyring /Users/daco/.eclipse_keyring -showlocation
Command-line arguments: -os macosx -ws cocoa -arch x86_64 -product org.eclipse.epp.package.standard.product -keyring /Users/daco/.eclipse_keyring -showlocation

Some of my builders work fine when I build the language in Spoofax, but not when I install the language through the update site (or when I use gen-eclipse, which does the same).

task_api_delay fails when called in a deployed language.

org.spoofax.interpreter.core.InterpreterException: Exception during evaluation
	at org.spoofax.interpreter.core.Interpreter.evaluate(Interpreter.java:120)
	at org.spoofax.interpreter.core.Interpreter.invoke(Interpreter.java:82)
	at org.strategoxt.HybridInterpreter.invoke(HybridInterpreter.java:442)
	at org.strategoxt.imp.debug.core.str.launching.DebuggableHybridInterpreter.invoke(DebuggableHybridInterpreter.java:150)
	at org.strategoxt.imp.runtime.services.StrategoObserver.invoke(StrategoObserver.java:637)
	at org.strategoxt.imp.runtime.services.StrategoObserver.invoke(StrategoObserver.java:595)
	at org.strategoxt.imp.runtime.services.menus.model.StrategoBuilder.invokeObserver(StrategoBuilder.java:334)
	at org.strategoxt.imp.runtime.services.menus.model.StrategoBuilder.execute(StrategoBuilder.java:200)
	at org.strategoxt.imp.runtime.services.menus.model.StrategoBuilder.access$1(StrategoBuilder.java:184)
	at org.strategoxt.imp.runtime.services.menus.model.StrategoBuilder$1.run(StrategoBuilder.java:171)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
Caused by: org.strategoxt.lang.StrategoException: Exception in execution of primitive 'task_api_delay'
	at org.strategoxt.lang.Context.invokePrimitive(Context.java:240)
	at org.strategoxt.lang.Context.invokePrimitive(Context.java:216)
	at trans.task_api_delay_0_1.invoke(task_api_delay_0_1.java:27)
	at trans.task_delay_0_0.invoke(task_delay_0_0.java:30)
	at trans.insert_results_or_delay_0_0.invoke(insert_results_or_delay_0_0.java:71)
	at trans.nabl_collect_one_resolved_def_0_0.invoke(nabl_collect_one_resolved_def_0_0.java:28)
	at trans.nabl_uri_0_0.invoke(nabl_uri_0_0.java:94)
	at org.strategoxt.lang.compat.override.performance_tweaks.lifted6966.invoke(lifted6966.java:24)
	at org.strategoxt.lang.SRTS_one.fetchMaintainAnnos(SRTS_one.java:57)
	at org.strategoxt.lang.SRTS_one.invoke(SRTS_one.java:21)
	at org.strategoxt.lang.compat.override.performance_tweaks.fetch_elem_1_0_override.invoke(fetch_elem_1_0_override.java:27)
	at trans.nabl_uri_0_0.invoke(nabl_uri_0_0.java:136)
	at trans.__nabl_uri_0_0.invoke(__nabl_uri_0_0.java:28)
	at trans.exp_to_java_stm_1_1_fragment_2.invoke(exp_to_java_stm_1_1_fragment_2.java:669)
	at trans.exp_to_java_stm_1_1.invoke(exp_to_java_stm_1_1.java:32)
	at trans.to_java_executable_1_0.invoke(to_java_executable_1_0.java:138)
	at trans.lifted99.invoke(lifted99.java:27)
	at org.strategoxt.lang.SRTS_all.map(SRTS_all.java:60)
	at org.strategoxt.lang.SRTS_all.invoke(SRTS_all.java:21)
	at org.strategoxt.lang.parallel.stratego_parallel.ParallelAll.invoke(ParallelAll.java:67)
	at org.strategoxt.lang.compat.override.performance_tweaks.map_1_0_override.invoke(map_1_0_override.java:29)
	at trans.to_java_1_0.invoke(to_java_1_0.java:252)
	at trans.main_class_to_java_1_0.invoke(main_class_to_java_1_0.java:82)
	at trans.to_java_1_0.invoke(to_java_1_0.java:55)
	at trans.generate_java_code_1_0.invoke(generate_java_code_1_0.java:52)
	at trans.generate_java_step_1_0.invoke(generate_java_step_1_0.java:28)
	at trans.build_1_1.invoke(build_1_1.java:186)
	at trans.generate_java_1_0.invoke(generate_java_1_0.java:48)
	at trans.generate_java_0_0.invoke(generate_java_0_0.java:28)
	at org.strategoxt.lang.Strategy.invokeDynamic(Strategy.java:30)
	at org.strategoxt.lang.InteropSDefT.evaluate(InteropSDefT.java:192)
	at org.strategoxt.lang.InteropSDefT.evaluate(InteropSDefT.java:183)
	at org.strategoxt.lang.InteropSDefT$StrategyBody.evaluate(InteropSDefT.java:245)
	at org.spoofax.interpreter.core.Interpreter.evaluate(Interpreter.java:109)
	... 10 more
Caused by: java.lang.RuntimeException: Cannot delay task while no task evaluation is in progress.
	at org.metaborg.runtime.task.primitives.task_api_delay_0_1.call(task_api_delay_0_1.java:26)
	at org.strategoxt.lang.Context.invokePrimitive(Context.java:227)
	... 43 more
Submitted by Daco Harkes on 1 July 2015 at 16:04

Log in to post comments