Skip to main content



      Home
Home » Modeling » GMF (Graphical Modeling Framework) » No code been generated while click Generate Model Code
No code been generated while click Generate Model Code [message #48219] Thu, 14 September 2006 16:25 Go to next message
Eclipse UserFriend
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 Go to previous message
Eclipse UserFriend
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
>
>
Previous Topic:classes not being generated
Next Topic:GMF Issue
Goto Forum:
  


Current Time: Sat Jul 05 09:50:30 EDT 2025

Powered by FUDForum. Page generated in 0.11433 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top