Something like:

var newCategory = Category(description=desc, rank=nextRank());

fails with the following errors in the Eclipse error log. This causes the generation into www/ to stop (silently).

( “Category(description=desc, rank=nextRank)” (i.e., without the parenthesis pair for the function) causes a whole different sort of errors… )


java.lang.RuntimeException: Analysis failed
at org.strategoxt.imp.runtime.Environment.logException(Environment.java:345)
at org.strategoxt.imp.runtime.services.OnSaveService.documentChanged(OnSaveService.java:64)
… {only Eclipse classes; no further details}

org.spoofax.interpreter.core.InterpreterErrorExit: Internal error: with clause failed unexpectedly in rule ‘cps-exp’
1
at org.strategoxt.lang.InteropSDefT.evaluate(InteropSDefT.java:196)
at org.strategoxt.lang.InteropSDefT.evaluate(InteropSDefT.java:185)
at org.strategoxt.lang.InteropSDefT$StrategyBody.evaluate(InteropSDefT.java:247)
at org.spoofax.interpreter.core.Interpreter.invoke(Interpreter.java:72)
at org.strategoxt.HybridInterpreter.invoke(HybridInterpreter.java:359)
at org.strategoxt.imp.runtime.services.StrategoObserver.invoke(StrategoObserver.java:571)
at org.strategoxt.imp.runtime.services.StrategoObserver.invokeSilent(StrategoObserver.java:612)
at org.strategoxt.imp.runtime.services.StrategoObserver.invokeSilent(StrategoObserver.java:592)
at org.strategoxt.imp.runtime.services.OnSaveService.documentChanged(OnSaveService.java:60)
…{only Eclipse classes}

Runtime exited when evaluating strategy generate-artifactsreport_with_failure_0_2
cps_exp_0_1
cps_expression_0_1
cps_statements_0_0_fragment_3
cps_statements_0_0
exp_to_js_0_0_fragment_0
exp_to_js_0_0_fragment_1
exp_to_js_0_0_fragment_2
exp_to_js_0_0_fragment_3
exp_to_js_0_0
expression_to_js_0_0
elems_to_js_0_1
elems_to_js_0_1
elems_to_js_0_1
elems_to_js_0_1
elems_to_js_0_1
elems_to_js_0_1
elems_to_js_callback_0_1
elems_to_js_0_1
elems_to_js_0_1
elems_to_js_0_1
elems_to_js_0_1
elems_to_js_0_1
elems_to_js_0_1
elems_to_js_callback_0_1
elems_to_js_0_1
elems_to_js_0_1
elems_to_js_0_1
elems_to_js_0_1
elems_to_js_0_1
elems_to_js_callback_0_1
dr_scope_1_1
definition_to_js_0_0_fragment_1
definition_to_js_0_0_fragment_2
definition_to_js_0_0
filter_1_0
module_to_js_0_0
dr_scope_1_1
dr_scope_1_1
compile_0_0
generate_artifacts_0_0
generate_artifacts_0_0

Submitted by Meinte Boersma on 3 March 2011 at 17:15

On 5 March 2011 at 16:16 Zef Hemel tagged @zefhemel

On 11 April 2011 at 15:23 Zef Hemel tagged @zefhemel

On 12 April 2011 at 10:39 Zef Hemel commented:

Will be fixed in 0.4.3.


On 12 April 2011 at 10:39 Zef Hemel closed this issue.

On 12 April 2011 at 10:39 Zef Hemel tagged 0.4.3

Log in to post comments