org.eclipse.emf.codegen.jet.JETException: InvocationTargetException for BMPM Tutorial [message #78664] |
Sat, 18 November 2006 00:21 |
Eclipse User |
|
|
|
Originally posted by: thf20022003.yahoo.com
Hi,
I tried with various builds (2.x) of GMF, but I still get the following
exception while generating "design.diagram" project. Any idea ?
org.eclipse.emf.codegen.jet.JETException: InvocationTargetException
at org.eclipse.emf.codegen.jet.JETEmitter.generate(JETEmitter.j ava:396)
at org.eclipse.emf.codegen.jet.JETEmitter.generate(JETEmitter.j ava:369)
at
org.eclipse.gmf.internal.common.codegen.JETEmitterAdapter.ge nerate(JETEmitterAdapter.java:35)
at
org.eclipse.gmf.internal.common.codegen.GeneratorBase.doGene rateJavaClass(GeneratorBase.java:316)
at
org.eclipse.gmf.codegen.util.Generator.internalGenerateJavaC lass(Generator.java:1148)
at
org.eclipse.gmf.codegen.util.Generator.generateNavigatorLabe lProvider(Generator.java:884)
at org.eclipse.gmf.codegen.util.Generator.customRun(Generator.j ava:191)
at
org.eclipse.gmf.internal.common.codegen.GeneratorBase.doRun( GeneratorBase.java:426)
at
org.eclipse.gmf.internal.common.codegen.GeneratorBase.run(Ge neratorBase.java:83)
at
org.eclipse.gmf.internal.codegen.popup.actions.ExecuteTempla tesOperation.run(ExecuteTemplatesOperation.java:175)
at
org.eclipse.jface.operation.ModalContext$ModalContextThread. run(ModalContext.java:113)
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.emf.codegen.jet.JETEmitter.generate(JETEmitter.j ava:388)
.... 10 more
Caused by: java.lang.NullPointerException
at
org.eclipse.gmf.codegen.templates.navigator.NavigatorLabelPr oviderGenerator$1RegistryKey.getKey(NavigatorLabelProviderGe nerator.java:279)
at
org.eclipse.gmf.codegen.templates.navigator.NavigatorLabelPr oviderGenerator$1RegistryKey.getKey(NavigatorLabelProviderGe nerator.java:260)
at
org.eclipse.gmf.codegen.templates.navigator.NavigatorLabelPr oviderGenerator.generate(NavigatorLabelProviderGenerator.jav a:432)
.... 15 more
Thanks,
Tong
|
|
|
|
Powered by
FUDForum. Page generated in 0.03044 seconds