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 216502 - java.lang.Exception: Scan canceled.
Summary: java.lang.Exception: Scan canceled.
Status: RESOLVED INVALID
Alias: None
Product: editor
Classification: Unclassified
Component: Parsing & Indexing (show other bugs)
Version: 7.2
Hardware: All All
: P1 normal (vote)
Assignee: Tomas Zezula
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-08-08 02:28 UTC by Exceptions Reporter
Modified: 2013-01-03 18:07 UTC (History)
6 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 189573


Attachments
stacktrace (2.39 KB, text/plain)
2012-08-08 02:28 UTC, Exceptions Reporter
Details
stacktrace (2.31 KB, text/plain)
2012-11-07 01:41 UTC, maghiel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Exceptions Reporter 2012-08-08 02:28:18 UTC
This bug was originally marked as duplicate of bug 214848, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related.

Build: NetBeans IDE 7.2 (Build 201207171143)
VM: Java HotSpot(TM) Client VM, 17.0-b17, Java(TM) SE Runtime Environment, 1.6.0_21-b07
OS: Windows 7

User Comments:
jskrivanek: Just need to revert changes in some file.

GUEST: I changed a pom.xml manually. After this netbeans will start "scanning projects" and get stuck in this process.
Most actions ( e.g. refactoring ) are unavailable and I can't kill the process.

GUEST: Project Scanning taking a long time and making rest of IDE unusable. "Scanning Projects" task takes at least 20 minutes and stops most other functions in the IDE making the IDE unusable for the first 20 minutes when first opening up.

GUEST: n
Comment 1 Exceptions Reporter 2012-08-08 02:28:20 UTC
Created attachment 122844 [details]
stacktrace
Comment 2 maghiel 2012-11-07 01:41:10 UTC
Created attachment 127262 [details]
stacktrace
Comment 3 Exceptions Reporter 2013-01-03 17:08:19 UTC
This bug already has 50 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=189573
Comment 4 Tomas Zezula 2013-01-03 18:07:43 UTC
The scan was triggered by external change in a root on classpath,
the watcher.Watcher notifies the RepositoryUpdater.fileChangedImpl that files were changed -> legal scan.

at java.lang.Thread.getStackTrace(Thread.java:1567)
        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.fileChangedImpl(RepositoryUpdater.java:705)
        at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater.access$5800(RepositoryUpdater.java:149)
        at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$FCL.fileChanged(RepositoryUpdater.java:5077)
        at org.openide.filesystems.DeepListener.fileChanged(DeepListener.java:171)
        at org.openide.filesystems.DeepListener.fileChanged(DeepListener.java:164)
        at org.netbeans.modules.masterfs.filebasedfs.fileobjects.FileObjectKeeper.fileChanged(FileObjectKeeper.java:284)
        at org.openide.filesystems.FCLSupport$DispatchEventWrapper.dispatchEventImpl(FCLSupport.java:145)
        at org.openide.filesystems.FCLSupport$DispatchEventWrapper.dispatchEvent(FCLSupport.java:128)
        at org.openide.filesystems.FCLSupport.dispatchEvent(FCLSupport.java:105)
        at org.openide.filesystems.FileObject$ED.dispatch(FileObject.java:1165)
        at org.openide.filesystems.FileSystem$EventDispatcher.run(FileSystem.java:956)
        at org.openide.filesystems.EventControl.dispatchEvent(EventControl.java:84)
        at org.openide.filesystems.FileSystem.dispatchEvent(FileSystem.java:601)
        at org.openide.filesystems.FileObject.dispatchEvent(FileObject.java:548)
        at org.openide.filesystems.FileObject.fireFileChangedEvent(FileObject.java:516)
        at org.netbeans.modules.masterfs.filebasedfs.fileobjects.BaseFileObj.fireFileChangedEvent(BaseFileObj.java:660)
        at org.netbeans.modules.masterfs.filebasedfs.fileobjects.FileObjectKeeper.init(FileObjectKeeper.java:135)
        at org.netbeans.modules.masterfs.filebasedfs.fileobjects.FolderObj.refreshImpl(FolderObj.java:544)
        at org.netbeans.modules.masterfs.filebasedfs.fileobjects.BaseFileObj.refresh(BaseFileObj.java:801)
        at org.netbeans.modules.masterfs.filebasedfs.fileobjects.FolderObj.refresh(FolderObj.java:550)
        at org.openide.filesystems.FileObject.refresh(FileObject.java:1078)
        at org.netbeans.modules.masterfs.watcher.Watcher$1.run(Watcher.java:378)