This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Repro steps: - create a sequence diagram - create and name 2 lifelines - create a synchronous message from lifeline1 to lifeline2 - delete lifeline2 from diagram, leaving it in the model - drag the lifeline2 from project tree to the sequence diagram - click on the Relationship Discovery toolbar button to restore the message Result: nothing happens and message is not drawn.
Workaround is to close the diagram (save it) and reopen it before invoking "Relationship Discovery".
use element XMIID as key to find its corresponding engine. /cvs/uml/core/src/org/netbeans/modules/uml/ui/products/ad/diagramengines/MapElementToDrawEngine.java,v <-- MapElementToDrawEngine.java new revision: 1.3; previous revision: 1.2
verified in build 20070913.