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 210527 - Scanning hangs
Summary: Scanning hangs
Status: RESOLVED INCOMPLETE
Alias: None
Product: java
Classification: Unclassified
Component: Project (show other bugs)
Version: 7.1
Hardware: All All
: P3 normal (vote)
Assignee: Svata Dedic
URL:
Keywords:
Depends on: 210340
Blocks:
  Show dependency tree
 
Reported: 2012-04-02 11:50 UTC by vieiro
Modified: 2012-04-02 11:58 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 186550


Attachments
stacktrace (1.94 KB, text/plain)
2012-04-02 11:50 UTC, vieiro
Details

Note You need to log in before you can comment on or make changes to this bug.
Description vieiro 2012-04-02 11:50:54 UTC
This issue was reported manually by sdedic.
It already has 7 duplicates 


Build: NetBeans IDE 7.1.1 (Build 201203012225)
VM: Java HotSpot(TM) Client VM, 10.0-b19, Java(TM) SE Runtime Environment, 1.6.0_05-b13
OS: Windows XP

User Comments:
GUEST: 1. Open project
 - Scanning projects automatically

2. Attempt to stop scan

FiruzzZ: too much time "Scanning proyects dependence" when Im just having 3 open, one very small and at last 10 files, 1 not much bigger with dependence to the 3rd (a small utility proyect)

GUEST: Fica mostrando a tarefa Analisando projetos... e nunca termina

GUEST: Trying to run j2ee samples

GUEST: The scanning process seems to be in an infinite loop. Has been hanging there for several minutes at 80% without any progress.

vieiro: So I have this plain JavaSE project with a single class of 30 lines and a single library (Oracle JDBC Driver) and "Scanning Projects" takes ages to complete.

This is not just intolerable, but it seems NetBeans is pulling my leg trying to scan a project with 30 lines of Java. It's not funny at all indeed.

This is for NB 7.1.1 on a Windows Box.




Stacktrace: 
java.lang.Exception: Scan canceled.
   at java.lang.Thread.getStackTrace(Thread.java:1426)
   at org.netbeans.modules.parsing.impl.indexing.LogContext.create(LogContext.java:74)
   at org.netbeans.modules.parsing.impl.indexing.LogContext.create(LogContext.java:67)
   at org.netbeans.modules.parsing.impl.indexing.PathRegistry.scheduleFirer(PathRegistry.java:769)
   at org.netbeans.modules.parsing.impl.indexing.PathRegistry.resetCacheAndFire(PathRegistry.java:764)
   at org.netbeans.modules.parsing.impl.indexing.PathRegistry.access$500(PathRegistry.java:83)
Comment 1 vieiro 2012-04-02 11:50:59 UTC
Created attachment 117650 [details]
stacktrace
Comment 2 Svata Dedic 2012-04-02 11:58:12 UTC
This is a split-off from exception report 184356 (http://statistics.netbeans.org/exceptions/detail.do?id=184356), for J2SE-related reports.

Since the logs do not contain enough information on what has been happening, I'll close this defect as INCOMPLETE until we get more reports  from e.g. 7.1.2 (see defect #210340).