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 bug was originally marked as duplicate of bug 173203, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related. Build: NetBeans IDE Dev (Build 201008050001) VM: Java HotSpot(TM) 64-Bit Server VM, 16.0-b13, Java(TM) SE Runtime Environment, 1.6.0_18-b07 OS: Linux User Comments: tbrunhoff: inserting new code in a method. Stacktrace: java.lang.StackOverflowError at org.netbeans.modules.cnd.utils.cache.WeakSharedSet$SharedKeyWeakHashMap.getTable(WeakSharedSet.java:378) at org.netbeans.modules.cnd.utils.cache.WeakSharedSet$SharedKeyWeakHashMap.putIfAbsent(WeakSharedSet.java:1177) at org.netbeans.modules.cnd.utils.cache.WeakSharedSet$SharedKeyWeakHashMap.access$000(WeakSharedSet.java:188) at org.netbeans.modules.cnd.utils.cache.WeakSharedSet.putIfAbsent(WeakSharedSet.java:175) at org.netbeans.modules.cnd.utils.cache.APTStringManager$APTSingleStringManager.getString(APTStringManager.java:151) at org.netbeans.modules.cnd.utils.cache.APTStringManager$APTCompoundStringManager.getString(APTStringManager.java:224)
Created attachment 101326 [details] stacktrace
Reassigning.
Todd, could you provide code sample which cause this issue? Thanks! Vladimir.
hopefully fixed, but it would be nice to see construction on which it failed. http://hg.netbeans.org/cnd-main/rev/2ff5f70cddce
Vladimir, sorry, but I've written a few thousand lines of code in the last few weeks, and I have no idea where this would have been. The stack looks like a recursion, but there's no values in the method calls in the stack dump so I can't figure out where it might have been. I've looked for a core file, but I've either removed it or one was not generated.
Integrated into 'main-golden', will be available in build *201008280001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/2ff5f70cddce User: Vladimir Voskresensky <vv159170@netbeans.org> Log: fixed #189419 - StackOverflowError at org.netbeans.modules.cnd.utils.cache.WeakSharedSet$SharedKeyWeakHashMap.getTable