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 69677 - Run File actions initially disabled
Summary: Run File actions initially disabled
Status: VERIFIED FIXED
Alias: None
Product: debugger
Classification: Unclassified
Component: Java (show other bugs)
Version: 5.x
Hardware: All All
: P1 blocker (vote)
Assignee: issues@debugger
URL:
Keywords: REGRESSION
: 69705 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-12-01 08:50 UTC by Jiri Skrivanek
Modified: 2005-12-06 09:12 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jiri Skrivanek 2005-12-01 08:50:45 UTC
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.
Comment 1 Jiri Skrivanek 2005-12-01 10:49:54 UTC
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
Comment 2 Jiri Rechtacek 2005-12-01 15:17:22 UTC
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.
Comment 3 _ lcincura 2005-12-01 16:11:58 UTC
*** Issue 68867 has been marked as a duplicate of this issue. ***
Comment 4 Jiri Skrivanek 2005-12-02 08:26:21 UTC
*** Issue 69705 has been marked as a duplicate of this issue. ***
Comment 5 Martin Entlicher 2005-12-02 10:35:41 UTC
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
Comment 6 Jiri Skrivanek 2005-12-06 09:12:18 UTC
Verified.