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.

Bug 97744

Summary: Refactoring doesn't work in forms
Product: editor Reporter: Jaromir Uhrik <juhrik>
Component: RefactoringAssignee: issues@java <issues>
Status: CLOSED DUPLICATE    
Severity: blocker    
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Attachments: Messages.log with NPE

Description Jaromir Uhrik 2007-03-13 14:49:01 UTC
NetBeans IDE Dev (Build 200703121900)
1.5.0_07; Java HotSpot(TM) Client VM 1.5.0_07-87
Mac OS X version 10.4.8 running on i386
en_US (nb); MacRoman

1.Create new J2SE project
2.Create new JFrame form
3.Add JButton to the form and name it "BBB"
4.In declaration line of "BBB" and invoke Refactor|Rename from popup menu
5.IDE looks like it goes to rename, but instance is not renamed as a result
6.When I try to invoke Undo [Rename] on the button then the attached NPE appears
in Exception dialog...
Comment 1 Jaromir Uhrik 2007-03-13 14:49:57 UTC
Created attachment 39435 [details]
Messages.log with NPE
Comment 2 Jiri Prox 2007-03-13 15:56:00 UTC
Another duplicate of issue 48288

*** This issue has been marked as a duplicate of 48288 ***
Comment 3 Jaromir Uhrik 2007-03-21 13:48:01 UTC
Duplicate => Verified->Closed.