Please use the Apache issue tracking system for new NetBeans issues ( !!
Bug 216502 - java.lang.Exception: Scan canceled.
java.lang.Exception: Scan canceled.
Product: editor
Classification: Unclassified
Component: Parsing & Indexing
All All
: P1 (vote)
: 7.3
Assigned To: Tomas Zezula
Depends on:
  Show dependency treegraph
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

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

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.

Comment 1 Exceptions Reporter 2012-08-08 02:28:20 UTC
Created attachment 122844 [details]
Comment 2 maghiel 2012-11-07 01:41:10 UTC
Created attachment 127262 [details]
Comment 3 Exceptions Reporter 2013-01-03 17:08:19 UTC
This bug already has 50 duplicates 
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(
        at org.netbeans.modules.parsing.impl.indexing.LogContext.create(
        at org.netbeans.modules.parsing.impl.indexing.LogContext.create(
        at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater.fileChangedImpl(
        at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater.access$5800(
        at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$FCL.fileChanged(
        at org.openide.filesystems.DeepListener.fileChanged(
        at org.openide.filesystems.DeepListener.fileChanged(
        at org.netbeans.modules.masterfs.filebasedfs.fileobjects.FileObjectKeeper.fileChanged(
        at org.openide.filesystems.FCLSupport$DispatchEventWrapper.dispatchEventImpl(
        at org.openide.filesystems.FCLSupport$DispatchEventWrapper.dispatchEvent(
        at org.openide.filesystems.FCLSupport.dispatchEvent(
        at org.openide.filesystems.FileObject$ED.dispatch(
        at org.openide.filesystems.FileSystem$
        at org.openide.filesystems.EventControl.dispatchEvent(
        at org.openide.filesystems.FileSystem.dispatchEvent(
        at org.openide.filesystems.FileObject.dispatchEvent(
        at org.openide.filesystems.FileObject.fireFileChangedEvent(
        at org.netbeans.modules.masterfs.filebasedfs.fileobjects.BaseFileObj.fireFileChangedEvent(
        at org.netbeans.modules.masterfs.filebasedfs.fileobjects.FileObjectKeeper.init(
        at org.netbeans.modules.masterfs.filebasedfs.fileobjects.FolderObj.refreshImpl(
        at org.netbeans.modules.masterfs.filebasedfs.fileobjects.BaseFileObj.refresh(
        at org.netbeans.modules.masterfs.filebasedfs.fileobjects.FolderObj.refresh(
        at org.openide.filesystems.FileObject.refresh(
        at org.netbeans.modules.masterfs.watcher.Watcher$

By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2014, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo