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.
This issue was originally marked as duplicate of issue 161853, that is already resolved. This issue is still valid, so this seems to be another issue, but it might be related. Build: NetBeans IDE Dev (Build 200907040200) VM: Java HotSpot(TM) Client VM, 1.5.0_19-137, Java(TM) 2 Runtime Environment, Standard Edition, 1.5.0_19-b02-304 OS: Mac OS X, 10.5.7, i386 User Comments: synchro: Trying to edit text Stacktrace: java.lang.StackOverflowError at org.netbeans.lib.profiler.results.cpu.cct.nodes.TimedCPUCCTNode.<init>(TimedCPUCCTNode.java:186) at org.netbeans.lib.profiler.results.cpu.cct.nodes.MethodCPUCCTNode.<init>(MethodCPUCCTNode.java:95) at org.netbeans.lib.profiler.results.cpu.cct.CPUCCTNodeFactory.createMethodNode(CPUCCTNodeFactory.java:73) at org.netbeans.lib.profiler.results.cpu.cct.nodes.MethodCPUCCTNode.createSelfInstance(MethodCPUCCTNode.java:116) at org.netbeans.lib.profiler.results.cpu.cct.nodes.TimedCPUCCTNode.clone(TimedCPUCCTNode.java:315) at org.netbeans.lib.profiler.results.cpu.CPUCCTContainer.addChild(CPUCCTContainer.java:604)
Created attachment 84355 [details] stacktrace
Can you please provide steps how to reproduce it. If would be also great if you can attach message.log file. Thanks.
Well, it's easy for me to reproduce - launch IDE, type something and it usually (but not always) grinds to a halt within a few seconds, after ~10 minutes it displays an error of one kind or another, then the process repeats. I've been having real trouble with recent builds, and they seem to be getting worse, to the point where the IDE is no longer usable at all. Any time I try to edit (or even select) text, the whole IDE hangs up for a long time, usually resulting in one of these errors. I have installed the java profiler to try and grab this, but it's very hard to get a meaningful grab with it (as the whole IDE is unresponsive, I can't click the profiler button). Sometimes I see the "system slowness detected" notification, but when I click the link for the profiler report it complains it's not a valid profiler report. It's unlikely that it's a real system resource shortage - I have 8 CPUs and 10Gb RAM! The memory display in the IDE doesn't look like it's leaking - it's been sitting at about 400Mb for the last few days. messages.log to follow.
Created attachment 84431 [details] messages.log - lots of 'too much time' and out of memory errors
removing incomplete keyword (requested information was provided) If it has something to do with the profiler, but the user actually did not profile anything, I would guess that it has to do something with the slowness reporter/self profiler - and specifically on the mac. Or there might be problem with thread synchronization (8 CPUs).
This bug already has 5 duplicates see http://statistics.netbeans.org/exceptions/detail.do?id=153331
It should be fixed in profiler-main. changeset: 175977:cdfdfaf13834
Integrated into 'main-golden', will be available in build *201008250001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/cdfdfaf13834 User: Tomas Hurka <thurka@netbeans.org> Log: bugfix #168116 and #168324, do not use local variables to increase number of recursive calls in generateMirrorNode() and addChild()