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 112090 - Scanning almost always "in progress"
Summary: Scanning almost always "in progress"
Status: RESOLVED WORKSFORME
Alias: None
Product: java
Classification: Unclassified
Component: Source (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Dusan Balek
URL:
Keywords: RANDOM
Depends on:
Blocks:
 
Reported: 2007-08-06 16:46 UTC by _ tboudreau
Modified: 2008-04-24 11:48 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Thread dumps while scanning in progress. (152.71 KB, application/octet-stream)
2007-08-07 13:55 UTC, Jan Becicka
Details
Thread dumps while scanning in progress. (152.71 KB, text/plain)
2007-08-07 13:55 UTC, Jan Becicka
Details
project (8.05 MB, application/x-compressed)
2007-08-09 05:55 UTC, _ tboudreau
Details

Note You need to log in before you can comment on or make changes to this bug.
Description _ tboudreau 2007-08-06 16:46:20 UTC
Build 070728.  After a few minutes editing in a large project, semantic highlighting stops working and code completion always says scanning in progress.  
Switching to another file may wake things up for a while, but always the file becomes broken in some way that the parser just doesn't try to process it any 
more - or at least that is the impression.

It appears that using generics heavily makes things particularly fragile.  But the situation is really unusable - about 70% of the time, the parser is broken.
Comment 1 Jan Lahoda 2007-08-06 16:50:18 UTC
Could you please try to make a thread dump when the problem occurs? Thanks.
Comment 2 Petr Hrebejk 2007-08-07 12:47:33 UTC
Raise back when you have steps to reproduce and stack trace.
Comment 3 Jan Becicka 2007-08-07 13:55:52 UTC
Created attachment 46263 [details]
Thread dumps while scanning in progress.
Comment 4 Jan Becicka 2007-08-07 13:55:59 UTC
Created attachment 46264 [details]
Thread dumps while scanning in progress.
Comment 5 Jan Lahoda 2007-08-07 14:03:13 UTC
In the TDs, the code completion is working, so it seems strange that any part of the system thinks that scanning is in
the progress.

Jan, could you please try to disable assertions in your etc/netbeans.conf? Thanks.
Comment 6 _ tboudreau 2007-08-09 05:55:31 UTC
Created attachment 46376 [details]
project
Comment 7 Tomas Zezula 2007-08-13 16:56:31 UTC
On the stack trace there is running code completion thread, I have no idea why editor thinks the background scan runs.
Anyway I am not able to reproduce it. Tim can you try it with current build. If you are able to reproduce it please
attach thread dumps.
Comment 8 pribyl 2008-04-24 11:48:59 UTC
I am closing this issue as there is no additional info for a long time - I hope it has been solved then :)

Anyway, if you are still experiencing problems with that, feel free to reopen with some additional info that could help.

Thanks!