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 178124 - [68cat] Endless Scanning
Summary: [68cat] Endless Scanning
Status: RESOLVED FIXED
Alias: None
Product: editor
Classification: Unclassified
Component: Parsing & Indexing (show other bugs)
Version: 6.x
Hardware: PC Windows XP
: P4 normal (vote)
Assignee: Tomas Zezula
URL:
Keywords:
Depends on: 178999
Blocks:
  Show dependency tree
 
Reported: 2009-12-04 03:07 UTC by stefan79
Modified: 2012-10-26 05:52 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Log-file (1.67 MB, application/octet-stream)
2009-12-04 03:07 UTC, stefan79
Details
Snapshot (not the complete Scanning Projects), but 70 Minutes (260.95 KB, application/octet-stream)
2009-12-04 03:17 UTC, stefan79
Details
Scanning-Projects - Window (15.52 KB, image/jpeg)
2009-12-09 01:07 UTC, stefan79
Details
Message-Log for previous Message. (132.58 KB, application/octet-stream)
2009-12-09 01:08 UTC, stefan79
Details
Log-file (149.02 KB, application/octet-stream)
2009-12-10 01:10 UTC, stefan79
Details
Screenshot of empty Scanning Projects message. (12.70 KB, image/jpeg)
2009-12-10 01:11 UTC, stefan79
Details
jstacks while closing (5.31 KB, application/x-zip-compressed)
2009-12-10 02:42 UTC, stefan79
Details
jstacks + log-files. (35.19 KB, application/x-zip-compressed)
2009-12-10 03:39 UTC, stefan79
Details
jstacks while trying to shutdown the IDE. (10.00 KB, application/octet-stream)
2009-12-11 03:29 UTC, stefan79
Details
jstacks + Logfile from today scanning projects. (45.02 KB, application/octet-stream)
2009-12-14 05:28 UTC, stefan79
Details
To endless scanning (17.24 KB, image/jpeg)
2009-12-17 04:59 UTC, stefan79
Details
Log-file for last Endless-Scan. (1.37 MB, application/octet-stream)
2009-12-17 05:00 UTC, stefan79
Details

Note You need to log in before you can comment on or make changes to this bug.
Description stefan79 2009-12-04 03:07:16 UTC
Created attachment 92088 [details]
Log-file

I´ve a local drive where my librarys (src + class - folder) are every night refreshed.

Today (after opening some files), the scanning-projects starts (that was ok because NB was running over the night) and doesn´t end.
I was waiting more then 2.5 hours.

I thought this bug was already fixed (I had the same bug at 168328).

--
Product Version: NetBeans IDE 6.8 RC1 (Build 200911252200)
Java: 1.6.0_17; Java HotSpot(TM) Client VM 14.3-b01
System: Windows XP version 5.1 running on x86; Cp1252; de_AT (nb)
Comment 1 stefan79 2009-12-04 03:17:20 UTC
Created attachment 92090 [details]
Snapshot (not the complete Scanning Projects), but 70 Minutes
Comment 2 Peter Pis 2009-12-04 06:54:56 UTC
Reassigning.
Comment 3 Vitezslav Stejskal 2009-12-07 07:52:59 UTC
I'm not sure what happened, but the snapshot shows almost no activity in scanning. Precisely RepositoryUpdater$Task took 3781ms, which is 0.1% of the overall time. Also from the log file I can see that the initial scan took approximately 2 minutes:

Complete indexing of 17 binary roots took: 99407 ms
Complete indexing of 3 source roots took: 14812 ms (New or modified files: 0, Deleted files: 0)

There is much more activity in the log file after the initial scan, but I assume this is because you started using the IDE. Are you sure that the scanning was running? I have a suspicion that sometime the progress bar gets stuck and says 'Scanning projects...', even though the scanning has already finished.
Comment 4 stefan79 2009-12-09 01:07:27 UTC
Created attachment 92315 [details]
Scanning-Projects - Window

Today the same:
-) I started NB and waited until scanning projects has finished
-) Then I switched from Start-page to a source file and then Scanning projects starts and never ends.

> I have a suspicion that sometime the progress bar gets
> stuck and says 'Scanning projects...', even though the scanning has already
> finished.
It look´s this because there´s less IO- and CPU - activity and the exit-Button works fast.
Comment 5 stefan79 2009-12-09 01:08:09 UTC
Created attachment 92316 [details]
Message-Log for previous Message.
Comment 6 stefan79 2009-12-09 01:08:56 UTC
Comment on attachment 92315 [details]
Scanning-Projects - Window

Tested at 6.8RC2
Comment 7 stefan79 2009-12-10 01:10:55 UTC
Created attachment 92369 [details]
Log-file

There´s something wrong at ending Statusbar.
Today I´ve an empty Scanning-Projects Taskbar.
--
Product Version: NetBeans IDE 6.8 RC2 (Build 200912022200)
Java: 1.6.0_17; Java HotSpot(TM) Client VM 14.3-b01
Comment 8 stefan79 2009-12-10 01:11:25 UTC
Created attachment 92370 [details]
Screenshot of empty Scanning Projects message.
Comment 9 stefan79 2009-12-10 02:42:06 UTC
Created attachment 92376 [details]
jstacks while closing

I tried to restart the IDE.
After about 10 Minutes, the exit-action was succuessfull.
I made two jstacks while this time.
Comment 10 stefan79 2009-12-10 03:39:14 UTC
Created attachment 92379 [details]
jstacks + log-files.

After restarting and some editor-Actions, the same problem again.
Comment 11 Vitezslav Stejskal 2009-12-10 06:22:09 UTC
The problem with exiting the IDE is the same as in issue #174884 - BinaryAnalyser can't be interrupted.
Comment 12 stefan79 2009-12-11 03:29:26 UTC
Created attachment 92410 [details]
jstacks while trying to shutdown the IDE.

Today the same problem at NB6.8 final.
Maybe the bug 178471 is the reason for this problem.
Comment 13 stefan79 2009-12-14 03:41:41 UTC
Is there any option to get the initialize-scan-process (I think there´s the bug). 


-J-Dorg.netbeans.modules.parsing.impl.indexing.RepositoryUpdater.level=FINE is activated and I´ve every day the same error.
---
Product Version: NetBeans IDE 6.8 (Build 200912041610)
Java: 1.6.0_17; Java HotSpot(TM) Client VM 14.3-b01
System: Windows XP version 5.1 running on x86; Cp1252; de_AT (nb)
Comment 14 stefan79 2009-12-14 05:28:39 UTC
Created attachment 92519 [details]
jstacks + Logfile from today scanning projects.
Comment 15 Vitezslav Stejskal 2009-12-15 03:09:31 UTC
(In reply to comment #13)
> Is there any option to get the initialize-scan-process (I think there´s the
> bug). 

What exactly do you mean by "initialize-scan-process"?

Re comment #12 - caused by BinaryAnalyzer as described in issue #174884.
Re comment #14 - no activity in scanning, so from my point of view this is unrelated to this issue.
Comment 16 stefan79 2009-12-15 09:33:46 UTC
> What exactly do you mean by "initialize-scan-process"?
I mean that, that something activates the scanning-projects-process and doesn´t let the process finishing.
Comment 17 stefan79 2009-12-17 04:59:41 UTC
Created attachment 92705 [details]
To endless scanning

And again.
Maybe an interesting detail: I often see as last scan-file the allstubs.zip - File.
Comment 18 stefan79 2009-12-17 05:00:22 UTC
Created attachment 92706 [details]
Log-file for last Endless-Scan.
Comment 19 Vitezslav Stejskal 2010-01-06 02:39:03 UTC
The problem with BinaryAnalyzer has been resolved by http://hg.netbeans.org/main/rev/e89e396f1de5, see issue #178999. Maybe the fix also resolved the problems described here.
Comment 20 David Strupl 2012-10-25 13:39:10 UTC
Bug prior to 7.0, not touched for the last 2 years --> P4.
Comment 21 Tomas Zezula 2012-10-26 05:52:48 UTC
Probably fixed in NB 7.2