No code been generated while click Generate Model Code [message #48219] |
Thu, 14 September 2006 16:25  |
Eclipse User |
|
|
|
Hello everyone,
I follow the GMF tutorial but using my own model (test.mdl) instead. Problem
occurs while I right click the test.genmodel and do generate model code,
nothing happens (also no error message). It should be generate code within 3
packages (test, test.impl, test.util) right? After then, I continue to
generate edit and got an error. The error shows in below. Does anybody know
what happen? Thanks a lot.
Generate Ed&it Code
Generating edit project
Generating Java class test.test.provider.FlowDeleteCommandItemProvider
failed with an unhandled exception
InvocationTargetException
java.lang.reflect.InvocationTargetException
NullPointerException
Generating Java class test.test.provider.FlowCreateCommandItemProvider
failed with an unhandled exception
InvocationTargetException
java.lang.reflect.InvocationTargetException
NullPointerException
Generating Java class test.test.provider.FlowReCreateCommandItemProvider
failed with an unhandled exception
InvocationTargetException
java.lang.reflect.InvocationTargetException
NullPointerException
Generating Java class test.test.provider.ShapeCreateCommandItemProvider
failed with an unhandled exception
InvocationTargetException
java.lang.reflect.InvocationTargetException
NullPointerException
Generating Java class test.test.provider.ShapeDeleteCommandItemProvider
failed with an unhandled exception
InvocationTargetException
java.lang.reflect.InvocationTargetException
NullPointerException
Generating Java class test.test.provider.DiagramEditPartItemProvider
failed with an unhandled exception
InvocationTargetException
java.lang.reflect.InvocationTargetException
NullPointerException
Meilin
|
|
|
Re: No code been generated while click Generate Model Code [message #48772 is a reply to message #48219] |
Fri, 15 September 2006 06:37  |
Eclipse User |
|
|
|
Originally posted by: 5d5.mail.ru
I fear that nobody will tell you what happens without knowing the stack
of NullPointerException...
exquisitus wrote:
> Hello everyone,
>
>
>
> I follow the GMF tutorial but using my own model (test.mdl) instead. Problem
> occurs while I right click the test.genmodel and do generate model code,
> nothing happens (also no error message). It should be generate code within 3
> packages (test, test.impl, test.util) right? After then, I continue to
> generate edit and got an error. The error shows in below. Does anybody know
> what happen? Thanks a lot.
>
>
>
> Generate Ed&it Code
>
> Generating edit project
>
> Generating Java class test.test.provider.FlowDeleteCommandItemProvider
> failed with an unhandled exception
>
> InvocationTargetException
>
> java.lang.reflect.InvocationTargetException
>
> NullPointerException
>
> Generating Java class test.test.provider.FlowCreateCommandItemProvider
> failed with an unhandled exception
>
> InvocationTargetException
>
> java.lang.reflect.InvocationTargetException
>
> NullPointerException
>
> Generating Java class test.test.provider.FlowReCreateCommandItemProvider
> failed with an unhandled exception
>
> InvocationTargetException
>
> java.lang.reflect.InvocationTargetException
>
> NullPointerException
>
> Generating Java class test.test.provider.ShapeCreateCommandItemProvider
> failed with an unhandled exception
>
> InvocationTargetException
>
> java.lang.reflect.InvocationTargetException
>
> NullPointerException
>
> Generating Java class test.test.provider.ShapeDeleteCommandItemProvider
> failed with an unhandled exception
>
> InvocationTargetException
>
> java.lang.reflect.InvocationTargetException
>
> NullPointerException
>
> Generating Java class test.test.provider.DiagramEditPartItemProvider
> failed with an unhandled exception
>
> InvocationTargetException
>
> java.lang.reflect.InvocationTargetException
>
> NullPointerException
>
>
>
> Meilin
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.11433 seconds