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.
[200407131800; j2sdk1.4.2_05] Error when Refactor->Encapsulate Fields from class node or from e.g. main method in source editor. See UI specification: http://ui.netbeans.org/docs/hi/javamdr/refactoring_design.html The action is disabled on .java node in explorer - IMHO it should be enabled too.
Created attachment 16233 [details] Screenshot of Error
Checking in src/org/netbeans/modules/refactoring/api/Bundle.properties; /cvs/refactoring/src/org/netbeans/modules/refactoring/api/Bundle.properties,v <-- Bundle.properties new revision: 1.8; previous revision: 1.7 done Checking in src/org/netbeans/modules/refactoring/api/EncapsulateFields.java; /cvs/refactoring/src/org/netbeans/modules/refactoring/api/EncapsulateFields.java,v <-- EncapsulateFields.java new revision: 1.6; previous revision: 1.5 done Processing log script arguments... More commits to come... Checking in src/org/netbeans/modules/refactoring/ui/EncapsulateFieldPanel.java; /cvs/refactoring/src/org/netbeans/modules/refactoring/ui/EncapsulateFieldPanel.java,v <-- EncapsulateFieldPanel.java new revision: 1.5; previous revision: 1.4 done Checking in src/org/netbeans/modules/refactoring/ui/EncapsulateFieldUI.java; /cvs/refactoring/src/org/netbeans/modules/refactoring/ui/EncapsulateFieldUI.java,v <-- EncapsulateFieldUI.java new revision: 1.4; previous revision: 1.3 done
[200408170540; jdk1.5.0-rc-b63] Still reproducible Error when Refactor->Encapsulate Fields e.g. main method in source editor. The action is disabled on .java node in explorer too. The only thing that is resolved is that I can do Refactor->Encapsulate Fields from the class node.
After discussion with Tomas Hurka I know more now. There seems to be just a little problem now (issue #47304). I am returning this one back to Resolved - fixed.
Verified.
Reorganization of java component