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.
Created attachment 117274 [details] IDE won't allow you to cancel scanning process Scanning some grails projects (even small ones) results in the scanning process never finishing and CPU usage being pegged at 100%. Attempting to stop the scanning process by clicking the "x" in the status bar fail, and the only way to stop it is to exit the IDE (after a long pause). When you restart the IDE, the process begins anew (unless you close the offending project). Let me know if you need any additional information. Unfortunately, I can't add any of the projects here but I'll see if I can create an example project that does the same thing. Many of the over 100 duplicates of issue #207991 are actually this issue and are incorrectly added there.
Product Version: NetBeans IDE Dev (Build 201203230400) Java: 1.6.0_31; Java HotSpot(TM) 64-Bit Server VM 20.6-b01-411 System: Mac OS X version 10.8 running on x86_64; MacRoman; en_US (nb) User directory: /Users/alvin/Library/Application Support/NetBeans/dev Cache directory: /Users/alvin/Library/Caches/NetBeans/dev Grails version: 2.0.0
I'll need some thread dumps to see what's happening. Thanks in advance
It looks like it's not deadlocked; it's just taking a *really* long time. note the time to index: WARNING [org.netbeans.core.startup.InstalledFileLocatorImpl]: module org.jdesktop.layout in /Applications/NetBeans/NetBeans Dev 201203260401.app/Contents/Resources/NetBeans/platform does not own docs/swing-layout-1.0.4-src.zip at org.netbeans.core.startup.layers.NbinstURLMapper.decodeURL(NbinstURLMapper.java:110) INFO [org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater]: Indexing of: /Users/alvin/Projects/RainKing/vegas/ResearchApp/grails-app/controllers took: 492914 ms (New or modified files: 15, Deleted files: 0) [Adding listeners took: 5 ms] INFO [org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater]: Indexing of: /Users/alvin/Projects/RainKing/vegas/ResearchApp/out took: 2924 ms (New or modified files: 701, Deleted files: 0) [Adding listeners took: 55 ms]
Created attachment 117286 [details] thread dump while indexing
Created attachment 117288 [details] stuck at 29% for an hour
Created attachment 117289 [details] console output when opening a project (took a little over an hour)
Once the initial scan is complete reopening a project (by restarting the IDE) takes only a few seconds.
If it's not deadlocked, could you please provide also nps snapshot? Unfortunately it's most probably duplicate of issue 180230 but will see.
Created attachment 117574 [details] scanning at 30%, using IDE at the same time
Created attachment 117575 [details] 74-86%, moving much faster here; left IDE alone
From the .nps screenshots it's another duplicate of issue 180230 :( *** This bug has been marked as a duplicate of bug 180230 ***