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 200908022240) VM: Java HotSpot(TM) Client VM, 1.5.0_19-b02, Java(TM) 2 Runtime Environment, Standard Edition, 1.5.0_19-b02 OS: Windows XP, 5.1, x86 User Comments: stefan79: Pressed Alt+Insert (Insert a Code) stefan79: In a java-File i type /** + Return above a Method and then I had to wait 27 seconds! stefan79: Opened a Panel Maximum slowness yet reported was 75216 ms, average is 28116
Created attachment 85830 [details] nps snapshot
Build: NetBeans IDE Dev (Build nbms-and-javadoc-3771-on-090819) VM: Java HotSpot(TM) Client VM, 14.2-b01, Java(TM) SE Runtime Environment, 1.6.0_16-b01 OS: Windows XP, 5.1, x86 User Comments: Maximum slowness yet reported was 141906 ms, average is 53351
Created attachment 86433 [details] nps snapshot
This issue already has 6 duplicates see http://statistics.netbeans.org/exceptions/detail.do?id=153929
It looks like there was a scan running, which blocked the NbGenerateCodeAction. Strangely most of the time was spent in collecting files (~45s) and specifically in WinNTFileSystem.getBooleanAttributes(), which is a native Win OS call.
Build: NetBeans IDE Dev (Build 200909030951) VM: Java HotSpot(TM) Client VM, 14.0-b16, Java(TM) SE Runtime Environment, 1.6.0_14-b08 OS: Windows XP, 5.1, x86 User Comments: Maximum slowness yet reported was 141906 ms, average is 51289
Created attachment 87110 [details] nps snapshot
This issue already has 7 duplicates see http://statistics.netbeans.org/exceptions/detail.do?id=153929
This issue already has 8 duplicates see http://statistics.netbeans.org/exceptions/detail.do?id=153929
This issue already has 9 duplicates see http://statistics.netbeans.org/exceptions/detail.do?id=153929
AnnotationModelHelper
Build: NetBeans IDE Dev (Build 090921) VM: Java HotSpot(TM) Client VM, 10.0-b19, Java(TM) SE Runtime Environment, 1.6.0_04-b12 OS: Windows XP, 5.1, x86 User Comments: Maximum slowness yet reported was 141906 ms, average is 39779
Created attachment 88045 [details] nps snapshot
This issue already has 10 duplicates see http://statistics.netbeans.org/exceptions/detail.do?id=153929
Vita, I don't understand your evaluation. There are lots of different reports, each of which is different. Some contain some Java EE code, some contain Form code, but all of them contain NbGenerateCodeAction. The latest one: http://statistics.netbeans.org/analytics/exception.do?id=259730 does not contain anything from JavaEE or AnnotationModelHelper. Can you explain what you meant by your latest comment? Thanks.
This issue already has 11 duplicates see http://statistics.netbeans.org/exceptions/detail.do?id=153929
This issue already has 12 duplicates see http://statistics.netbeans.org/exceptions/detail.do?id=153929
This issue already has 13 duplicates see http://statistics.netbeans.org/exceptions/detail.do?id=153929
Well, NbGenerateCodeAction calls CodeGeneratorContextProviders, which may need to acquire ParserManager's lock. If this is called while somebody else holds that lock the provider and therefore the action is blocked. One of the places that seemed to hold the lock was AnnotationModelHelper when it was processing java index's events. However, in the newer snaphots the action is blocked by other places too. So, perhaps we should change the action to use RunOffAWT, but it's only available in java and csl... Maybe we should move it to a more prominent place where it could be used by everybody (?)...
See issue #170882.
Build: NetBeans IDE Dev (Build 200911230200) VM: Java HotSpot(TM) Client VM, 14.2-b01, Java(TM) SE Runtime Environment, 1.6.0_16-b01 OS: Windows XP, 5.1, x86 User Comments: Scanning hell is blocking my computer Maximum slowness yet reported was 141906 ms, average is 27170
Created attachment 91578 [details] nps snapshot
This bug already has 20 duplicates see http://statistics.netbeans.org/exceptions/detail.do?id=153929
Created attachment 92246 [details] nps snapshot
This issue happens a lot and when it does it takes several minutes sometimes for the IDE to become responsive again. Could please someone take a look at it?
Fixed in jet-main. http://hg.netbeans.org/jet-main/rev/a7f3730e4211
Integrated into 'main-golden', will be available in build *201011160001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/a7f3730e4211 User: Dusan Balek <dbalek@netbeans.org> Log: Issue #169883: Invoking generate-code took 75216 ms - fixed.