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.
Product Version = NetBeans IDE 7.3 (Build 201306052037) Operating System = Linux version 3.2.0-52-generic running on amd64 Java; VM; Vendor = 1.7.0_25 Runtime = Java HotSpot(TM) 64-Bit Server VM 23.25-b01 Screen shot coming shortly. Sporadically, when doing a copy class refactoring (a GUI class with a .form file), I see an extraneous error message at the bottom of the "Copy Class" dialog box that reads Error: "" is not a valid Java identifier even though there is a name in the "New Name" field (defaulted from the original class name) and that name is valid. This does not happen every time. Here are the exact steps that I use 1) In the Projects view, right click on the class to be copied and click Copy 2) In the project view, navigate to the new package (in my case it is in the same project) 3) Right click on the new package, select Paste -> Refactor Copy The dialog shows as described above, and in the screen shot. Making any change at all to the New Name field causes the error to disappear. (Timing problem between the error check and population of the New Name field?)
Created attachment 139323 [details] IDE log
Created attachment 139324 [details] screen shot of problem
I have seen this, too.
This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue. Thanks for your cooperation, NetBeans IDE 8.2 Release Boss