Community
Participate
Working Groups
Create a simple XTend transformation creating EnumerationLiteral, e.g. let literal = new uml::EnumerationLiteral: literal.setName(el.name)-> literal NPE will be thrown: java.lang.NullPointerException at org.eclipse.xtend.typesystem.uml2.profile.ProfileMetaModel.getFullName(ProfileMetaModel.java:222) at org.eclipse.xtend.typesystem.uml2.profile.ProfileMetaModel.getType(ProfileMetaModel.java:255) at org.eclipse.xtend.expression.TypeSystemImpl$1.createNew(TypeSystemImpl.java:149)
Created attachment 205562 [details] Proposed patch
Created attachment 205581 [details] Reproducing Xpand Project
Created attachment 205583 [details] Reproducing Xpand Project revised project
Thanks for the patch! Could reproduce the issue and solution.
Bug resolved before Xpand 1.2 release date => Closing