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.
Build: NetBeans IDE Dev (Build 20111223-cab5f5297b7e) VM: Java HotSpot(TM) 64-Bit Server VM, 20.1-b02, Java(TM) SE Runtime Environment, 1.6.0_26-b03 OS: Linux User Comments: vv159170: Scanning is unrelated to pure CND project, isn't it? 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.stateChanged(RepositoryUpdater.java:510) at org.openide.util.ChangeSupport.fireChange(ChangeSupport.java:133) at org.openide.util.ChangeSupport.fireChange(ChangeSupport.java:119)
Created attachment 114433 [details] stacktrace
The scan was triggered by change in VisibilityQuery. As far as I remember the CND registers (if enabled) the CP into GlobalPathRegistry to have file index for non CND files. Isn't it this case? Thanks
Tomas, that was not the case. I cancelled scan, because in pure CND installation I've opened editor and saw scanning activity which I know is not used by default in CND environment.
org.netbeans.modules.masterfs.GlobalVisibilityQueryImpl fires when ignored files list has been changed. Vladimir, did you change the list of ignored files before canceling the scan?
David, No, I did nothing, only opened the first time a file in editor. You can see it yourself if get cnd-only distro and open any file first time => scanning will be started. I think it is allstubs.zip which is scanned
Yes, the javascript register the allstubs.zip even no javascript exists. I don't know much the reason so I will try to reproduce and if it the allstubs.zip I will reassign.
Confirmed on Build 201202270400 (#81cafa2674cb); the scanned thing is the allstubs.zip thing. Running RootsWork@10094be0[followUpJob=false, checkEditor=false, useInitialState=true on org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$DependenciesContext@4bb59910: { useInitialState=true initialRoots2Deps(0)= initialBinaries(0)= initialRoots2Peers(0)= oldRoots(0)= oldBinaries(0)= newRootsToScan(1)= jar:file:/space/apps/nb/cppdev/ide/jsstubs/allstubs.zip!/ newBinariesToScan(0)= scannedRoots(0)= scannedBinaries(0)= newRoots2Deps(1)= jar:file:/space/apps/nb/cppdev/ide/jsstubs/allstubs.zip!/: newBinaries2InvDeps(0)= newRoots2Peers(1)= jar:file:/space/apps/nb/cppdev/ide/jsstubs/allstubs.zip!/: } ---- Reassigning...
This bug already has 5 duplicates see http://statistics.netbeans.org/exceptions/detail.do?id=183991
Created attachment 116884 [details] stacktrace I installed the Clearcase plugin via the Tools > Plugins menu. Now, Netbeans is reporting a lack of memory error while performing "Scanning projects". It is very sluggish. Memory is up to 659 MB. Appears to be thrashing. This is a very large baseline.
Created attachment 117228 [details] stacktrace
Marking as duplicate of issue #194810 - Opening C/C++ file starts parsing of 188 js files. This should be already resolved in trunk so Vladimir feel free to check that. Parsing of JavaScript's signature files shouldn't be called earlier until any editor with possible JS is opened (JS lexer is called). *** This bug has been marked as a duplicate of bug 194810 ***