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.
Right-click on empty space on diagram. The ClassCastException pops up. Steps to reproduce: - Create a Java-Platform model UMl project - Create a Class diagram - Right-click on the diagram The ClassCastException pops up: ClassCastException: uml.ui.controls.drawingarea.UIInteractionDiagram cannot be cast to uml.core.metamodel.core.foundation.NamedElement See attached IDE log file
Created attachment 35278 [details] ClassCastException in IDE log file
Created attachment 35279 [details] ClassCastException in IDE log file (Plain text format)
I noticed this prior to this issue being filed and fixed it, but the build you used was probably just prior to my second checkin. The elements on the diagram come in as differnt type. Using a more generic type in the shared code path. Exception is gone.
verified