AssertionError in SelectionFetcher
Submitted by Sverre Rabbelier on 15 June 2011 at 16:08
java.lang.AssertionError
at org.spoofax.jsglr.client.imploder.Tokenizer.getTokenAt(Tokenizer.java:82)
at org.spoofax.jsglr.client.imploder.Tokenizer.getTokenAt(Tokenizer.java:1)
at org.spoofax.jsglr.client.imploder.AbstractTokenizer.getTokenBefore(AbstractTokenizer.java:248)
at org.strategoxt.imp.testing.SelectionFetcher$1.preVisit(SelectionFetcher.java:32)
at org.spoofax.terms.TermVisitor.visit(TermVisitor.java:17)
at org.spoofax.terms.TermVisitor.visit(TermVisitor.java:21)
at org.spoofax.terms.TermVisitor.visit(TermVisitor.java:21)
at org.spoofax.terms.TermVisitor.visit(TermVisitor.java:21)
at org.spoofax.terms.TermVisitor.visit(TermVisitor.java:21)
at org.strategoxt.imp.testing.SelectionFetcher.fetch(SelectionFetcher.java:52)
at org.strategoxt.imp.testing.SpoofaxTestingJSGLRI$1.preTransform(SpoofaxTestingJSGLRI.java:98)
at org.spoofax.terms.TermTransformer.transform(TermTransformer.java:33)
at org.spoofax.terms.TermTransformer.simpleAll(TermTransformer.java:55)
at org.spoofax.terms.TermTransformer.transform(TermTransformer.java:34)
at org.spoofax.terms.TermTransformer.simpleMapIgnoreAnnos(TermTransformer.java:90)
at org.spoofax.terms.TermTransformer.simpleAll(TermTransformer.java:48)
at org.spoofax.terms.TermTransformer.transform(TermTransformer.java:34)
at org.spoofax.terms.TermTransformer.simpleAll(TermTransformer.java:55)
at org.spoofax.terms.TermTransformer.transform(TermTransformer.java:34)
at org.strategoxt.imp.testing.SpoofaxTestingJSGLRI.parseTestedFragments(SpoofaxTestingJSGLRI.java:124)
at org.strategoxt.imp.testing.SpoofaxTestingJSGLRI.doParse(SpoofaxTestingJSGLRI.java:69)
at org.strategoxt.imp.runtime.parser.AbstractSGLRI.parse(AbstractSGLRI.java:106)
at org.strategoxt.imp.runtime.parser.SGLRParseController.doParse(SGLRParseController.java:352)
at org.strategoxt.imp.runtime.parser.SGLRParseController.parse(SGLRParseController.java:287)
at org.strategoxt.imp.runtime.parser.SGLRParseController.parse(SGLRParseController.java:1)
at org.strategoxt.imp.runtime.dynamicloading.DynamicParseController.parse(DynamicParseController.java:168)
at org.eclipse.imp.editor.ParserScheduler.run(ParserScheduler.java:86)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
Issue Log
Turns out this was caused by the tested language not supporting whitespace before a package. Addressing that issue fixed this error.
Log in to post comments