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 IDE 6.1 (Build 200804211638) VM: Java HotSpot(TM) Client VM, 10.0-b19, Java(TM) SE Runtime Environment, 1.6.0_04-b12 OS: Linux, 2.6.24.7-92.fc8, i386 User comments: STACKTRACE: (first 10 lines) java.lang.IllegalArgumentException: Component name already in use: maritalStatus at org.netbeans.modules.form.RADComponent.rename(RADComponent.java:481) at org.netbeans.modules.form.RADComponentNode.setName(RADComponentNode.java:356) at org.openide.explorer.view.TreeViewCellEditor.editingStopped(TreeViewCellEditor.java:137) at javax.swing.AbstractCellEditor.fireEditingStopped(AbstractCellEditor.java:125) at javax.swing.DefaultCellEditor$EditorDelegate.stopCellEditing(DefaultCellEditor.java:330) at javax.swing.DefaultCellEditor.stopCellEditing(DefaultCellEditor.java:215) at javax.swing.DefaultCellEditor$EditorDelegate.actionPerformed(DefaultCellEditor.java:347) at javax.swing.JTextField.fireActionPerformed(JTextField.java:492) at javax.swing.JTextField.postActionEvent(JTextField.java:705) at javax.swing.JTextField$NotifyAction.actionPerformed(JTextField.java:820)
Due missing steps to reproduce I tried to do following moves ... - create form and and two jbuttons - rename variable name of first button to "ahojButton" - try to rename variable name of second button also to "ahojButton" IDE displayed information box about clashing names, IAE was not thrown. Product Version: NetBeans IDE 6.1 (Build 200804211638) Java: 1.6.0_11; Java HotSpot(TM) Client VM 11.0-b16 System: Windows XP version 5.1 running on x86; Cp1250; cs_CZ (nb) Lukas, thank you for your report. Please help us more and add steps to reproduce.
I just moved the report from exception reporter DB to IZ. Try to search for more info in the XML or add a logging for next reports. I have no clue what is this about
Try to rename the component node in the Inspector (in-place) - as the stacktrace indicates. If it works, then close as WORKSFORME. This is reported for 6.1, might have been fixed since then.
I was trying to rename that node using in-place editing too. I tested in on NB 6.1 FCS, 6.5FCS and actual Dev. All versions shows only small user friendly information dialog, IAEs are only inside log file. I think that this is correct bahaviour, closing issue as WORKSFORME.