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 214848

Summary: Can't stop scanning
Product: editor Reporter: umpirsky <umpirsky>
Component: Parsing & IndexingAssignee: Tomas Zezula <tzezula>
Status: RESOLVED FIXED    
Severity: normal CC: jaras2678, kannon1927, louieansonng
Priority: P3    
Version: 7.1   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 189575
Attachments: stacktrace

Description umpirsky 2012-06-27 08:23:37 UTC
Build: NetBeans IDE 7.1 (Build 201112071828)
VM: OpenJDK Client VM, 20.0-b12, OpenJDK Runtime Environment, 1.6.0_24-b24
OS: Linux

User Comments:
kannon1927: Solo trataba de hacer una comunicacion pc a pc via puerto serie rs232

GUEST: working with maven projects on windows7 host. Debugging and scanning project tasks are not working properly.
Even after total cleanup of all netbeans, maven respository and temp directories plus a new installation i still have this problems.
will try now to reinstall netbeans 6.9.1 again :-(((

GUEST: Editing source code.

GUEST: It takes so much of time for Scanning

GUEST: Hi,

Recently whenever I open NB it starting scanning the projects but it took long time and due to that I am unable to build anything.

Please help be me resolve.

Best Regards,

(V PRASANNA KUMAR)




Stacktrace: 
java.lang.Exception: Scan canceled.
   at java.lang.Thread.getStackTrace(Thread.java:1495)
   at org.netbeans.modules.parsing.impl.indexing.LogContext.create(LogContext.java:110)
   at org.netbeans.modules.parsing.impl.indexing.LogContext.create(LogContext.java:103)
   at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater.fileChangedImpl(RepositoryUpdater.java:704)
   at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater.access$5800(RepositoryUpdater.java:151)
   at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$FCL.fileDataCreated(RepositoryUpdater.java:5236)
Comment 1 umpirsky 2012-06-27 08:23:41 UTC
Created attachment 121431 [details]
stacktrace
Comment 2 Tomas Zezula 2012-06-27 17:09:20 UTC
Fixed in NB 7.2.
1st) The scanning is a background operation which does not block other features (code completion, navigation) which see the previous committed state (last scan).

2nd) Several performance improvements were done into indexers, for details see http://wiki.netbeans.org/IndexingPerformance72