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 223173

Summary: Grails processing blocks background scan
Product: groovy Reporter: TobiasKranz
Component: GrailsAssignee: Martin Janicek <mjanicek>
Status: RESOLVED DUPLICATE    
Severity: normal CC: sdedic
Priority: P3    
Version: 7.3   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 196022
Attachments: stacktrace

Description TobiasKranz 2012-12-03 13:27:02 UTC
This issue was reported manually by sdedic.
It already has 1 duplicates 


Build: NetBeans IDE 7.3 Beta (Build 201210011125)
VM: Java HotSpot(TM) 64-Bit Server VM, 23.5-b02, Java(TM) SE Runtime Environment, 1.7.0_09-b05
OS: Mac OS X

Stacktrace: 
java.lang.Exception: Scan canceled.
   at java.lang.Thread.getStackTrace(Thread.java:1567)
   at org.netbeans.modules.parsing.impl.indexing.LogContext.create(LogContext.java:113)
   at org.netbeans.modules.parsing.impl.indexing.LogContext.create(LogContext.java:106)
   at org.netbeans.modules.parsing.impl.indexing.PathRegistry.scheduleFirer(PathRegistry.java:820)
   at org.netbeans.modules.parsing.impl.indexing.PathRegistry.resetCacheAndFire(PathRegistry.java:814)
   at org.netbeans.modules.parsing.impl.indexing.PathRegistry.access$500(PathRegistry.java:85)
Comment 1 TobiasKranz 2012-12-03 13:27:04 UTC
Created attachment 128774 [details]
stacktrace
Comment 2 Svata Dedic 2012-12-03 13:29:34 UTC
Repository indexer is blocked for a long time. Time not logged, but see the 'scanning in progress' messages which indicate the lockout length.

Please check if the processing is OK; feel free to close if you don't find the report to contain enough data.
Comment 3 Martin Janicek 2012-12-04 14:36:34 UTC
From the message log I can only see that there is quite a lot of ineffective calls run in EDT (issue 214499 already exists for that problem).
Grails scanning was always a pain in the ass and it seems that even after the performance fixes in the NetBeans 7.2 it's still not fast enough.

There is a few tasks that we are aware of and that should make the scanning a little bit faster (you can find them in issue 214499 comment 62) but they are not on the plan for 7.3.
Comment 4 Martin Janicek 2012-12-04 14:41:37 UTC

*** This bug has been marked as a duplicate of bug 180230 ***