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 59528 - Compile option disabled
Summary: Compile option disabled
Status: RESOLVED WORKSFORME
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 5.x
Hardware: All Windows XP
: P2 blocker (vote)
Assignee: issues@java
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-06-02 01:59 UTC by _ gtzabari
Modified: 2007-09-26 09:14 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 _ gtzabari 2005-06-02 01:59:12 UTC
dev build 200505311800

The repro steps are a bit sketchy. I open up Netbeans, modify a file and save it
or compile and suddenly from that point on, the "compile F9" option is disabled
indefinately. I can modify the file again, hit CTRL-S to save, but hitting F9
does nothing and the context menu also shows the option as disabled.

I suspect Netbeans is not detecting that the class file is out-of-date because
previously when it detects an out-of-date class file it would denote this by an
badge in the editor tab. I make modifications, save them, yet the "need to
recompile badge" does not show up.

I filed this as a P1 because the only workaround seem to be to restart the IDE.
Having to restart the IDE once per recompile seems like a critical bug to me. I
hope you can reproduce this on your side...?
Comment 1 _ gtzabari 2005-06-02 02:02:19 UTC
BTW: This bug does not exist in dev build 200505171800 so it must have been
introduced sometime in between those two builds.
Comment 2 Pavel Rehak 2005-06-08 10:54:44 UTC
Reassignign to java for evaluation.
Comment 3 Milan Kubec 2005-06-10 08:19:07 UTC
I'm not able to reproduce the bug on build 200506091800. Please try newer build
and let us know if you are still able to reproduce it. Please try that with
clean userdir. Thanks.

Lowering prio until we have reproducible test case.
Comment 4 _ moser 2005-06-10 11:10:13 UTC
There is a post on nbdev appearently related to this issue:
http://www.netbeans.org/servlets/ReadMsg?list=nbdev&msgNo=30445
http://www.netbeans.org/servlets/ReadMsg?list=nbdev&msgNo=30436
http://www.netbeans.org/servlets/ReadMsg?list=nbdev&msgNo=30426

The problem seems somehow related to freeform projects only. 
It looks like Java files from those projects can loose their relation to the
project and so all actions which need a context of the current project are disabled.
Comment 5 _ gtzabari 2005-06-10 19:30:54 UTC
moser, I was not using the freeform project so this issue is definately not
specific to that feature.

mkubec, I will try newer builds and let you know how it goes.
Comment 6 Milan Kubec 2005-07-18 14:40:50 UTC
Gili, is there any new info about this issue? Thanks.
Comment 7 _ gtzabari 2005-07-18 15:04:09 UTC
I don't experience this problem in the newer dev builds.
Comment 8 Milan Kubec 2005-07-18 15:07:04 UTC
Thanks, closing as WORKSFORME.