internal error during analysis related to error marks
After adding a constraint-error rule, I noticed the error mark would not clear itself after fixing the toy test.
cleaning the project, rebuilding, restarting eclipse etc. would not fix the issue. The mark wouldn’t disappear.
that’s when I noticed the following internal error in the error tab.
it seems there is a NullPointerException at SetOnlyMarkersPrimitive.java:40 which causes SSL_EXT_set_only_markers to fail.Now, I don’t know how to clear the error mark and work around this problem
(also I can’t register to yellowgrass, the captcha doesn’t work, i filed another bug for this, but I can’t therefore comment further on the bug once I submit it. You can mail me for further info, or I’m in the #spoofax freenode irc channel)I’m running eclipse 4.4 on OSX Mavricks.
with java version “1.7.0_67”
Java(TM) SE Runtime Environment (build 1.7.0_67-b01)
Java HotSpot(TM) 64-Bit Server VM (build 24.65-b04, mixed mode)and Spoofax Core 1.2.0.0-s41851
Submitted on 30 August 2014 at 00:37org.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.invokeSilent(StrategoObserver.java:695) at org.strategoxt.imp.runtime.services.StrategoObserver.update(StrategoObserver.java:399) at org.strategoxt.imp.runtime.FileState.getAnalyzedAst(FileState.java:91) at org.strategoxt.imp.metatooling.building.AntForceOnSave.main(AntForceOnSave.java:24) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.apache.tools.ant.taskdefs.ExecuteJava.run(ExecuteJava.java:217) at org.apache.tools.ant.taskdefs.ExecuteJava.execute(ExecuteJava.java:152) at org.apache.tools.ant.taskdefs.Java.run(Java.java:771) at org.apache.tools.ant.taskdefs.Java.executeJava(Java.java:221) at org.apache.tools.ant.taskdefs.Java.executeJava(Java.java:135) at org.apache.tools.ant.taskdefs.Java.execute(Java.java:108) at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292) at sun.reflect.GeneratedMethodAccessor33.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106) at org.apache.tools.ant.Task.perform(Task.java:348) at org.apache.tools.ant.Target.execute(Target.java:435) at org.apache.tools.ant.Target.performTasks(Target.java:456) at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1393) at org.apache.tools.ant.Project.executeTarget(Project.java:1364) at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41) at org.eclipse.ant.internal.core.ant.EclipseDefaultExecutor.executeTargets(EclipseDefaultExecutor.java:36) at org.apache.tools.ant.Project.executeTargets(Project.java:1248) at org.eclipse.ant.internal.core.ant.InternalAntRunner.run(InternalAntRunner.java:703) at org.eclipse.ant.internal.core.ant.InternalAntRunner.run(InternalAntRunner.java:525) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.eclipse.ant.core.AntRunner.run(AntRunner.java:371) at org.eclipse.ant.internal.launching.launchConfigurations.AntLaunchDelegate.runInSameVM(AntLaunchDelegate.java:265) at org.eclipse.ant.internal.launching.launchConfigurations.AntLaunchDelegate.launch(AntLaunchDelegate.java:224) at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:883) at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:739) at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:731) at org.eclipse.core.externaltools.internal.model.ExternalToolBuilder.launchBuild(ExternalToolBuilder.java:183) at org.eclipse.core.externaltools.internal.model.ExternalToolBuilder.doBuildBasedOnScope(ExternalToolBuilder.java:171) at org.eclipse.core.externaltools.internal.model.ExternalToolBuilder.build(ExternalToolBuilder.java:90) at org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:734) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42) at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:206) at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:246) at org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:299) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42) at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:302) at org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.java:358) at org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:381) at org.eclipse.core.internal.resources.Workspace.buildInternal(Workspace.java:496) at org.eclipse.core.internal.resources.Workspace.build(Workspace.java:415) at org.eclipse.ui.actions.BuildAction$1.runInWorkspace(BuildAction.java:305) at org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:38) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54) Caused by: org.strategoxt.lang.StrategoException: Exception in execution of primitive 'SSL_EXT_set_only_markers' at org.strategoxt.lang.Context.invokePrimitive(Context.java:240) at org.strategoxt.lang.Context.invokePrimitive(Context.java:216) at trans.set_only_markers_0_1.invoke(set_only_markers_0_1.java:28) at trans.analysis_spoofax_update_file_1_0.invoke(analysis_spoofax_update_file_1_0.java:34) at trans.lifted2516.invoke(lifted2516.java:28) 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.compat.override.performance_tweaks.map_1_0_override.invoke(map_1_0_override.java:29) at trans.analysis_spoofax_output_1_0.invoke(analysis_spoofax_output_1_0.java:99) at trans.analysis_files_spoofax_5_2.invoke(analysis_files_spoofax_5_2.java:45) at trans.analysis_single_default_4_1.invoke(analysis_single_default_4_1.java:42) at trans.analysis_single_default_3_1.invoke(analysis_single_default_3_1.java:29) at trans.analysis_single_default_interface_0_0.invoke(analysis_single_default_interface_0_0.java:34) at trans.analysis_default_editor_0_0.invoke(analysis_default_editor_0_0.java:39) at trans.editor_analyze_0_0.invoke(editor_analyze_0_0.java:29) 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) ... 60 more Caused by: java.lang.NullPointerException at org.strategoxt.imp.runtime.stratego.SetOnlyMarkersPrimitive.call(SetOnlyMarkersPrimitive.java:40) at org.strategoxt.lang.Context.invokePrimitive(Context.java:227) ... 79 more