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 208529 - Endless projets Scanning
Summary: Endless projets Scanning
Status: RESOLVED INCOMPLETE
Alias: None
Product: editor
Classification: Unclassified
Component: Parsing & Indexing (show other bugs)
Version: 7.1
Hardware: All All
: P3 normal (vote)
Assignee: Tomas Zezula
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-02-16 22:13 UTC by dao
Modified: 2012-04-03 07:43 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 183886


Attachments
stacktrace (4.09 KB, text/plain)
2012-02-16 22:13 UTC, dao
Details

Note You need to log in before you can comment on or make changes to this bug.
Description dao 2012-02-16 22:13:27 UTC
Build: NetBeans IDE 7.1 (Build 201112071828)
VM: Java HotSpot(TM) Client VM, 20.5-b03, Java(TM) SE Runtime Environment, 1.6.0_30-b12
OS: Windows 7

Stacktrace: 
java.lang.Exception: Scan canceled.
   at java.lang.Thread.getStackTrace(Thread.java:1479)
   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.RepositoryUpdater.scheduleWork(RepositoryUpdater.java:1297)
   at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater.propertyChange(RepositoryUpdater.java:1042)
   at java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:339)
Comment 1 dao 2012-02-16 22:13:33 UTC
Created attachment 115848 [details]
stacktrace
Comment 2 Svata Dedic 2012-02-17 12:32:12 UTC
Report 'analysis':

Report #560853, #560817, #560757
According to the logs, Maven projects are being opened, then scanning starts & finishes and starts again, WHILE still opening maven projects. No harmful message found in message log. Possibly some deadlock between indexer & some other action in the IDE ?
* Maven EE projects
* J2EE installation (modules enabled)

Report #559584
* apparently SOME indexing finished
* Indexing started after GIT pull (7:17), unfinished (cancelled at 8:30)
* Indexing apparently cancelled after some editing in the IDE
* NOT on startup !

Report #557489, #552160
* one PHP project opened
* indexing at startup did not finish

Report #555181
* cancelled within 1 minute after indexing start
* on startup with NO PROJECTS opened ?


All except #559584 happen on IDE startup, during up-to-date check ?
Dao - if you happen to get to this situation again, could you please shot and attach here thread dump BEFORE you cancel the scanning (http://wiki.netbeans.org/GenerateThreadDump) ?
Comment 3 Svata Dedic 2012-04-03 07:43:08 UTC
Maven and PHP exception reports reassigned to their appropriate exception reports.

The remainder is report #559584, where the PHP scanning is slow/stopped. Need more info for that, try to reproduce with 7.1.2 or dev build