Community
Participate
Working Groups
There is an exception in the getLabel operation (see trace below), if the available objects are no named elements. The existing code in getLabels has a special treatment for some types (e.g. package import or comment), but not for instance for template signature and template binding. The error is caused by an unchecked assumption that a suitable named element associated with the selection has been assigned. java.lang.NullPointerException at org.eclipse.papyrus.profile.utils.Util.getLabel(Util.java:125) at org.eclipse.papyrus.profile.utils.Util.getStringArrayFromList(Util.java:185) at org.eclipse.papyrus.profile.tree.objects.MetaclassValueTreeObject.editMe(MetaclassValueTreeObject.java:78) at org.eclipse.papyrus.profile.ui.compositesformodel.PropertyComposite.addButtonPressed(PropertyComposite.java:195)
Fixed in 0.7x (plugin org.eclipse.papyrus.profile)
Fixed in 0.7x (plugin org.eclipse.papyrus.profile).