Spotted on a number of systems during the tutorial, compile errors would stop being reported in the editor:

Mac 64 bit:
org.spoofax.interpreter.core.InterpreterException:
org.strategoxt.lang.StrategoException: Exception in execution of
primitive ‘SSL_EXT_queue_analysis’
at org.strategoxt.HybridInterpreter.invoke(HybridInterpreter.java:367)
at org.strategoxt.imp.runtime.Environment$1.invoke(Environment.java:193)
at org.strategoxt.imp.runtime.services.StrategoObserver.invoke(StrategoObserver.java:564)
at org.strategoxt.imp.runtime.services.StrategoObserver.invokeSilent(StrategoObserver.java:605)
at org.strategoxt.imp.runtime.services.StrategoObserver.update(StrategoObserver.java:292)
at org.strategoxt.imp.runtime.services.StrategoObserverUpdateJob.analyze(StrategoObserverUpdateJob.java:30)
at org.strategoxt.imp.runtime.services.StrategoAnalysisQueue$UpdateJob.run(StrategoAnalysisQueue.java:88)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
Caused by: org.strategoxt.lang.StrategoException: Exception in
execution of primitive ‘SSL_EXT_queue_analysis’
at org.strategoxt.lang.Context.invokePrimitive(Context.java:234)
at org.strategoxt.lang.Context.invokePrimitive(Context.java:210)
at trans.queue_analysis_0_0.invoke(queue_analysis_0_0.java:42)
at trans.lifted189.invoke(lifted189.java:44)
at org.strategoxt.stratego_lib.try_1_0.invoke(try_1_0.java:28)
at trans.read_import_0_1.invoke(read_import_0_1.java:52)
at trans.lifted183.invoke(lifted183.java:27)
at trans.open_import_sig_cached_2_0.invoke(open_import_sig_cached_2_0.java:78)
at trans.lifted233.invoke(lifted233.java:145)
at org.strategoxt.stratego_lib.dr_scope_1_1.invoke(dr_scope_1_1.java:58)
at trans.open_import_sig_4_0.invoke(open_import_sig_4_0.java:86)
at trans.editor_parse_webdsl_module_0_0.invoke(editor_parse_webdsl_module_0_0.java:64)
at trans.lifted99.invoke(lifted99.java:39)
at org.strategoxt.stratego_lib.dr_scope_1_1.invoke(dr_scope_1_1.java:58)
at trans.get_imports_0_0.invoke(get_imports_0_0.java:52)
at org.strategoxt.lang.SRTS_EXT_filter_1_0.filterMaintainAnnos(SRTS_EXT_filter_1_0.java:65)
at org.strategoxt.lang.SRTS_EXT_filter_1_0.invoke(SRTS_EXT_filter_1_0.java:37)
at org.strategoxt.lang.compat.override.performance_tweaks.filter_1_0_override.invoke(filter_1_0_override.java:21)
at trans.lifted77.invoke(lifted77.java:38)
at org.strategoxt.stratego_lib.dr_scope_1_1.invoke(dr_scope_1_1.java:58)
at trans.lifted76.invoke(lifted76.java:52)
at org.webdsl.webdsl_generator.lifted636.invoke(lifted636.java:48)
at org.strategoxt.stratego_lib.dr_scope_1_1.invoke(dr_scope_1_1.java:58)
at org.webdsl.webdsl_generator.in_typechecking_phase_1_0.invoke(in_typechecking_phase_1_0.java:36)
at trans.editor_analyze_work_0_0.invoke(editor_analyze_work_0_0.java:59)
at trans.editor_analyze_0_0.invoke(editor_analyze_0_0.java:59)
at org.strategoxt.lang.Strategy.invokeDynamic(Strategy.java:30)
at org.strategoxt.lang.InteropSDefT.evaluate(InteropSDefT.java:194)
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)
… 7 more
Caused by: java.lang.NullPointerException
at org.strategoxt.imp.runtime.services.StrategoAnalysisQueue.queueAnalysis(StrategoAnalysisQueue.java:220)
at org.strategoxt.imp.runtime.stratego.QueueAnalysisPrimitive.queue(QueueAnalysisPrimitive.java:80)
at org.strategoxt.imp.runtime.stratego.QueueAnalysisPrimitive.call(QueueAnalysisPrimitive.java:40)
at org.strategoxt.lang.Context.invokePrimitive(Context.java:221)
… 38 more

It also occurred on Windows 7 32 bit:

Internal error evaluating strategy editor-analyze

org.spoofax.interpreter.core.InterpreterException: org.strategoxt.lang.StrategoException: Exception in execution of primitive 'SSL_EXT_queue_analysis'
	at org.strategoxt.HybridInterpreter.invoke(HybridInterpreter.java:367)
	at org.strategoxt.imp.runtime.services.StrategoObserver.invoke(StrategoObserver.java:564)
	at org.strategoxt.imp.runtime.services.StrategoObserver.invokeSilent(StrategoObserver.java:605)
	at org.strategoxt.imp.runtime.services.StrategoObserver.update(StrategoObserver.java:292)
	at org.strategoxt.imp.runtime.services.StrategoObserverUpdateJob.analyze(StrategoObserverUpdateJob.java:30)
	at org.strategoxt.imp.runtime.services.StrategoAnalysisQueue$UpdateJob.run(StrategoAnalysisQueue.java:88)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
Caused by: org.strategoxt.lang.StrategoException: Exception in execution of primitive 'SSL_EXT_queue_analysis'
	at org.strategoxt.lang.Context.invokePrimitive(Context.java:234)
	at org.strategoxt.lang.Context.invokePrimitive(Context.java:210)
	at trans.queue_analysis_0_0.invoke(queue_analysis_0_0.java:42)
	at trans.lifted189.invoke(lifted189.java:44)
	at org.strategoxt.stratego_lib.try_1_0.invoke(try_1_0.java:28)
	at trans.read_import_0_1.invoke(read_import_0_1.java:52)
	at trans.lifted183.invoke(lifted183.java:27)
	at trans.open_import_sig_cached_2_0.invoke(open_import_sig_cached_2_0.java:78)
	at trans.lifted233.invoke(lifted233.java:145)
	at org.strategoxt.stratego_lib.dr_scope_1_1.invoke(dr_scope_1_1.java:58)
	at trans.open_import_sig_4_0.invoke(open_import_sig_4_0.java:86)
	at trans.editor_parse_webdsl_module_0_0.invoke(editor_parse_webdsl_module_0_0.java:64)
	at trans.lifted99.invoke(lifted99.java:39)
	at org.strategoxt.stratego_lib.dr_scope_1_1.invoke(dr_scope_1_1.java:58)
	at trans.get_imports_0_0.invoke(get_imports_0_0.java:52)
	at org.strategoxt.lang.SRTS_EXT_filter_1_0.filterMaintainAnnos(SRTS_EXT_filter_1_0.java:65)
	at org.strategoxt.lang.SRTS_EXT_filter_1_0.invoke(SRTS_EXT_filter_1_0.java:37)
	at org.strategoxt.lang.compat.override.performance_tweaks.filter_1_0_override.invoke(filter_1_0_override.java:21)
	at trans.declare_globals_0_0.invoke(declare_globals_0_0.java:36)
	at trans.lifted81.invoke(lifted81.java:58)
	at org.strategoxt.stratego_lib.dr_scope_1_1.invoke(dr_scope_1_1.java:58)
	at trans.lifted76.invoke(lifted76.java:63)
	at org.webdsl.webdsl_generator.lifted636.invoke(lifted636.java:48)
	at org.strategoxt.stratego_lib.dr_scope_1_1.invoke(dr_scope_1_1.java:58)
	at org.webdsl.webdsl_generator.in_typechecking_phase_1_0.invoke(in_typechecking_phase_1_0.java:36)
	at trans.editor_analyze_work_0_0.invoke(editor_analyze_work_0_0.java:59)
	at trans.editor_analyze_0_0.invoke(editor_analyze_0_0.java:59)
	at org.strategoxt.lang.Strategy.invokeDynamic(Strategy.java:30)
	at org.strategoxt.lang.InteropSDefT.evaluate(InteropSDefT.java:194)
	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)
	... 6 more
Caused by: java.lang.NullPointerException
	at org.strategoxt.imp.runtime.services.StrategoAnalysisQueue.queueAnalysis(StrategoAnalysisQueue.java:220)
	at org.strategoxt.imp.runtime.stratego.QueueAnalysisPrimitive.queue(QueueAnalysisPrimitive.java:80)
	at org.strategoxt.imp.runtime.stratego.QueueAnalysisPrimitive.call(QueueAnalysisPrimitive.java:40)
	at org.strategoxt.lang.Context.invokePrimitive(Context.java:221)
	... 38 more

and when saving a file:

Runtime exited when evaluating strategy on-save

org.spoofax.interpreter.core.InterpreterErrorExit: Internal error: with clause failed unexpectedly in strategy 'editor-analyze-multifile'
	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:564)
	at org.strategoxt.imp.runtime.services.StrategoObserver.invokeSilent(StrategoObserver.java:605)
	at org.strategoxt.imp.runtime.services.StrategoObserver.invokeSilent(StrategoObserver.java:585)
	at org.strategoxt.imp.runtime.services.OnSaveService.documentChanged(OnSaveService.java:60)
	at org.eclipse.imp.editor.UniversalEditor.doSave(UniversalEditor.java:1937)
	at org.eclipse.ui.texteditor.AbstractTextEditor$TextEditorSavable.doSave(AbstractTextEditor.java:7067)
	at org.eclipse.ui.Saveable.doSave(Saveable.java:214)
	at org.eclipse.ui.internal.SaveableHelper.doSaveModel(SaveableHelper.java:346)
	at org.eclipse.ui.internal.SaveableHelper$3.run(SaveableHelper.java:193)
	at org.eclipse.ui.internal.SaveableHelper$5.run(SaveableHelper.java:274)
	at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:464)
	at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:372)
	at org.eclipse.jface.window.ApplicationWindow$1.run(ApplicationWindow.java:759)
	at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
	at org.eclipse.jface.window.ApplicationWindow.run(ApplicationWindow.java:756)
	at org.eclipse.ui.internal.WorkbenchWindow.run(WorkbenchWindow.java:2579)
	at org.eclipse.ui.internal.SaveableHelper.runProgressMonitorOperation(SaveableHelper.java:282)
	at org.eclipse.ui.internal.SaveableHelper.runProgressMonitorOperation(SaveableHelper.java:261)
	at org.eclipse.ui.internal.SaveableHelper.saveModels(SaveableHelper.java:204)
	at org.eclipse.ui.internal.SaveableHelper.savePart(SaveableHelper.java:144)
	at org.eclipse.ui.internal.EditorManager.savePart(EditorManager.java:1357)
	at org.eclipse.ui.internal.WorkbenchPage.savePart(WorkbenchPage.java:3328)
	at org.eclipse.ui.internal.WorkbenchPage.saveEditor(WorkbenchPage.java:3341)
	at org.eclipse.ui.internal.SaveAction.run(SaveAction.java:76)
	at org.eclipse.jface.action.Action.runWithEvent(Action.java:498)
	at org.eclipse.ui.commands.ActionHandler.execute(ActionHandler.java:185)
	at org.eclipse.ui.internal.handlers.LegacyHandlerWrapper.execute(LegacyHandlerWrapper.java:109)
	at org.eclipse.core.commands.Command.executeWithChecks(Command.java:476)
	at org.eclipse.core.commands.ParameterizedCommand.executeWithChecks(ParameterizedCommand.java:508)
	at org.eclipse.ui.internal.handlers.HandlerService.executeCommand(HandlerService.java:169)
	at org.eclipse.ui.internal.keys.WorkbenchKeyboard.executeCommand(WorkbenchKeyboard.java:470)
	at org.eclipse.ui.internal.keys.WorkbenchKeyboard.press(WorkbenchKeyboard.java:824)
	at org.eclipse.ui.internal.keys.WorkbenchKeyboard.processKeyEvent(WorkbenchKeyboard.java:880)
	at org.eclipse.ui.internal.keys.WorkbenchKeyboard.filterKeySequenceBindings(WorkbenchKeyboard.java:569)
	at org.eclipse.ui.internal.keys.WorkbenchKeyboard.access$3(WorkbenchKeyboard.java:510)
	at org.eclipse.ui.internal.keys.WorkbenchKeyboard$KeyDownFilter.handleEvent(WorkbenchKeyboard.java:125)
	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
	at org.eclipse.swt.widgets.Display.filterEvent(Display.java:1208)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1002)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1027)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1012)
	at org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:1040)
	at org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:1036)
	at org.eclipse.swt.widgets.Widget.wmChar(Widget.java:1368)
	at org.eclipse.swt.widgets.Control.WM_CHAR(Control.java:4053)
	at org.eclipse.swt.widgets.Canvas.WM_CHAR(Canvas.java:346)
	at org.eclipse.swt.widgets.Control.windowProc(Control.java:3946)
	at org.eclipse.swt.widgets.Canvas.windowProc(Canvas.java:342)
	at org.eclipse.swt.widgets.Display.windowProc(Display.java:4619)
	at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native Method)
	at org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:2411)
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3501)
	at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2405)
	at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2369)
	at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2221)
	at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:500)
	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:493)
	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
	at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:113)
	at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:194)
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:368)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:559)
	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
	at org.eclipse.equinox.launcher.Main.run(Main.java:1311)
Caused by: org.strategoxt.lang.StrategoErrorExit: Internal error: with clause failed unexpectedly in strategy 'editor-analyze-multifile'
	1
	at org.strategoxt.lang.compat.report_failure_compat_1_0.invoke(report_failure_compat_1_0.java:53)
	at trans.editor_analyze_multifile_0_0.invoke(editor_analyze_multifile_0_0.java:113)
	at trans.on_save_0_0.invoke(on_save_0_0.java:39)
	at org.strategoxt.lang.Strategy.invokeDynamic(Strategy.java:30)
	at org.strategoxt.lang.InteropSDefT.evaluate(InteropSDefT.java:194)
	... 76 more
Submitted by Danny Groenewegen on 24 October 2010 at 19:54

On 25 October 2010 at 10:37 Lennart Kats commented:

I documented the first problem in Spoofax/270. The “with failure” seems to be a different problem.


On 27 October 2010 at 11:30 Danny Groenewegen commented:

Seems to be fixed after updating to Spoofax 0.5.3.9


On 27 October 2010 at 11:30 Danny Groenewegen closed this issue.

Log in to post comments