In Spoofax/IMP 1.1.0.0-s33845, the example project is broken. After project generation, the following error is shown:

Analyzing file: test/example.ent
Internal error evaluating editor-analyze (InterpreterException; see error log)
rewriting failed, trace:
	editor_analyze_0_0
	analysis_single_default_2_1
	analyze_one_0_3
	analyze_perform_all_0_0
	measure_time_2_0
	j_8442
	measure_time_2_1
	measure_time_2_0
	j_8442
	task_api_evaluate_2_1

The corresponding error log reads the same, plus

org.spoofax.interpreter.core.InterpreterException: Exception during evaluation
	at org.spoofax.interpreter.core.Interpreter.evaluate(Interpreter.java:117)
	at org.spoofax.interpreter.core.Interpreter.invoke(Interpreter.java:82)
	at org.strategoxt.HybridInterpreter.invoke(HybridInterpreter.java:424)
	at org.strategoxt.imp.debug.core.str.launching.DebuggableHybridInterpreter.invoke(DebuggableHybridInterpreter.java:150)
	at org.strategoxt.imp.runtime.services.StrategoObserver.invoke(StrategoObserver.java:701)
	at org.strategoxt.imp.runtime.services.StrategoObserver.invokeSilent(StrategoObserver.java:750)
	at org.strategoxt.imp.runtime.services.StrategoObserver.update(StrategoObserver.java:498)
	at org.strategoxt.imp.runtime.services.StrategoObserverUpdateJob.analyze(StrategoObserverUpdateJob.java:30)
	at org.strategoxt.imp.runtime.services.StrategoAnalysisQueue$UpdateJob.run(StrategoAnalysisQueue.java:83)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:53)
Caused by: org.spoofax.interpreter.core.InterpreterException: Wrong strategy arity when calling 'task_api_evaluate', expected 3 got 2
	at org.spoofax.interpreter.stratego.PrimT.eval(PrimT.java:57)
	at org.spoofax.interpreter.stratego.Strategy.evaluate(Strategy.java:76)
	at org.spoofax.interpreter.core.Interpreter.evaluate(Interpreter.java:109)
	... 9 more

There are more entries in the error log:

org.strategoxt.imp.runtime.dynamicloading.BadDescriptorException: Could not load compiler service provider(s): include/boxpp.ctree
	at org.strategoxt.imp.runtime.services.StrategoObserver.reportLoadException(StrategoObserver.java:444)
	at org.strategoxt.imp.runtime.services.StrategoObserver.loadCTree(StrategoObserver.java:405)
	at org.strategoxt.imp.runtime.services.StrategoObserver.initialize(StrategoObserver.java:327)
	at org.strategoxt.imp.runtime.services.StrategoObserver.getRuntime(StrategoObserver.java:860)
	at org.strategoxt.imp.runtime.services.StrategoObserverBackgroundUpdateJob.analyzeFile(StrategoObserverBackgroundUpdateJob.java:100)
	at org.strategoxt.imp.runtime.services.StrategoObserverBackgroundUpdateJob.analyze(StrategoObserverBackgroundUpdateJob.java:64)
	at org.strategoxt.imp.runtime.services.StrategoAnalysisQueue$UpdateJob.run(StrategoAnalysisQueue.java:83)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:53)
Caused by: java.io.FileNotFoundException: /Users/guwac/Applications/Eclipse 4.2 (Spoofax stable)/plugins/org.strategoxt.imp.editors.pp_0.1.0.201306252313.jar/include/boxpp.ctree (Not a directory)
	at java.io.FileInputStream.open(Native Method)
	at java.io.FileInputStream.<init>(FileInputStream.java:120)
	at java.io.FileInputStream.<init>(FileInputStream.java:79)
	at org.strategoxt.imp.runtime.dynamicloading.Descriptor.openAttachment(Descriptor.java:389)
	at org.strategoxt.imp.runtime.dynamicloading.Descriptor.openAttachment(Descriptor.java:388)
	at org.strategoxt.imp.runtime.dynamicloading.Descriptor.openAttachment(Descriptor.java:373)
	at org.strategoxt.imp.runtime.services.StrategoObserver.loadCTree(StrategoObserver.java:397)
	... 6 more


org.spoofax.interpreter.core.InterpreterException: Exception during evaluation
	at org.spoofax.interpreter.core.Interpreter.evaluate(Interpreter.java:117)
	at org.spoofax.interpreter.core.Interpreter.invoke(Interpreter.java:82)
	at org.strategoxt.HybridInterpreter.invoke(HybridInterpreter.java:424)
	at org.strategoxt.imp.debug.core.str.launching.DebuggableHybridInterpreter.invoke(DebuggableHybridInterpreter.java:150)
	at org.strategoxt.imp.runtime.Environment$2.invoke(Environment.java:195)
	at org.strategoxt.imp.testing.strategies.plugin_strategy_invoke_0_2.invoke(plugin_strategy_invoke_0_2.java:43)
	at trans.check_error_0_0_fragment_0.invoke(check_error_0_0_fragment_0.java:632)
	at trans.check_error_0_0.invoke(check_error_0_0.java:28)
	at org.strategoxt.stratego_lib.k_154.invoke(k_154.java)
	at org.strategoxt.lang.SRTS_EXT_crush_3_0.invoke(SRTS_EXT_crush_3_0.java:28)
	at org.strategoxt.lang.compat.override.performance_tweaks.foldr_3_0_override.invoke(foldr_3_0_override.java)
	at org.strategoxt.stratego_lib.k_154.invoke(k_154.java)
	at org.strategoxt.lang.SRTS_EXT_crush_3_0.invoke(SRTS_EXT_crush_3_0.java:28)
	at org.strategoxt.lang.compat.override.performance_tweaks.foldr_3_0_override.invoke(foldr_3_0_override.java)
	at org.strategoxt.stratego_lib.k_154.invoke(k_154.java)
	at org.strategoxt.stratego_lib.collect_all_2_0.invoke(collect_all_2_0.java)
	at trans.lifted3015.invoke(lifted3015.java:143)
	at trans.lifted2922.invoke(lifted2922.java:75)
	at org.strategoxt.stratego_lib.dr_scope_1_1.invoke(dr_scope_1_1.java)
	at trans.lifted2921.invoke(lifted2921.java:40)
	at org.strategoxt.stratego_lib.dr_scope_1_1.invoke(dr_scope_1_1.java)
	at trans.scope_paths_1_2.invoke(scope_paths_1_2.java:39)
	at trans.editor_analyze_0_0.invoke(editor_analyze_0_0.java:170)
	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)
	at org.spoofax.interpreter.core.Interpreter.invoke(Interpreter.java:82)
	at org.strategoxt.HybridInterpreter.invoke(HybridInterpreter.java:424)
	at org.strategoxt.imp.debug.core.str.launching.DebuggableHybridInterpreter.invoke(DebuggableHybridInterpreter.java:150)
	at org.strategoxt.imp.runtime.Environment$2.invoke(Environment.java:195)
	at org.strategoxt.imp.runtime.services.StrategoObserver.invoke(StrategoObserver.java:701)
	at org.strategoxt.imp.runtime.services.StrategoObserver.invokeSilent(StrategoObserver.java:750)
	at org.strategoxt.imp.runtime.services.StrategoObserver.update(StrategoObserver.java:498)
	at org.strategoxt.imp.runtime.services.StrategoObserverBackgroundUpdateJob.analyzeFile(StrategoObserverBackgroundUpdateJob.java:118)
	at org.strategoxt.imp.runtime.services.StrategoObserverBackgroundUpdateJob.analyze(StrategoObserverBackgroundUpdateJob.java:64)
	at org.strategoxt.imp.runtime.services.StrategoAnalysisQueue$UpdateJob.run(StrategoAnalysisQueue.java:83)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:53)
Caused by: org.spoofax.interpreter.core.InterpreterException: Wrong strategy arity when calling 'task_api_evaluate', expected 3 got 2
	at org.spoofax.interpreter.stratego.PrimT.eval(PrimT.java:57)
	at org.spoofax.interpreter.stratego.Strategy.evaluate(Strategy.java:76)
	at org.spoofax.interpreter.core.Interpreter.evaluate(Interpreter.java:109)
	... 38 more
Submitted by Guido Wachsmuth on 26 June 2013 at 16:07


On 27 June 2013 at 05:07 Gabriël Konat closed this issue.

Log in to post comments