|
|
Re: NullPointerException on subnode - default icon replaced by red square [message #1494131 is a reply to message #1490995] |
Mon, 01 December 2014 02:54  |
Eclipse User |
|
|
|
Hi Florian,
After some debugging I discovered the cause of the problem.
In the metamodel the class was previously defined as an abstract class. Because of changes in the metamodel the abstract class was changed into a normal class. When removing the class and replace it by a new class (same name, same attributes, ...) and regenerating the code (after removing the old code) it works without nullpointer exception.
I do have some problems with my ecore editor (nightly build version because of sirius 2.0) so I don't know if this problem is related with nightly build ecore editor or it's still because of the code generator.
I will first try to upgrade my ecore editor to see if the problem is still there. If so I will create a bug report.
Regards,
Steven
|
|
|
Powered by
FUDForum. Page generated in 0.10492 seconds