Builder failed for dynamically loaded editor

java.lang.NullPointerException
at org.strategoxt.lang.terms.StrategoConstructor.hashFunction(StrategoConstructor.java:85)
at org.strategoxt.lang.terms.StrategoTerm.hashCode(StrategoTerm.java:98)
at java.util.HashMap.get(HashMap.java:317)
at org.strategoxt.lang.terms.TermFactory.makeConstructor(TermFactory.java:132)
at org.strategoxt.imp.runtime.stratego.adapter.WrappedAstNodeAppl.(WrappedAstNodeAppl.java:21)
at org.strategoxt.imp.runtime.stratego.adapter.WrappedAstNodeFactory.wrap(WrappedAstNodeFactory.java:41)
at org.strategoxt.imp.runtime.parser.ast.AstNode.getTerm(AstNode.java:138)
at org.strategoxt.imp.runtime.services.StrategoObserver.makeInputTerm(StrategoObserver.java:460)
at org.strategoxt.imp.runtime.services.StrategoBuilder.invokeObserver(StrategoBuilder.java:291)
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)

seems to be caused by this injection:

Exp -> Start

Submitted on 21 September 2010 at 12:49

On 21 September 2010 at 14:01 Lennart Kats closed this issue.

On 21 September 2010 at 14:01 Lennart Kats commented:

I’m not sure what was causing this, but I added a null pointer check. Should be fixed in 0.5.3.5 (to be released).

Log in to post comments