Community
Participate
Working Groups
Steps to Reproduce : 1/ Create 2 Stereotypes, ste1 and ste2 with an Association between them 2/ Create an other Stereotype ste3 3/ Create a Dependency between ste3 and the Association 4/ Try to drop the Dependency -> You get an Exception Note : this bug exists in the Class Diagram also.
The ends of a Dependency are NamedElement. Tests in the Class Diagram show that the drop of a Dependency throw an Exception, when a end is not a Node.
We get an NPE, because, the EditPart for the source/target is AssociationNameEditPart and not AssociationEditPart. The problem comes from CommonDeferredCreateConnectionViewCommand.
Done in r3110.
dependency and mutli-dependency must not be designed in the profile diagram Bug 346404