Community
Participate
Working Groups
Created attachment 285356 [details] testDeleteNodeWithNoteAttachementEcore Scenario: * Open the diagram in the attached modeling project * from diagram, delete NewEclass1 -> KO: nothing is deleted and we have the eception Caused by: java.lang.ClassCastException: org.eclipse.gmf.runtime.notation.impl.EdgeImpl cannot be cast to org.eclipse.gmf.runtime.notation.Node at org.eclipse.sirius.diagram.ui.tools.internal.graphical.edit.policies.DeleteHelper$DeleteRelatedNotesTask.getSafe(DeleteHelper.java:203) The exception occurs when a Note is attached to both the node and the edge. The workaround is to delete one of the note attachements before deleting NewEclass1.
This issues looks like a duplicate of Bug 569386