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 173663 - [68cat] After this build several times during my day work IDE just say the sources are missing
Summary: [68cat] After this build several times during my day work IDE just say the so...
Status: VERIFIED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Classpath (show other bugs)
Version: 6.x
Hardware: PC Linux
: P1 blocker (vote)
Assignee: Dusan Balek
URL:
Keywords: REGRESSION
Depends on:
Blocks:
 
Reported: 2009-10-02 21:47 UTC by Michel Graciano
Modified: 2009-10-07 18:09 UTC (History)
2 users (show)

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 Michel Graciano 2009-10-02 21:47:35 UTC
[ BUILD # : 200910010513 ]
[ JDK VERSION : 1.6.* ]

All features that use source queries as Go to Type, Go to Declaration
and so on say at status bar that source is missing. Restart IDE
doens't solve the problem, just reindex all project works as
workaround. I have no idea how to reproduce it, sometime it happens
after hours of use, sometimes after some minutes. I already remove
all my index cache but it happens again.
Comment 1 Michel Graciano 2009-10-02 21:50:20 UTC
I think I have some idea what is going on... to do this I reopen my project (this time it works) and I force the GC and 
voilá, 'missing source' advise is shown...
Comment 2 Michel Graciano 2009-10-03 01:42:56 UTC
Looks like build 200909301401 doesn't have this problem.
Comment 3 Michel Graciano 2009-10-03 03:08:39 UTC
I am using the same userdir for both builds and if I open in both builds the behaviour is different even without remove 
caches. If you need some details, just let me know.
Comment 4 Marian Mirilovic 2009-10-04 21:27:47 UTC
Michel, thanks for report as well as for investigation.

First of all, we are close to beta, so I tried it on Beta build and I haven't been able to reproduce it, so together
with your investigation it looks like this is recent regression in trunk builds. This is NOT STOPPER for Beta, leave it
as P1 regression for NB 6.8.
Comment 5 Michel Graciano 2009-10-04 22:44:30 UTC
Yes, I think so it is an recent regression. As soon as I can get the beta I will try it, as well as soon as I can get an 
newer daily build. Any update I will sending to you.

Regards
Comment 6 Dusan Balek 2009-10-05 08:52:05 UTC
Seems to be caused by:

changeset:   147382:1c6439c71091
user:        Dusan Balek <dbalek@netbeans.org>
date:        Wed Sep 30 14:10:47 2009 +0200
summary:     Goto type should work for classes living elsewhere.

I will look at it.
Comment 7 Dusan Balek 2009-10-05 11:46:33 UTC
Fixed in jet-main.

http://hg.netbeans.org/jet-main/rev/261a933f679c
Comment 8 Quality Engineering 2009-10-07 12:46:09 UTC
Integrated into 'main-golden', will be available in build *200910070250* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/261a933f679c
User: Dusan Balek <dbalek@netbeans.org>
Log: Issue #173663:  After this build several times during my day work IDE just say the sources are missing - fixed.
Comment 9 Michel Graciano 2009-10-07 18:08:59 UTC
Looks fixed at 200910070250. If I see anything strange I will let you know.

Thanks