Nullpointer exception on running queue-analysis from builder strategy
Builder failed for non-dynamically loaded editorjava.lang.NullPointerException
Submitted by Rob Vermaas on 22 July 2010 at 15:04
at org.strategoxt.imp.runtime.stratego.QueueAnalysisPrimitive.queue(QueueAnalysisPrimitive.java:72)
at org.strategoxt.imp.runtime.stratego.QueueAnalysisPrimitive.call(QueueAnalysisPrimitive.java:40)
at org.spoofax.interpreter.stratego.PrimT.eval(PrimT.java:63)
at org.spoofax.interpreter.stratego.Strategy.evaluate(Strategy.java:96)
at org.spoofax.interpreter.core.Interpreter.invoke(Interpreter.java:69)
at org.strategoxt.HybridInterpreter.invoke(HybridInterpreter.java:351)
at org.strategoxt.imp.runtime.services.StrategoObserver.invoke(StrategoObserver.java:550)
at org.strategoxt.imp.runtime.services.StrategoBuilder.invokeObserver(StrategoBuilder.java:292)
at org.strategoxt.imp.runtime.services.StrategoBuilder.execute(StrategoBuilder.java:169)
at org.strategoxt.imp.runtime.services.StrategoBuilder.access$1(StrategoBuilder.java:155)
at org.strategoxt.imp.runtime.services.StrategoBuilder$1.run(StrategoBuilder.java:145)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
Issue Log
We can probably fix this by using the
RefreshResourcePrimitive.getResource()
method to fetch the path of the project, instead of using the approach used now by theQueueAnalysisPrimitive
class.
Cannot reproduce on latest Spoofax.
Log in to post comments