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.
Actions in main menu 'Run|Run File' are disabled after class creation. We need to change selection to make thaem enabled. It is high priority because it breaks commit validation suite. It appeared in tests in build 20051130-1509. I am able to reproduce it manually since build 20051130-2120: - create java project - create new java class - select node of newly created class in Projects view - open main menu 'Run|Run File' and all actions are incorrecly disabled. To enable them you have to select another node and then again your node. Build 20051130-2120, JDK1.5.0_05.
It seems to be caused by fix of issue 69403. When I locally rollbacked the following commit I have never been able to reproduce it. /cvs/debuggerjpda/ant/src/org/netbeans/modules/debugger/projects/EditorContextImpl.java,v <-- EditorContextImpl.java new revision: 1.22; previous revision: 1.21
Jirka is right, the problem appears if and only if EditorContextImpl.java, r.1.22. I don't see what causes it but if I use EditorContextImpl.java, r.1.21. it works for me. Reassign to debugger as regression.
*** Issue 68867 has been marked as a duplicate of this issue. ***
*** Issue 69705 has been marked as a duplicate of this issue. ***
Fixed by lkotouc by rollback of the change in EditorContextImpl.java: Checking in EditorContextImpl.java; /cvs/debuggerjpda/ant/src/org/netbeans/modules/debugger/projects/EditorContextImpl.java,v <-- EditorContextImpl.java new revision: 1.23; previous revision: 1.22 done
Verified.