Failure to perform reference resolving in dr-branch of editor plugin.


[ WebDSL | critical ] Internal error: with clause failed unexpectedly in rule ‘get-imported-decl’
Function(“computeGrade”,[Arg(“student”{“ent_Course_student3”},SimpleSort(“User”))],SimpleSort(“Float”),None)
.. loading def from: /Users/eelcovisser/workspace/department/course/course-data.app
WebDSL: rewriting failed, trace:
editor_resolve_internal_0_0
editor_resolve_internal_0_0
find_declaration_0_0
find_declaration_1_0
get_imported_decl_0_1
log_time_helper_1_1
dr_scope_1_1
[ WebDSL | critical ] Internal error: with clause failed unexpectedly in rule ‘get-imported-decl’
Function(“computeGrade”,[Arg(“student”{“ent_Course_student3”},SimpleSort(“User”))],SimpleSort(“Float”),None)
.. loading def from: /Users/eelcovisser/workspace/department/course/course-data.app
WebDSL: rewriting failed, trace:
editor_resolve_internal_0_0
editor_resolve_internal_0_0
find_declaration_0_0
find_declaration_1_0
get_imported_decl_0_1
log_time_helper_1_1
dr_scope_1_1
[ WebDSL | critical ] Internal error: with clause failed unexpectedly in rule ‘get-imported-decl’
Function(“computeGrade”,[Arg(“student”{“ent_Course_student3”},SimpleSort(“User”))],SimpleSort(“Float”),None)

Submitted by Eelco Visser on 27 September 2010 at 22:54

On 4 December 2013 at 10:32 Elmer van Chastelet tagged editor

On 4 December 2013 at 10:32 Elmer van Chastelet tagged 1.3.0

On 4 December 2013 at 10:32 Elmer van Chastelet removed tag @nathanbruning

On 4 December 2013 at 10:32 Elmer van Chastelet commented:

Old issue, but still occurs. Here are the logs:

Internal error evaluating strategy editor-resolve-internal
	editor_resolve_internal_0_0
	editor_resolve_internal_0_0
	find_declaration_0_0
	find_declaration_1_0
	get_imported_decl_0_1
	report_with_failure_0_1
	report_failure_0_2
	SRTS_EXT_fatal_err_0_2
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:704)
	at org.strategoxt.imp.runtime.services.StrategoObserver.invokeSilent(StrategoObserver.java:753)
	at org.strategoxt.imp.runtime.services.StrategoObserver.invokeSilent(StrategoObserver.java:744)
	at org.strategoxt.imp.runtime.services.StrategoObserver.invokeSilent(StrategoObserver.java:729)
	at org.strategoxt.imp.runtime.services.StrategoReferenceResolver.getLinkTarget(StrategoReferenceResolver.java:59)
	at org.strategoxt.imp.runtime.services.StrategoReferenceResolver.getLinkTarget(StrategoReferenceResolver.java:1)
	at org.strategoxt.imp.runtime.dynamicloading.DynamicReferenceResolver.getLinkTarget(DynamicReferenceResolver.java:21)
	at org.strategoxt.imp.runtime.services.AnnotationHoverHelper.getHoverHelpAt(AnnotationHoverHelper.java:43)
	at org.eclipse.imp.editor.internal.HoverHelpController.getHoverInfo(HoverHelpController.java:59)
	at org.eclipse.jface.text.TextViewerHoverManager$4.run(TextViewerHoverManager.java:168)
Caused by: org.spoofax.interpreter.core.InterpreterErrorExit: Internal error: with clause failed unexpectedly in 'get-imported-decl'
	Define([Page],"assignment",[Arg("assign",SimpleSort("Assignment")),Arg("tab",SimpleSort("String"))],None,TemplateBody([]))
	at org.strategoxt.lang.InteropSDefT.evaluate(InteropSDefT.java:194)
	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)
	... 13 more
Caused by: org.strategoxt.lang.StrategoErrorExit: Internal error: with clause failed unexpectedly in 'get-imported-decl'
	Define([Page],"assignment",[Arg("assign",SimpleSort("Assignment")),Arg("tab",SimpleSort("String"))],None,TemplateBody([]))
	report_with_failure_0_1
	get_imported_decl_0_1
	find_declaration_1_0
	find_declaration_0_0
	editor_resolve_internal_0_0
	editor_resolve_internal_0_0
	at org.strategoxt.lang.SRTS_EXT_fatal_err_0_3.invoke(SRTS_EXT_fatal_err_0_3.java:28)
	at org.strategoxt.lang.compat.override.java_integration.SRTS_EXT_fatal_err_0_2.invoke(SRTS_EXT_fatal_err_0_2.java:33)
	at org.strategoxt.lang.compat.override.java_integration.report_failure_0_2_override.invoke(report_failure_0_2_override.java:27)
	at org.strategoxt.stratego_lib.report_with_failure_0_1.invoke(report_with_failure_0_1.java:32)
	at trans.get_imported_decl_0_1.invoke(get_imported_decl_0_1.java:100)
	at trans.find_declaration_1_0.invoke(find_declaration_1_0.java:56)
	at trans.find_declaration_0_0.invoke(find_declaration_0_0.java:63)
	at trans.editor_resolve_internal_0_0.invoke(editor_resolve_internal_0_0.java:46)
	at org.strategoxt.lang.Strategy.invokeDynamic(Strategy.java:30)
	at org.strategoxt.lang.InteropSDefT.evaluate(InteropSDefT.java:192)
	... 16 more

On 4 July 2014 at 14:17 Danny Groenewegen commented:

Might have been fixed in https://svn.strategoxt.org/websvn/WebDSL/?op=revision&rev=5930&peg=5930

Original issue is quite old, closing it.


On 4 July 2014 at 14:17 Danny Groenewegen closed this issue.

Log in to post comments