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.
NB instrumented build: 200710232304 Repro steps: 1) Have 2 projects (P1, P2), each has a class diagram 1) In P1, In a class diagram, create a package (pack1), a interface element (I1) within the package 2) DnD pack2 to project P2, select No in "Move Element into Different Project" dialog 3) In P2, expand imported elements node 4) DnD I1 to the the diagram editor 5) Repeat step 4 again, now there are 2 I1 element in the editor 6) In the diagram editor for P2, select I1 element and click <Delete> key 7) Check "Also remove from Imported elements" in Delete dialog 8) The result is that I1 is not being deleted. (see snapshot) Repeat step 6 and step 7 again, it finally gets deleted. I try to select both I1 elements in the diagram and click <Delete>, none of the I1 elements is deleted. The issue is that if X number of same element is present in the diagram, it takes X number of deletions to finally remove the element from the imported list. Another workaround is to select I1 in Imported Elements from the Projects tree and <Delete>, all I1 elements in the diagram get deleted. The same logic should also apply from the diagram editor.
Created attachment 51617 [details] screenshot attached
I see ConcurrentModificationException thrown in the logfile. (see attached logfile)
Created attachment 51626 [details] messages file attached
this issue can't be verified yet due to the blocking issue 128883.
some steps are unclear steps 2.there was no pack2 creation bafore, not sure if it should be pack1 or pack2 is a package from P2 4. to which diagram editor, most likely in P2 but not sure, in next step it's specified to work with editor from P2, but not in step 4. with some assumptions issue is reproducible in 6.5