Community
Participate
Working Groups
Created attachment 265562 [details] Stack trace I can see that the Subject palette item is a "Component" intentionally (bug 312598 and bug 281977 ). Adding Subject to a Use Case diagram causes the Metaclass selection dialog to open, _except_ when it is added to a Package, in which case it creates a Component. Additionally, I found that clicking Cancel on the "Metaclass selection" causes an exception (full stack trace attached): Caused by: java.lang.IllegalArgumentException: The class 'Classifier' is not a valid classifier at org.eclipse.uml2.uml.internal.impl.UMLFactoryImpl.create(UMLFactoryImpl.java:666) at org.eclipse.papyrus.infra.gmfdiag.common.commands.CreateEditBasedElementCommand$CreateEditBasedElementTransactionalCommand.prepareCommand(CreateEditBasedElementCommand.java:236) at org.eclipse.papyrus.infra.gmfdiag.common.commands.CreateEditBasedElementCommand$CreateEditBasedElementTransactionalCommand.doExecuteWithResult(CreateEditBasedElementCommand.java:92)