org.eclipse.emf.common.util.WrappedException: org.eclipse.emf.codegen.jet.JETException: InvocationTargetException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • org.eclipse.emf.common.util.WrappedException: org.eclipse.emf.codegen.jet.JETException: InvocationTargetException at org.eclipse.emf.codegen.ecore.generator.AbstractGeneratorAdapter.generateJava(AbstractGeneratorAdapter.java:1046) at org.eclipse.emf.codegen.ecore.genmodel.generator.GenClassGeneratorAdapter.generateClass(GenClassGeneratorAdapter.java:147) at org.eclipse.emf.codegen.ecore.genmodel.generator.GenClassGeneratorAdapter.generateModel(GenClassGeneratorAdapter.java:107) at org.eclipse.emf.codegen.ecore.genmodel.generator.GenBaseGeneratorAdapter.doGenerate(GenBaseGeneratorAdapter.java:214) at org.eclipse.emf.codegen.ecore.generator.AbstractGeneratorAdapter.generate(AbstractGeneratorAdapter.java:275) at org.eclipse.emf.codegen.ecore.generator.Generator.generate(Generator.java:600) at org.eclipse.emf.codegen.ecore.generator.Generator.generate(Generator.java:512) at org.apache.tuscany.sdo.generate.JavaGenerator.generateFromGenModel(JavaGenerator.java:531) at org.apache.tuscany.sdo.generate.JavaGenerator.generatePackages(JavaGenerator.java:413) at org.apache.tuscany.sdo.generate.XSD2JavaGenerator.generateFromXMLSchema(XSD2JavaGenerator.java:212) at org.apache.tuscany.sdo.generate.XSD2JavaGenerator.run(XSD2JavaGenerator.java:148) at org.apache.tuscany.sdo.generate.XSD2JavaGenerator.main(XSD2JavaGenerator.java:97) at pl.raiffeisen.esb.catalog.tools.XSD2SDO.main(XSD2SDO.java:53) Caused by: org.eclipse.emf.codegen.jet.JETException: InvocationTargetException at org.eclipse.emf.codegen.jet.JETEmitter.generate(JETEmitter.java:396) at org.eclipse.emf.codegen.ecore.generator.AbstractGeneratorAdapter.generateJava(AbstractGeneratorAdapter.java:937) ... 12 more Caused by: java.lang.reflect.InvocationTargetException 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:616) at org.eclipse.emf.codegen.jet.JETEmitter.generate(JETEmitter.java:388) ... 13 more Caused by: java.lang.NullPointerException at org.eclipse.emf.codegen.ecore.genmodel.impl.GenBaseImpl.collectGenFeatures(GenBaseImpl.java:1353) at org.eclipse.emf.codegen.ecore.genmodel.impl.GenClassImpl.getAllGenFeatures(GenClassImpl.java:657) at org.eclipse.emf.codegen.ecore.genmodel.impl.GenClassImpl.getFeatureCount(GenClassImpl.java:826) at org.apache.tuscany.sdo.generate.templates.model.SDOClass.generate(SDOClass.java:1585) ... 18 more
No Bugmate found.