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 # : 200904011705 ] [ JDK VERSION : 1.6.* ] Product Version: NetBeans IDE Dev (Build 200904011705) Java: "1.6.0_10" Java(TM) SE Runtime Environment (build 1.6.0_10-b33) Java HotSpot(TM) Server VM (build 11.0-b15, mixed mode) System: Linux version 2.6.24-23-server running on i386; LANG=es_BO.UTF-8 Refactorings are disabled in java source code editor. Steps to reproduce: 1) start full IDE (not user fresh test) 2) start new java application 3) write vars in the class 4) right click and select Refactor. -> Encapsulta fields are disabled The same problem is when you open an existing project.
Created attachment 79304 [details] screen trying to encapsulate
I am working on PHP projects and I find this issue happens sporadically as well. For example, I've been editing PHP files all day today and for the first several hours I was able to refactor to rename variables within a class method. Now, an hour or so later since I last tried and it worked, the refactor menu items are now disabled and I can't refactor a variable anymore. I've actually noticed this problem over the last 4-5 builds that I've been testing for the last 2 weeks. Not sure if the problem existed before that, but I don't recall this ever being a problem in nb 6.5. Product Version: NetBeans IDE Dev (Build 200903310200) Java: 1.6.0_13; Java HotSpot(TM) Client VM 11.3-b02 System: Windows XP version 5.1 running on x86; Cp1252; en_US (nb)
This is not P1 issue IMHO.
I am not able to reproduce it with netbeans-trunk-nightly-200904020200 but with my build 090401. I will investigate.
fixed as http://hg.netbeans.org/jet-main/rev/f49306ff0fba
Integrated into 'main-golden', will be available in build *200904091401* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/f49306ff0fba User: Jan Pokorsky <jpokorsky@netbeans.org> Log: #161795: update menu items to reflect their Action.isEnabled when synchronizing refactoring menu
*** Issue 162519 has been marked as a duplicate of this issue. ***
reproducible in NB Dev (200904140200)
I can reproduce it only with the context menu. As a workaround it should help to open the Refactoring main menu to refresh actions. I will have a look at it.
fixed as http://hg.netbeans.org/jet-main/rev/3aa4537ec166
*** Issue 162815 has been marked as a duplicate of this issue. ***
Integrated into 'main-golden', will be available in build *200904161401* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/3aa4537ec166 User: Jan Pokorsky <jpokorsky@netbeans.org> Log: #161795: update menu items to reflect their Action.isEnabled even for popup menu