I get this when compiling my project using Eclipse 3.6 only (not 3.5) in the sdf2imp.eclipse task.

java.lang.NullPointerException
at org.strategoxt.lang.terms.TermFactory.getStorageType(TermFactory.java:229)
at org.strategoxt.lang.terms.TermFactory.makeTuple(TermFactory.java:212)
at org.spoofax.interpreter.terms.BasicTermFactory.makeTuple(BasicTermFactory.java:418)
at org.strategoxt.stratego_lib.get_config_0_0.invoke(get_config_0_0.java:24)
at org.strategoxt.imp.generator.sdf2imp_jvm_0_0.invoke(sdf2imp_jvm_0_0.java:59)
at org.strategoxt.imp.metatooling.building.DynamicDescriptorBuilder.invokeBuilder(DynamicDescriptorBuilder.java:164)
at org.strategoxt.imp.metatooling.building.DynamicDescriptorBuilder.buildDescriptor(DynamicDescriptorBuilder.java:121)
at org.strategoxt.imp.metatooling.building.DynamicDescriptorBuilder.updateResource(DynamicDescriptorBuilder.java:88)
at org.strategoxt.imp.metatooling.building.AntDescriptorBuilder.main(AntDescriptorBuilder.java:38)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
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:764)
at org.apache.tools.ant.taskdefs.Java.executeJava(Java.java:218)
at org.apache.tools.ant.taskdefs.Java.executeJava(Java.java:132)
at org.apache.tools.ant.taskdefs.Java.execute(Java.java:105)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
at sun.reflect.GeneratedMethodAccessor59.invoke(Unknown Source)

What’s wrong?

Submitted by Zef Hemel on 9 July 2010 at 15:43

On 9 July 2010 at 16:37 Lennart Kats commented:

Strange problem. Is there anything in the error log like “Unable to initialize dynamic builder” ? [edit]Actually, “Unable to initialize builder” shouldn’t be the problem here. But maybe there’s something else?[/edit]


On 8 January 2013 at 17:03 Gabriël Konat closed this issue.

Log in to post comments