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.
build netbeans-hudson-trunk-1075-full.zip Steps to reproduce: - Go to Tools->Options->UML->Domain Templates - Select 'Domain Families' node - Press 'Add' button 'Family' node appears - Rename the node to 'C' - Select the 'C' node - Press 'Add' button NPE pops up: java.lang.NullPointerException at org.netbeans.modules.uml.codegen.ui.DomainTemplatesManagerPanel.actionPerformed(DomainTemplatesManagerPanel.java:340) at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
The tree model listener code was disabled for some unknown reason so node name changes were not being persisted to the model right away. And when a node was added to the renamed node, the node could not be found by its new name in the model.
Fix verified in trunk 200709121200