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 270329 - Scan takes hours, never complete
Summary: Scan takes hours, never complete
Status: NEW
Alias: None
Product: editor
Classification: Unclassified
Component: Parsing & Indexing (show other bugs)
Version: 8.0
Hardware: All All
: P3 normal (vote)
Assignee: Tomas Zezula
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-04-08 01:55 UTC by rgjacobsen
Modified: 2017-04-08 01:55 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 212700


Attachments
stacktrace (2.51 KB, text/plain)
2017-04-08 01:55 UTC, rgjacobsen
Details

Note You need to log in before you can comment on or make changes to this bug.
Description rgjacobsen 2017-04-08 01:55:26 UTC
Build: NetBeans IDE 8.0.2 (Build 201411181905)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.92-b14, Java(TM) SE Runtime Environment, 1.8.0_92-b14
OS: Mac OS X

User Comments:
GUEST: Just open big project

GUEST: same problem

GUEST: It's "running" for half an hour and there's no heavy I/O neither CPU load,

GUEST: editing a java class: 

https://github.com/zolyfarkas/spf4j/blob/b7909b13cad38d2d4af72cca8d98f7eaadb2c893/spf4j-benchmarks/src/test/java/org/spf4j/base/EncodingBenchmark.java

and backgroung scanning got stuck

GUEST: i do not understand why the IDE scan for external changes so often, and also de background scanning of projects, this should not be done in the middle of compilations or buildings, at least wait for the compilation to finish.
this 2 process of scanning looks to me like a dead lock

GUEST: Background Scanning of projects is never ending
7 projects in the projet view
size fairly std

GUEST: Started netbeans. Client started background scanning but it hangs and continues to run without progress.

GUEST: I was trying to edit two html files and a couple of javascript files. Continually interrupted by scanning of background projects and unable to type.

GUEST: I was trying to work. The IDE keeps performing background scanning of projects, and tying up resources and preventing me from working.

rgjacobsen: Trying to do a "Rename" refactoring, but class scan never completes

GUEST: <Please provide a description of the problem or the steps to reproduce>--

GUEST: Just run it on big project

GUEST: Unable to stop background scanning of project




Stacktrace: 
org.netbeans.modules.parsing.impl.indexing.ScanCancelledException: RepositoryUpdater is blocked by org.netbeans.modules.java.source.indexing.JavaIndexerWorker
   at java.lang.Thread.getStackTrace(Thread.java:1552)
   at org.netbeans.modules.parsing.impl.indexing.LogContext.create(LogContext.java:131)
   at org.netbeans.modules.parsing.impl.indexing.LogContext.create(LogContext.java:124)
   at org.netbeans.modules.parsing.impl.indexing.PathRegistry.scheduleFirer(PathRegistry.java:906)
   at org.netbeans.modules.parsing.impl.indexing.PathRegistry.resetCacheAndFire(PathRegistry.java:899)
   at org.netbeans.modules.parsing.impl.indexing.PathRegistry.access$500(PathRegistry.java:90)
Comment 1 rgjacobsen 2017-04-08 01:55:29 UTC
Created attachment 164048 [details]
stacktrace